Class EXTYUVTarget
This extension adds support for three new YUV related items: first rendering to YUV images, second sampling from YUV images while keeping the data in YUV space, third it defines a new built in function that does conversion from RGB to YUV with controls to choose ITU-R BT.601-7, ITU-R BT.601-7 Full range (JFIF images), or ITU-R BT.709-5 standard.
This new functionality is layered on top of the OES_EGL_image_external extension.
To perform the YUV rendering capability in this extension an application will attach a texture to the framebuffer object as the color attachment. If the texture has a target type of TEXTURE_EXTERNAL_OES with YUV color format then the GL driver can use this framebuffer object as the render target, TEXTURE_EXTERNAL_OES target with RGB color format are not allowed with this extension.
Requires GLES 3.0
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted asvalue
in GetTexParameter*() queries.static final int
Returned in thetype
parameter of GetActiveUniform.static final int
Accepted asvalue
in GetIntegerv() and GetFloatv() queries.static final int
Reuse tokens as in extension "OES_EGL_image_external." Accepted as a target in thetarget
parameter of BindTexture, EGLImageTargetTexture2DOES, and FramebufferTexture2D. -
Method Summary
-
Field Details
-
GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT
public static final int GL_SAMPLER_EXTERNAL_2D_Y2Y_EXTReturned in thetype
parameter of GetActiveUniform.- See Also:
-
GL_TEXTURE_EXTERNAL_OES
public static final int GL_TEXTURE_EXTERNAL_OESReuse tokens as in extension "OES_EGL_image_external." Accepted as a target in thetarget
parameter of BindTexture, EGLImageTargetTexture2DOES, and FramebufferTexture2D.- See Also:
-
GL_TEXTURE_BINDING_EXTERNAL_OES
public static final int GL_TEXTURE_BINDING_EXTERNAL_OESAccepted asvalue
in GetIntegerv() and GetFloatv() queries.- See Also:
-
GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES
public static final int GL_REQUIRED_TEXTURE_IMAGE_UNITS_OESAccepted asvalue
in GetTexParameter*() queries.- See Also:
-