History

lavc/vaapi_encode: Add render target support for 422 10-bit

This enables VAAPI encoding support for 422 10-bit(Y210).

Linjie Fu committed 6 years ago

Commit 21442a81 parent 9badc601 file · +3 −0Browse files

Showing the changes to libavcodec/vaapi_encode.c (1 of 1 file). Show all

Unified · Split

libavcodec/vaapi_encode.c+3−0
@@ -1248,6 +1248,9 @@ static const VAAPIEncodeRTFormat vaapi_encode_rt_formats[] = { · 1247 unmodified lines
1248 { "YUV400", VA_RT_FORMAT_YUV400, 8, 1, },1248 { "YUV400", VA_RT_FORMAT_YUV400, 8, 1, },
1249 { "YUV420", VA_RT_FORMAT_YUV420, 8, 3, 1, 1 },1249 { "YUV420", VA_RT_FORMAT_YUV420, 8, 3, 1, 1 },
1250 { "YUV422", VA_RT_FORMAT_YUV422, 8, 3, 1, 0 },1250 { "YUV422", VA_RT_FORMAT_YUV422, 8, 3, 1, 0 },
1251#if VA_CHECK_VERSION(1, 2, 0)
1252 { "YUV422_10", VA_RT_FORMAT_YUV422_10, 10, 3, 1, 0 },
1253#endif
1251 { "YUV444", VA_RT_FORMAT_YUV444, 8, 3, 0, 0 },1254 { "YUV444", VA_RT_FORMAT_YUV444, 8, 3, 0, 0 },
1252 { "YUV411", VA_RT_FORMAT_YUV411, 8, 3, 2, 0 },1255 { "YUV411", VA_RT_FORMAT_YUV411, 8, 3, 2, 0 },
1253#if VA_CHECK_VERSION(0, 38, 1)1256#if VA_CHECK_VERSION(0, 38, 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t