Home
last modified time | relevance | path

Searched refs:yuvTexStrideY (Results 1 – 6 of 6) 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.cpp245 int yuvTexStrideY = stride; in TEST_F() local
246 int yuvTexOffsetV = yuvTexStrideY * texHeight; in TEST_F()
247 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in TEST_F()
267 img[yuvTexOffsetY + y*yuvTexStrideY + x] = 128; in TEST_F()
DCpuConsumer_test.cpp234 int yuvTexStrideY = stride; in fillGreyscaleBuffer() local
240 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/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp540 int yuvTexStrideY = stride; in fillYV12Buffer() local
541 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12Buffer()
542 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12Buffer()
550 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = intensity; in fillYV12Buffer()
569 int yuvTexStrideY = stride; in fillYV12BufferRect() local
570 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12BufferRect()
571 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12BufferRect()
578 buf[yuvTexOffsetY + (y * yuvTexStrideY) + x] = inside ? 240 : 64; in fillYV12BufferRect()
/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()