decoder h264 to RGB32?

decoder h264 to RGB32?

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?

 

 

 

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.