HomeSort by relevance Sort by last modified time
    Searched refs:yuvTexHeight (Results 1 - 2 of 2) sorted by null

  /frameworks/native/opengl/tests/gl_yuvtex/
gl_yuvtex.cpp 79 const int yuvTexHeight = 480;
85 const int yuvTexOffsetV = yuvTexStrideY * yuvTexHeight;
87 const int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * yuvTexHeight/2;
95 int blockHeight = yuvTexHeight > 16 ? yuvTexHeight / 16 : 1;
96 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat,
105 for (int y = 0; y < yuvTexHeight; y++) {
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 };
    [all...]
  /frameworks/native/opengl/tests/gl2_yuvtex/
gl2_yuvtex.cpp 184 const int yuvTexHeight = 480;
195 int blockHeight = yuvTexHeight > 16 ? yuvTexHeight / 16 : 1;
196 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat,
199 int yuvTexOffsetV = yuvTexStrideY * yuvTexHeight;
201 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * yuvTexHeight/2;
210 for (int y = 0; y < yuvTexHeight; y++) {
215 if (x < yuvTexWidth / 2 && y < yuvTexHeight / 2) {
219 } else if (x < yuvTexWidth / 4 && y < yuvTexHeight / 4) {

Completed in 75 milliseconds