lavc/vp8: Support resolution changes in the VP8 decoder hwaccel
authorJun Zhao <mypopydev@gmail.com>
Wed, 29 Nov 2017 23:53:53 +0000 (07:53 +0800)
committerMark Thompson <sw@jkqxz.net>
Fri, 15 Dec 2017 16:52:32 +0000 (16:52 +0000)
commitd228d52f1cc958e25f3017945ad06382ab1db7a6
tree5b1c1fcc76acc919eda0f35e606fdb4f7a92a688
parentb2d27d912ba91450c410e4dcaa9ed28cb66ad9a8
lavc/vp8: Support resolution changes in the VP8 decoder hwaccel

Use the following command to reproduce this issue:
make fate-vp8-size-change HWACCEL="vaapi -vaapi_device \
/dev/dri/renderD128 -hwaccel_output_format yuv420p"
SAMPLES=../fate-suite/.

At the same time, reconstruct the public logic as a function.

Signed-off-by: Yun Zhou <yunx.z.zhou@intel.com>
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/vp8.c