mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
Revert "radeon: hardcode uvd/vce encoder not_referenced value to false"
This reverts commit 96b276b327.
This patch enable SVC encoding support on VCE/UVD.
Signed-off-by: Suresh Guttula <suresh.guttula@amd.com>
Reviewed-by: Thong Thai <thong.thai@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16768>
This commit is contained in:
parent
ca700dcb0a
commit
5d0f922834
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ static void radeon_uvd_enc_get_param(struct radeon_uvd_encoder *enc,
|
|||
enc->enc_pic.frame_num = pic->frame_num;
|
||||
enc->enc_pic.pic_order_cnt = pic->pic_order_cnt;
|
||||
enc->enc_pic.pic_order_cnt_type = pic->pic_order_cnt_type;
|
||||
enc->enc_pic.not_referenced = false;
|
||||
enc->enc_pic.not_referenced = pic->not_referenced;
|
||||
enc->enc_pic.is_iframe = (pic->picture_type == PIPE_H2645_ENC_PICTURE_TYPE_IDR) ||
|
||||
(pic->picture_type == PIPE_H2645_ENC_PICTURE_TYPE_I);
|
||||
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ void si_vce_52_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_
|
|||
enc->enc_pic.pic_order_cnt = pic->pic_order_cnt;
|
||||
enc->enc_pic.ref_idx_l0 = pic->ref_idx_l0_list[0];
|
||||
enc->enc_pic.ref_idx_l1 = pic->ref_idx_l1_list[0];
|
||||
enc->enc_pic.not_referenced = false;
|
||||
enc->enc_pic.not_referenced = pic->not_referenced;
|
||||
if (enc->dual_inst)
|
||||
enc->enc_pic.addrmode_arraymode_disrdo_distwoinstants = 0x00000201;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue