[Mesa-dev] [PATCH 2/4] radeon/vce: determine idr by pic type
Leo Liu
leo.liu at amd.com
Thu Dec 14 13:36:53 UTC 2017
On 12/13/2017 01:59 PM, boyuan.zhang at amd.com wrote:
> From: Boyuan Zhang <boyuan.zhang at amd.com>
>
> Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
Reviewed-by: Leo Liu <leo.liu at amd.com>
> ---
> src/gallium/drivers/radeon/radeon_vce_52.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/radeon_vce_52.c b/src/gallium/drivers/radeon/radeon_vce_52.c
> index 10bf718..a941c47 100644
> --- a/src/gallium/drivers/radeon/radeon_vce_52.c
> +++ b/src/gallium/drivers/radeon/radeon_vce_52.c
> @@ -162,7 +162,7 @@ void si_vce_52_get_param(struct rvce_encoder *enc, struct pipe_h264_enc_picture_
> enc->enc_pic.addrmode_arraymode_disrdo_distwoinstants = 0x00000201;
> else
> enc->enc_pic.addrmode_arraymode_disrdo_distwoinstants = 0x01000201;
> - enc->enc_pic.is_idr = pic->is_idr;
> + enc->enc_pic.is_idr = (pic->picture_type == PIPE_H264_ENC_PICTURE_TYPE_IDR);
> }
>
> static void create(struct rvce_encoder *enc)
More information about the mesa-dev
mailing list