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?
- Development Tools
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
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.
I think there is a mistake in JPEG manual, if you see the following document, you can find it at page 116: