radeonsi/vcn: correct a typo in a variable
from spliting to splitting Reviewed-by: David Rosca <david.rosca@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30237>
This commit is contained in:
@@ -1569,7 +1569,7 @@ struct pipe_video_codec *radeon_create_encoder(struct pipe_context *context,
|
||||
radeon_enc_5_0_init(enc);
|
||||
if (sscreen->info.vcn_ip_version == VCN_5_0_0) {
|
||||
/* this limits tile splitting scheme to use legacy method */
|
||||
enc->enc_pic.av1_tile_spliting_legacy_flag = true;
|
||||
enc->enc_pic.av1_tile_splitting_legacy_flag = true;
|
||||
}
|
||||
}
|
||||
else if (sscreen->info.vcn_ip_version >= VCN_4_0_0) {
|
||||
|
@@ -108,7 +108,7 @@ struct radeon_enc_pic {
|
||||
bool pcm_enabled_flag;
|
||||
bool sps_temporal_mvp_enabled_flag;
|
||||
bool use_rc_per_pic_ex;
|
||||
bool av1_tile_spliting_legacy_flag;
|
||||
bool av1_tile_splitting_legacy_flag;
|
||||
|
||||
struct {
|
||||
struct {
|
||||
|
@@ -614,9 +614,9 @@ static void radeon_enc_tile_config_av1(struct radeon_encoder *enc)
|
||||
num_tile_cols = CLAMP(p_config->num_tile_cols,
|
||||
MAX2(1, min_tile_num_in_width),
|
||||
MIN2(RENCODE_AV1_TILE_CONFIG_MAX_NUM_COLS, max_tile_num_in_width));
|
||||
/* legacy way of spliting tiles, if width is less than or equal to 64 sbs, it cannot be
|
||||
/* legacy way of splitting tiles, if width is less than or equal to 64 sbs, it cannot be
|
||||
* split */
|
||||
if (enc->enc_pic.av1_tile_spliting_legacy_flag)
|
||||
if (enc->enc_pic.av1_tile_splitting_legacy_flag)
|
||||
num_tile_cols = (frame_width_in_sb <= 64) ? 1 : num_tile_cols;
|
||||
|
||||
num_tile_rows = CLAMP(p_config->num_tile_rows,
|
||||
|
Reference in New Issue
Block a user