OpenGL extension OML.resample
This module customises the behaviour of the
OpenGL.raw.GL.OML.resample to provide a more
Overview (from the spec)
This extension enhances the resampling capabilities of the
OML_subsample extension. It is loosely based on the SGIX_resample
When converting data from subsampled to uniform sampling, upsampling
may be performed by one of three methods: component replication,
zero fill, or adjacent neighbor averaging.
When converting data from uniform sampling to subsampled form,
downsampling may be performed only by component decimation (point
sampling) or averaging.
Upsampling and downsampling filters other than those defined by this
extension may be performed by appropriate use of convolution and
other pixel transfer operations. The zero fill unpacking mode is
included to assist applications wanting to define their own filters.
The official definition of this extension is available here:
|EXTENSION_NAME = 'GL_OML_resample'|
GL_PACK_RESAMPLE_OML = GL_PACK_RESAMPLE_OML
GL_RESAMPLE_AVERAGE_OML = GL_RESAMPLE_AVERAGE_OML
GL_RESAMPLE_DECIMATE_OML = GL_RESAMPLE_DECIMATE_OML
GL_RESAMPLE_REPLICATE_OML = GL_RESAMPLE_REPLICATE_OML
GL_RESAMPLE_ZERO_FILL_OML = GL_RESAMPLE_ZERO_FILL_OML
GL_UNPACK_RESAMPLE_OML = GL_UNPACK_RESAMPLE_OML
__file__ = '/home/mcfletch/pylive/OpenGL/GL/OML/resample.pyc'
__name__ = 'OpenGL.GL.OML.resample'
__package__ = 'OpenGL.GL.OML'