Home
last modified time | relevance | path

Searched refs:yuvTexStrideY (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/gui/tests/
DFillBuffer.cpp29 int yuvTexStrideY = stride; in fillYV12Buffer() local
30 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12Buffer()
31 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12Buffer()
39 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in fillYV12Buffer()
57 int yuvTexStrideY = stride; in fillYV12BufferRect() local
58 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12BufferRect()
59 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12BufferRect()
66 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = inside ? 240 : 64; in fillYV12BufferRect()
DSurfaceTextureGL_test.cpp246 int yuvTexStrideY = stride; in TEST_F() local
247 int yuvTexOffsetV = yuvTexStrideY * texHeight; in TEST_F()
248 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in TEST_F()
268 img[yuvTexOffsetY + y*yuvTexStrideY + x] = 128; in TEST_F()
DCpuConsumer_test.cpp236 int yuvTexStrideY = stride; in fillGreyscaleBuffer() local
242 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in fillGreyscaleBuffer()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp84 const int yuvTexStrideY = (yuvTexWidth + 0xf) & ~0xf; variable
85 const int yuvTexOffsetV = yuvTexStrideY * yuvTexHeight;
86 const int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf;
109 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in setupYuvTexSurface()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp198 int yuvTexStrideY = yuvTexBuffer->getStride(); in setupYuvTexSurface() local
199 int yuvTexOffsetV = yuvTexStrideY * yuvTexHeight; in setupYuvTexSurface()
200 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in setupYuvTexSurface()
214 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in setupYuvTexSurface()