Example Initialization Usage:
/* Initialize element with 640x480 pixels to accept series of uncompressed 24bpp RGB bitmaps */
videoRendererElement.InitializeVideo(640, -480, 24); 

Or:
/* Initialize element with 640x480 pixels to accept series of JPEG samples */
videoRendererElement.InitializeVideo(640, 480, 24, "MJPG"); 

Or:
/* Initialize element with 640x480 pixels to accept series of MPEG4 samples */
videoRendererElement.InitializeVideo(640, 480, 24, "DIVX"); 


Example Sample Writing Usage:
/* Write a GDI Bitmap to the Buffer */
videoRendererElement.WriteSample(System.Drawing.Bitmap); 

Or
/* Write a GDI Bitmap to the Buffer */
videoRendererElement.WriteSample(System.Drawing.Bitmap, System.Drawing.Rectangle RenderArea); 

Or
/* Write a native buffer pointer */
videoRendererElement.WriteSample(InPtr pSource, int BufferSize, bool IsKeyFrame); 

Or
/* Write managed byte array to buffer */
videoRendererElement.WriteSample(byte[], bool IsKeyFrame); 


Last edited Apr 10, 2008 at 9:16 AM by jmorrill, version 1

Comments

No comments yet.