[FFmpeg-devel] [PATCH] lavc/vaapi_hevc: fix scaling list duplicate transfer issue.

Mark Thompson sw at jkqxz.net
Wed Nov 23 23:41:35 EET 2016


On 22/11/16 08:16, Jun Zhao wrote:
> From 4059bc56cba30b26bc194673968c3a51014e315f Mon Sep 17 00:00:00 2001
> From: Jun Zhao <mypopydev at gmail.com>
> Date: Tue, 22 Nov 2016 15:58:50 +0800
> Subject: [PATCH] lavc/vaapi_hevc: fix scaling list duplicate transfer issue.
>
> scaling list is already transfered to raster scan during head parsing,
> so no need to transfer it again.
>
> And after this fix, FATE test SLIST_A_Sony_4/SLIST_B_Sony_8/
> SLIST_C_Sony_3/SLIST_D_Sony_9 will pass in i965/Skylake.
>
> used the comand:
> make HWACCEL='vaapi -vaapi_device /dev/dri/renderD128 \
> -hwaccel_output_format yuv420p' fate-hevc -i | \
> grep "recipe for target" | wc -l test and verify.
>
> Signed-off-by: Wang, Yi A <yi.a.wamg at intel.com>
> Signed-off-by: Jun Zhao <jun.zhao at intel.com>
> ---
>  libavcodec/vaapi_hevc.c | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)

Tested, LGTM, applied.

Thanks,

- Mark



More information about the ffmpeg-devel mailing list