diff options
author | Linjie Fu <linjie.fu@intel.com> | 2020-06-22 15:41:35 +0800 |
---|---|---|
committer | Linjie Fu <linjie.fu@intel.com> | 2020-07-24 13:44:09 +0800 |
commit | 21442a820aec365fc298d9a89d564db7ef866d86 (patch) | |
tree | 742139d7e72d67fa88c40ccb7f5170ee69d631ab /libavcodec/vaapi_encode.c | |
parent | 9badc602928a2e14797e4d0e4a20770e42932b7d (diff) | |
download | ffmpeg-21442a820aec365fc298d9a89d564db7ef866d86.tar.gz |
lavc/vaapi_encode: Add render target support for 422 10-bit
This enables VAAPI encoding support for 422 10-bit(Y210).
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
Diffstat (limited to 'libavcodec/vaapi_encode.c')
-rw-r--r-- | libavcodec/vaapi_encode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 1de43cc977..6766641ac7 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -1248,6 +1248,9 @@ static const VAAPIEncodeRTFormat vaapi_encode_rt_formats[] = { { "YUV400", VA_RT_FORMAT_YUV400, 8, 1, }, { "YUV420", VA_RT_FORMAT_YUV420, 8, 3, 1, 1 }, { "YUV422", VA_RT_FORMAT_YUV422, 8, 3, 1, 0 }, +#if VA_CHECK_VERSION(1, 2, 0) + { "YUV422_10", VA_RT_FORMAT_YUV422_10, 10, 3, 1, 0 }, +#endif { "YUV444", VA_RT_FORMAT_YUV444, 8, 3, 0, 0 }, { "YUV411", VA_RT_FORMAT_YUV411, 8, 3, 2, 0 }, #if VA_CHECK_VERSION(0, 38, 1) |