Skip to content

Commit

Permalink
[JPEGe] Enable YUV400 to vaapi internal allocator
Browse files Browse the repository at this point in the history
Signed-off-by: Cheah, Vincent Beng Keat [email protected]>
  • Loading branch information
vcheah committed Jun 10, 2024
1 parent 6cc747d commit 8f3182e
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 8f3182e

Please sign in to comment.