'''OpenGL extension OML.subsample
This module customises the behaviour of the
OpenGL.raw.GL.OML.subsample to provide a more
Python-friendly API
Overview (from thespec import
Many video image formats and compression techniques utilize various
component subsamplings, so it is necessary to provide a mechanism to
specify the up- and down-sampling of components as pixel data is
drawn from readbacktotheclient.Thoughsubsampledcomponents import
are normally associated with the video color space, YCrCb, use of
subsampling in OpenGL does not imply a specific color space. Color
space conversion may be performed using other extensions or core
capabilities such as the color matrix.
This extension defines two new pixel storage formats representing
subsampled data on the client. It is loosely based on the
SGIX_subsample extension, but specifies subsampling with the data
format parameter rather than pixel packing parameters. It also
adds support for CYA subsampled data.
When pixel data is received from theclientanunpacking import
upsampling mode other than PIXEL_SUBSAMPLE_NONE_OML is specified,
upsampling is performed via replication, unless otherwise specified
by UNPACK_RESAMPLE_OML.
Similarly, when pixel data is read back to the client and a packing
downsampling mode other than PIXEL_SUBSAMPLE_NONE_OML is specified,
downsampling is performed via simple component decimation (point
sampling), unless otherwise specified by PACK_RESAMPLE_OML.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/OML/subsample.txt
'''
from OpenGL import platform,constants,constant,arrays
from OpenGL import extensions,wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.GL.OML.subsample import *
### END AUTOGENERATED SECTION
|