How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

Post by QW5vb3AgTW » Sun, 22 Aug 2004 14:27:02


I am sorry for same and remember it always. Thanks to update me. :-)
 
 
 

How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

Post by QW5vb3AgTW » Sun, 22 Aug 2004 14:29:02

I am sorry for same and remember it always. Thanks for updating me. :-)

 
 
 

How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

Post by RG9uIEpvcm » Mon, 23 Aug 2004 01:03:02


I agree with you about the multi-posting. His question, however, belongs
here since these are common video bitmap formats that are rarely used over in
DirectX graphics.
 
 
 

How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

Post by QW5vb3AgTW » Tue, 24 Aug 2004 13:37:01

Sir, When DirectDraw Surface is created in Planer YUV format, then we should
use the capability of the Planer YUV surface.
I have Planer YUV format raw video data to display, then it would be good,
if i display the planer YUV video data on the Planer YUV offscreen surface,
rather than Planer YUV raw video data on the Packed YUV pixel format
Offscreen Surface.

Thanks for the prompt interest shown by the Discussion Group.
 
 
 

How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

Post by RG9uIEpvcm » Tue, 24 Aug 2004 15:01:01

If the DirectDraw surface does not support those planar YUV video formats,
then you will have to convert it to a format that can be used. You said
youself in your first post that the DirectDraw surface worked for the UYVY
format. If all you need to do is a memory move, then the web site url I
posted earlier will give you the necessary information on the planar YUV
formats to calculate the size of the buffer.
 
 
 

How to copy YUV planar formats data(YV12,I420,YVU9 ) to Direct

Post by QW5vb3AgTW » Tue, 24 Aug 2004 18:09:04

Sir, It's true, to transform Planer into Packed format when DirectDraw
surface supports only Packed YUV pixel format.

Here i want to copy the Planer YUV raw video data (YVU9/YV12) onto the
Planer YUV (YVU9/YV12) pixel format DirectDraw surface. DirectDraw Surface
supports Planer YUV pixel format also.

So ideally i do not require transformation of Planer YUV format into packed
YUV format.

Thanks in advance to the Discussion Group...