Home
last modified time | relevance | path

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

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