OpenGL.GL.EXT.GL_422_pixels
OpenGL extension EXT.GL_422_pixels
This module customises the behaviour of the
OpenGL.raw.GL.EXT.GL_422_pixels to provide a more
Python-friendly API
Overview (from the spec)
This extension provides support for converting 422 pixels in host
memory to 444 pixels as part of the pixel storage operation.
The pixel unpack storage operation treats a 422 pixel as a 2 element
format where the first element is C (chrominance) and the second
element is L (luminance). Luminance is present on all pixels; a full
chrominance value requires two pixels.
The pixel pack storage operation converts RGB to a 422 pixel defined as
a 2 element format where the first element stored is C (chrominance)
and the second element stored is L (luminance). Luminance is present
on all pixels; a full chrominance value requires two pixels.
Both averaging and non-averaging is supported for green and blue
assignments for pack and unpack operations.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/GL_422_pixels.txt
Functions
Constants
GL_422_AVERAGE_EXT (32974)
GL_422_EXT (32972)
GL_422_REV_AVERAGE_EXT (32975)
GL_422_REV_EXT (32973)