Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
YUV to RGB conversion using ATI_text_fragment_shader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

YUV to RGB conversion using ATI_text_fragment_shader



Hello,

I currently have an application that decodes a YUV movie of type
k422YpCbCr8CodecType
into a GWorld that is textured using GL_YCBCR_422_APPLE,
GL_UNSIGNED_SHORT_8_8_REV_APPLE,
I would also like to process my video stream (on the card) using
GL_TEXT_FRAGMENT_SHADER_ATI.
Reading a earlier post from this group from someone at ATI, it appears
that I must first pass
my video stream through a YUV -> RGB conversion shader. My question is
how to do I do this ?

Documentation about ATI_text_fragment_shader in general (specifically
for color conversion) on
the web is 'lacking' (yes, I've seen the registry), so if anyone has
any sample code, tips or
tricks on how one might accomplish this, it would be greatly
appreciated.
_______________________________________________
mac-opengl mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-opengl
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.