Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

MediaSDK : Chroma 4:1:1 (YUV411) JPEG Encoding

Prakash__Sree
Beginner
588 Views

As per the JPEG manual ("mediasdkjpeg-man.pdf"), ENCODE is supported for Chroma 4:1:1 (Page 6 of 9),

However, there is hardly any reference to the support in the sample (sample_encode.sln).

What I am trying to figure out is which FourCC enum in mfxStructures.h should be used to represent Chroma 4:1:1 (YUV411).

MFX_FOURCC_UYVY represents YUV422.

MFX_FOURCC_NV12 can be used for YUV420.

But which FourCC enum represents YUV411 ?

And is it actually supported as claimed in the documentation? 

0 Kudos
2 Replies
Mark_L_Intel1
Moderator
588 Views

Hi Prakash,

I will check what the solution.

Initially, you could use other chroma format with enum since the chroma format implies some kind of memory mapping during decoding.

So you can try YUV422 or YUV420, if this doesn't work, you could check the FourCC for the memory layout of the frame in different chroma format to get a clue.

Mark

0 Kudos
Mark_L_Intel1
Moderator
588 Views

Hi Prakash,

I think there is a mistake in JPEG manual, if you see the following document, you can find it at page 116:

https://github.com/Intel-Media-SDK/MediaSDK/tree/master/doc

MFX_CHROMAFORMAT_YUV411

 

Mark

0 Kudos
Reply