Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JPEG decoder 422H, 422V and 444P DRM output support for MTL #1717

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions media_softlet/linux/common/ddi/media_libva_interface_next.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4674,6 +4674,9 @@ uint32_t MediaLibvaInterfaceNext::GetDrmFormatOfSeparatePlane(uint32_t fourcc, i
case VA_FOURCC_I420:
case VA_FOURCC_YV12:
case VA_FOURCC_YV16:
case VA_FOURCC_422H:
case VA_FOURCC_422V:
case VA_FOURCC_444P:
case VA_FOURCC_Y800:
case VA_FOURCC_RGBP:
case VA_FOURCC_BGRP:
Expand Down Expand Up @@ -4750,6 +4753,9 @@ uint32_t MediaLibvaInterfaceNext::GetDrmFormatOfSeparatePlane(uint32_t fourcc, i
case VA_FOURCC_YV16:
case VA_FOURCC_RGBP:
case VA_FOURCC_BGRP:
case VA_FOURCC_422H:
case VA_FOURCC_422V:
case VA_FOURCC_444P:
return DRM_FORMAT_R8;
case VA_FOURCC_P010:
case VA_FOURCC_P012:
Expand All @@ -4774,6 +4780,12 @@ uint32_t MediaLibvaInterfaceNext::GetDrmFormatOfCompositeObject(uint32_t fourcc)
return DRM_FORMAT_YVU420;
case VA_FOURCC_YV16:
return DRM_FORMAT_YVU422;
case VA_FOURCC_422H:
return DRM_FORMAT_YUV422;
case VA_FOURCC_422V:
return DRM_FORMAT_YUV422;
case VA_FOURCC_444P:
return DRM_FORMAT_YUV444;
case VA_FOURCC_YUY2:
return DRM_FORMAT_YUYV;
case VA_FOURCC_YVYU:
Expand Down
Loading