Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

IPP 5.1 MPEG4 GetFrame() No Image

aeropriest
Beginner
377 Views

I am using GetFrame() of MPEG4 decoder in DirectShow. The renderered image does not show correct image. I have set output to YUY2. I have crossed checked with sample code with IPP and everything seems all right. Following is the code

MediaData p_dataIn;
VideoData p_dataOut;

int err_code = 0;
int mRetval;

p_dataIn.SetBufferPointer((vm_byte *)pSrc,lSrcLen);
p_dataOut.SetBufferPointer(pDest,*lDestLen);

mRetval = GetFrame(&p_dataIn,&p_dataOut);

if( mRetval == UMC_OK )
{
int nRet = p_dataOut.GetDataSize();
}


In the above code
pDest = pointer to the DirectShow buffer from IMediaSample
*lDestLen = length of the buffer.

Thanx in advance
0 Kudos
0 Replies
Reply