Skip to main content
GameDev.net gamedev.net
🔒 Locked

YUY2 Texture Format

Started by sevecol Dec 27, 2002 at 2:53 AM 0 replies 1.1k views
Original Post
sevecol
sevecol
I have a video stream,its format is YV12.I want to write the video stream to a texture,and how to do? Thx.
S1CA
S1CA
If the YUV texture is exposed as a FOURCC **texture** format, then a direct UpdateTexture/CopyRects may work - otherwise I think you''ll have to copy the pixels manually.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.