Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Codec / Pixel Format



Hello 

1) What is the pixel format for 'Apple Animation Codec'?

also 

2) Where can I find reference for codecs, pixel formats and corresponding OpenGL flags?  I can find nothing on the web.



I need this when performing glTexImage2D(), listed below is what I'm doing with '2vuy' for DV, MPEG etc.  I also need to support a broader range of codecs / pixel formats.

        case '2vuy':
            _textureFormat = GL_YCBCR_422_APPLE;
            _textureType = GL_UNSIGNED_SHORT_8_8_REV_APPLE;
            _textureBytesPerPixel = 2;
            _textureInternalFormat = GL_RGB8;
            break;
           
        ...

         glTexImage2D(GL_TEXTURE_RECTANGLE_EXT, 0, _textureInternalFormat, w, h, 0, _textureFormat, _textureType, _textureData);

        


Thanks

Nick



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.