android Programming Glossary: gles20.gl_luminance
YUV to RGB conversion by fragment shader http://stackoverflow.com/questions/12130790/yuv-to-rgb-conversion-by-fragment-shader to OpenGL texture in onDrawFrame method GLES20.glUniform1i yTexture 1 GLES20.glTexImage2D GLES20.GL_TEXTURE_2D 0 GLES20.GL_LUMINANCE 320 240 0 GLES20.GL_LUMINANCE GLES20.GL_UNSIGNED_BYTE yBuffer GLES20.glTexParameteri GLES20.GL_TEXTURE_2D GLES20.GL_TEXTURE_MIN_FILTER.. method GLES20.glUniform1i yTexture 1 GLES20.glTexImage2D GLES20.GL_TEXTURE_2D 0 GLES20.GL_LUMINANCE 320 240 0 GLES20.GL_LUMINANCE GLES20.GL_UNSIGNED_BYTE yBuffer GLES20.glTexParameteri GLES20.GL_TEXTURE_2D GLES20.GL_TEXTURE_MIN_FILTER GLES20.GL_LINEAR.. GLES20.GL_TEXTURE_MAG_FILTER GLES20.GL_LINEAR GLES20.glUniform1i uTexture 2 GLES20.glTexImage2D GLES20.GL_TEXTURE_2D 0 GLES20.GL_LUMINANCE 160 120 0 GLES20.GL_LUMINANCE GLES20.GL_UNSIGNED_BYTE uBuffer GLES20.glTexParameteri GLES20.GL_TEXTURE_2D GLES20.GL_TEXTURE_MIN_FILTER..
|