lavc/vaapi_decode: add profile_parser and format map support for HEVC REXT
authorLinjie Fu <linjie.fu@intel.com>
Wed, 15 Jan 2020 07:02:02 +0000 (15:02 +0800)
committerMark Thompson <sw@jkqxz.net>
Mon, 24 Feb 2020 00:09:51 +0000 (00:09 +0000)
commitd2378645fbdd1da7acaa084ddcae90830f54589b
treedb72d57e36f8735098cd8c95fc2d04853db7aa65
parent85cc7bcd4cf1e1963c22c1ea1594160a33da4fee
lavc/vaapi_decode: add profile_parser and format map support for HEVC REXT

Add function pointer field in vaapi_profile_map[], set profile_parser
for HEVC_REXT to find the exact va_profile.

Also add format map support.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
libavcodec/vaapi_decode.c