Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
44 Views

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

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
Highlighted
Moderator
44 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
Highlighted
Moderator
44 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