15bd8deadSopenharmony_ci
25bd8deadSopenharmony_ciXXX - Not complete.
35bd8deadSopenharmony_ci
45bd8deadSopenharmony_ciName
55bd8deadSopenharmony_ci
65bd8deadSopenharmony_ci    SGIX_ycrcba
75bd8deadSopenharmony_ci
85bd8deadSopenharmony_ciName Strings
95bd8deadSopenharmony_ci
105bd8deadSopenharmony_ci    GL_SGIX_ycrcba
115bd8deadSopenharmony_ci
125bd8deadSopenharmony_ciVersion
135bd8deadSopenharmony_ci
145bd8deadSopenharmony_ci    Last Modified Date: 01/16/1998
155bd8deadSopenharmony_ci    $Date: 1998/01/16 21:47:41 $ $Revision: 1.2 $
165bd8deadSopenharmony_ci
175bd8deadSopenharmony_ciNumber
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci    203
205bd8deadSopenharmony_ci
215bd8deadSopenharmony_ciDependencies
225bd8deadSopenharmony_ci
235bd8deadSopenharmony_ci    This extension, combined with the subsample.spec
245bd8deadSopenharmony_ci    (SGIX_subsample) extension obsoletes the current ycrcb.spec
255bd8deadSopenharmony_ci    (SGIX_ycrcb) extension. Support of SGIX_ycrcb should be
265bd8deadSopenharmony_ci    accomplished using the SGIX_subsample and SGIX_ycrcba.
275bd8deadSopenharmony_ci
285bd8deadSopenharmony_ci    EXT_texture3D affects the definition of this extension
295bd8deadSopenharmony_ci    EXT_subtexture affects the definition of this extension
305bd8deadSopenharmony_ci    EXT_histogram affects the definition of this extension
315bd8deadSopenharmony_ci    EXT_convolution affects the definition of this extension
325bd8deadSopenharmony_ci    SGI_color_table affects the definition of this extension
335bd8deadSopenharmony_ci
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ciOverview
365bd8deadSopenharmony_ci
375bd8deadSopenharmony_ci    This extension provides a method for OpenGL to read and store
385bd8deadSopenharmony_ci    images that are defined in standard YCRCB and YCRCBA video color
395bd8deadSopenharmony_ci    spaces.  As with the CYMK extension, conversion to RGBA takes place
405bd8deadSopenharmony_ci    immediately following the unpack pixel store, and preceding the
415bd8deadSopenharmony_ci    pack pixel store operations, and is only available on transfers to
425bd8deadSopenharmony_ci    and from memory.  The algorithms that convert between YCRCB and
435bd8deadSopenharmony_ci    RGBA are "black-box" in nature, and left undefined by the
445bd8deadSopenharmony_ci    extension, however it is recommended that conversion comply with
455bd8deadSopenharmony_ci    the CCIR standard. This extension specifies the format of a pixel
465bd8deadSopenharmony_ci    rectangle independent of component subsampling. Component
475bd8deadSopenharmony_ci    subsampling is specified using a separate extension.
485bd8deadSopenharmony_ci
495bd8deadSopenharmony_ci    Two new formats are added, YCRCB_SGIX and YCRCBA_SGIX.
505bd8deadSopenharmony_ci
515bd8deadSopenharmony_ci    YCRCB_SGIX is defined as a 3 component format representing the Cb,
525bd8deadSopenharmony_ci    Y, and Cr values per pixel. YCRCBA_SGIX is defined as a 4 component
535bd8deadSopenharmony_ci    format representing Cb, Y, Cr, and A values per pixel.
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ci    As with the CMYK extension, this extension doesn't preclude the
565bd8deadSopenharmony_ci    possibility of other higher quality conversion methods.
575bd8deadSopenharmony_ci
585bd8deadSopenharmony_ci
595bd8deadSopenharmony_ciNew Procedures and Functions
605bd8deadSopenharmony_ci
615bd8deadSopenharmony_ci    None
625bd8deadSopenharmony_ci
635bd8deadSopenharmony_ciNew Tokens
645bd8deadSopenharmony_ci
655bd8deadSopenharmony_ci    Accepted by the <format> parameter of DrawPixels, ReadPixels,
665bd8deadSopenharmony_ci    TexImage1D, TexImage2D, TexImage3DEXT, TexImage4DSGIS, TexSubImage1DEXT,
675bd8deadSopenharmony_ci    TexSubImage2DEXT, TexSubImage3DEXT, TexSubImage4DSGIS, GetTexImage,
685bd8deadSopenharmony_ci    ColorTableSGI, GetColorTableSGI, ConvolutionFilter1DEXT,
695bd8deadSopenharmony_ci    ConvolutionFilter2DEXT, ConvolutionFilter3DEXT, GetConvolutionFilterEXT,
705bd8deadSopenharmony_ci    SeparableFilter2DEXT, SeparableFilter3DEXT, GetSeparableFilterEXT,
715bd8deadSopenharmony_ci    GetHistogramEXT, and GetMinmaxEXT:
725bd8deadSopenharmony_ci
735bd8deadSopenharmony_ci	YCRCB_SGIX				0x8318
745bd8deadSopenharmony_ci	YCRCBA_SGIX				0x8319
755bd8deadSopenharmony_ci
765bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.0 Specification (OpenGL Operation)
775bd8deadSopenharmony_ci
785bd8deadSopenharmony_ci    None
795bd8deadSopenharmony_ci
805bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.0 Specification (Rasterization)
815bd8deadSopenharmony_ci
825bd8deadSopenharmony_ci    Two entries are added to table 3.5 (DrawPixels and ReadPixels formats):
835bd8deadSopenharmony_ci
845bd8deadSopenharmony_ci									Target
855bd8deadSopenharmony_ci	Name			Type		Elements		Buffer
865bd8deadSopenharmony_ci	----			----		--------		------
875bd8deadSopenharmony_ci	YCRCB_SGIX		Component	Cb chroma value,	Color
885bd8deadSopenharmony_ci						Y luminance value,
895bd8deadSopenharmony_ci						Cr chroma value
905bd8deadSopenharmony_ci
915bd8deadSopenharmony_ci	YCRCBA_SGIX		Component	Cb chroma value,	Color
925bd8deadSopenharmony_ci						Y luminance value,
935bd8deadSopenharmony_ci						Cr chroma value,
945bd8deadSopenharmony_ci						A
955bd8deadSopenharmony_ci
965bd8deadSopenharmony_ci	Table 3.5: DrawPixels and ReadPixels formats.  The third column
975bd8deadSopenharmony_ci	gives a description of and the number and order of elements in a
985bd8deadSopenharmony_ci	group.
995bd8deadSopenharmony_ci
1005bd8deadSopenharmony_ci    The new formats YCRCB_SGIX and YCRCBA_SGIX are added to the
1015bd8deadSopenharmony_ci    discussion of Conversion to RGB.  If the format is either of these two
1025bd8deadSopenharmony_ci    values, then the chroma and luminance values in each group are converted
1035bd8deadSopenharmony_ci    to R, G, and B values using an undefined algorithm.
1045bd8deadSopenharmony_ci
1055bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.0 Specification (Per-Fragment Operations
1065bd8deadSopenharmony_ciand the Framebuffer)
1075bd8deadSopenharmony_ci
1085bd8deadSopenharmony_ci    The new formats are added to the discussion of Obtaining Pixels from the
1095bd8deadSopenharmony_ci    Framebuffer.
1105bd8deadSopenharmony_ci
1115bd8deadSopenharmony_ci    The new formats are added to the discussion of Index Lookup.
1125bd8deadSopenharmony_ci
1135bd8deadSopenharmony_ci    A new section, "Conversion to YCrCb," is added immediately
1145bd8deadSopenharmony_ci    following the section "Conversion to L." Or "Conversion to L" is
1155bd8deadSopenharmony_ci    expanded to cover conversion to L, YCrCb, and CMYK
1165bd8deadSopenharmony_ci
1175bd8deadSopenharmony_ci
1185bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.0 Specification (Special Functions)
1195bd8deadSopenharmony_ci
1205bd8deadSopenharmony_ci    None
1215bd8deadSopenharmony_ci
1225bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.0 Specification (State and State Requests)
1235bd8deadSopenharmony_ci
1245bd8deadSopenharmony_ci    None
1255bd8deadSopenharmony_ci
1265bd8deadSopenharmony_ciAdditions to the GLX Specification
1275bd8deadSopenharmony_ci
1285bd8deadSopenharmony_ci    None
1295bd8deadSopenharmony_ci
1305bd8deadSopenharmony_ciGLX Protocol
1315bd8deadSopenharmony_ci
1325bd8deadSopenharmony_ci    None
1335bd8deadSopenharmony_ci
1345bd8deadSopenharmony_ciErrors
1355bd8deadSopenharmony_ci
1365bd8deadSopenharmony_ci    None
1375bd8deadSopenharmony_ci
1385bd8deadSopenharmony_ciNew State
1395bd8deadSopenharmony_ci
1405bd8deadSopenharmony_ci    None
1415bd8deadSopenharmony_ci
1425bd8deadSopenharmony_ciNew Implementation Dependent State
1435bd8deadSopenharmony_ci
1445bd8deadSopenharmony_ci    None
1455bd8deadSopenharmony_ci
146