[vlc] composing full frames from p frame data

Jeroen Heijhoff jeroenh at noterik.nl
Fri Nov 5 15:28:16 CET 2004


Hi, 

I am using a h263 decoder
I'm getting this struct as result data:
the data in dataForPFrame is YUV.

typedef struct PictureRec
{


	int		sourceFormat;
	int		pictureHeight;
	int		pictureWidth;
	int		numOfFrames;
	int		deltaTRForPFrame;	/* number of frames times to wait before P frame display */
	int		deltaTRForBFrame;	/* number of frames times to wait before B frame display */
	UCHAR	* 	dataForBFrame[3];
	UCHAR	* 	dataForPFrame[3];
	UCHAR		returnCode;
} tPictureRec;

As far as I know only the p frame data is to be used.

Can anybody tell me, or give me some code of how to compose complete frames from this data?
Does anybody have suggestions or idea's ?

Please help (I really need it)

Regards,

Jeroen

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list