Searched refs:yuvTexWidth (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp78 const int yuvTexWidth = 600; variable
84 const int yuvTexStrideY = (yuvTexWidth + 0xf) & ~0xf;
94 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1;
96 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat,
104 for (int x = 0; x < yuvTexWidth; x++) {
110 if (x < yuvTexWidth / 2 && y < yuvTexHeight / 2) {
114 } else if (x < yuvTexWidth / 4 && y < yuvTexHeight / 4) {
151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight };
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp183 const int yuvTexWidth = 608; variable
194 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1;
196 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat,
209 for (int x = 0; x < yuvTexWidth; x++) {
215 if (x < yuvTexWidth / 2 && y < yuvTexHeight / 2) {
219 } else if (x < yuvTexWidth / 4 && y < yuvTexHeight / 4) {

Completed in 7 milliseconds