Skip to content

Commit

Permalink
[JPEGe] Enable YUV400 internal vaapi allocator
Browse files Browse the repository at this point in the history
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 [email protected]>
  • Loading branch information
vcheah authored and gfxVPLsdm committed Jul 23, 2024
1 parent a15c143 commit 1323a69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _studio/shared/src/libmfx_allocator_vaapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1323a69

Please sign in to comment.