Skip to content

Commit

Permalink
[Decode] Jpeg decode output format change
Browse files Browse the repository at this point in the history
Since VP does not support IMC3 format, switch IMC3 to NV12 in decode side
  • Loading branch information
chuanli1 authored and gfxVPLsdm committed Nov 4, 2024
1 parent 41a0168 commit a0d69b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Status MJPEGVideoDecoderBaseMFX::FillVideoParam(mfxVideoParam *par, bool /*full*
}
else if (par->mfx.JPEGChromaFormat == MFX_CHROMAFORMAT_YUV420)
{
par->mfx.FrameInfo.FourCC = MFX_FOURCC_IMC3;
par->mfx.FrameInfo.FourCC = MFX_FOURCC_NV12;
}
else if (par->mfx.JPEGChromaFormat == MFX_CHROMAFORMAT_YUV422 || par->mfx.JPEGChromaFormat == MFX_CHROMAFORMAT_YUV422H)
{
Expand Down

0 comments on commit a0d69b3

Please sign in to comment.