vaapi_decode: Make the frames context format selection more general

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 21 February 2018 23:38 EST

Examine the supported fourcc list manually and make the best choice, then use the external attribute on the frames context to force that fourcc.

99ab0a13dc vaapi_decode: Make the frames context format selection more general
libavcodec/vaapi_decode.c | 152 +++++++++++++++++++++++++++++++++++++++-------
libavcodec/vaapi_decode.h | 2 +
2 files changed, 132 insertions(+), 22 deletions(-)

  • Share