| Index: media/gpu/vaapi_wrapper.cc
|
| diff --git a/media/gpu/vaapi_wrapper.cc b/media/gpu/vaapi_wrapper.cc
|
| index dcec8b971480adef3841710a07c5ac1c528f1d76..37c4cfc26c365cb93731a2797f0f7e6ccb96c2d2 100644
|
| --- a/media/gpu/vaapi_wrapper.cc
|
| +++ b/media/gpu/vaapi_wrapper.cc
|
| @@ -72,6 +72,8 @@ uint32_t BufferFormatToVAFourCC(gfx::BufferFormat fmt) {
|
| return VA_FOURCC_BGRA;
|
| case gfx::BufferFormat::UYVY_422:
|
| return VA_FOURCC_UYVY;
|
| + case gfx::BufferFormat::YUYV_422:
|
| + return VA_FOURCC_YUY2;
|
| case gfx::BufferFormat::YVU_420:
|
| return VA_FOURCC_YV12;
|
| default:
|
| @@ -83,6 +85,7 @@ uint32_t BufferFormatToVAFourCC(gfx::BufferFormat fmt) {
|
| uint32_t BufferFormatToVARTFormat(gfx::BufferFormat fmt) {
|
| switch (fmt) {
|
| case gfx::BufferFormat::UYVY_422:
|
| + case gfx::BufferFormat::YUYV_422:
|
| return VA_RT_FORMAT_YUV422;
|
| case gfx::BufferFormat::BGRX_8888:
|
| case gfx::BufferFormat::BGRA_8888:
|
|
|