ó
    š3j  ã                   ó`   • S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S rg)	aí  OpenGL extension SGIX.ycrcba

This module customises the behaviour of the 
OpenGL.raw.GL.SGIX.ycrcba to provide a more 
Python-friendly API

Overview (from the spec)
        
        This extension provides a method for OpenGL to read and store
        images that are defined in standard YCRCB and YCRCBA video color
        spaces.  As with the CYMK extension, conversion to RGBA takes place
        immediately following the unpack pixel store, and preceding the
        pack pixel store operations, and is only available on transfers to
        and from memory.  The algorithms that convert between YCRCB and
        RGBA are "black-box" in nature, and left undefined by the
        extension, however it is recommended that conversion comply with
        the CCIR standard. This extension specifies the format of a pixel
        rectangle independent of component subsampling. Component
        subsampling is specified using a separate extension.
        
        Two new formats are added, YCRCB_SGIX and YCRCBA_SGIX.
        
        YCRCB_SGIX is defined as a 3 component format representing the Cb,
        Y, and Cr values per pixel. YCRCBA_SGIX is defined as a 4 component
        format representing Cb, Y, Cr, and A values per pixel.
        
        As with the CMYK extension, this extension doesn't preclude the
        possibility of other higher quality conversion methods.
        

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/SGIX/ycrcba.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  ó:   • SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ÚhasGLExtensionr   r   s    ÚO/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/SGIX/ycrcba.pyÚglInitYcrcbaSGIXr   )   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   ÚOpenGL.raw.GL.SGIX.ycrcbar   r   © r   r   Ú<module>r      s'   ðñ ÷B .Ñ -ß &Û ß )Ü 'Ý 5ó8r   