From 1323a69c78e68e5f9c86e5cb615883d7645038bc Mon Sep 17 00:00:00 2001 From: Vincent Cheah Beng Keat Date: Wed, 3 Jul 2024 20:55:27 +0800 Subject: [PATCH] [JPEGe] Enable YUV400 internal vaapi allocator OSPR: [PUBLIC]333 Issue: VSMGWL-73224 Test: manual Github PR: 333 (Enable YUV400 JPEG Enc and BGR4 JPEG Enc (api2x)) Signed-off-by: Cheah, Vincent Beng Keat vincent.beng.keat.cheah@intel.com> --- _studio/shared/src/libmfx_allocator_vaapi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/_studio/shared/src/libmfx_allocator_vaapi.cpp b/_studio/shared/src/libmfx_allocator_vaapi.cpp index 40fa128b2e..e9207533b8 100644 --- a/_studio/shared/src/libmfx_allocator_vaapi.cpp +++ b/_studio/shared/src/libmfx_allocator_vaapi.cpp @@ -603,6 +603,7 @@ mfxStatus mfxDefaultAllocatorVAAPI::SetFrameData(const VAImage &va_image, mfxU32 frame_data.A = frame_data.R + 3; break; + case MFX_FOURCC_YUV400: case VA_FOURCC_P208: frame_data.Y = p_buffer + va_image.offsets[0]; break;