Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
550 Discussions

decoder h264 to RGB32?

andya
Beginner
770 Views

Process:network stream H264->decode->vpp(nv12 to rgb32)

problem:vpp init failed(rgb32)

code:

        mfxVideoParams.mfx.CodecId = MFX_CODEC_AVC

        // Input data
        VPPParams.vpp.In.FourCC         = MFX_FOURCC_NV12;
        VPPParams.vpp.In.ChromaFormat   = MFX_CHROMAFORMAT_YUV420;   
        VPPParams.vpp.In.CropX          = 0;

..........

 

        // Output data
        VPPParams.vpp.Out.FourCC        = MFX_FOURCC_RGB4;      
        VPPParams.vpp.Out.ChromaFormat  = MFX_CHROMAFORMAT_YUV420;

        // Initialize Media SDK VPP
        sts = pmfxVPP->Init(&VPPParams); ==>failed -15

but set mfxVideoParams.mfx.CodecId = MFX_CODEC_JPEG vpp init is ok , the id h264 not support vpp rgb32?

 

 

 

0 Kudos
0 Replies
Reply