Skip to content
Snippets Groups Projects
Commit b756b13e authored by U. Artie Eoff's avatar U. Artie Eoff Committed by Víctor Manuel Jáquez Leal
Browse files

msdkmjpegdec: support 422 output

MSDK supports JPEG YUY2 (422 chroma) output color
format. The color format of input bitstream is
described by JPEGChromaFormat and JPEGColorFormat
fields in the mfxInfoMFX structure which is filled
in by the MFXVideoDECODE_DecodeHeader function.

To obtain lossless decoded output from 422 encoded
JPEGs, we must set the output color format in the
FourCC and ChromaFormat fields in the mfxFrameInfo
structure to the appropriate values at post_configure
so that they are propagated through to the srcpad
caps accordingly.
parent 70bfd34b
No related branches found
No related tags found
2 merge requests!1896Fix for gst-plugins-good issues/818. [Enhancement] dvbsuboverlay: Dynamic...,!415msdkmjpegdec: support 422 output
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment