Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DFillBuffer.cpp31 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12Buffer() local
32 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12Buffer()
33 int yuvTexStrideU = yuvTexStrideV; in fillYV12Buffer()
43 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 0] = in fillYV12Buffer()
44 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 1] = in fillYV12Buffer()
45 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 0] = in fillYV12Buffer()
46 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = in fillYV12Buffer()
59 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12BufferRect() local
60 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect()
61 int yuvTexStrideU = yuvTexStrideV; in fillYV12BufferRect()
[all …]
DSurfaceTextureGL_test.cpp247 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in TEST_F() local
248 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * texHeight/2; in TEST_F()
249 int yuvTexStrideU = yuvTexStrideV; in TEST_F()
269 img[yuvTexOffsetV + (y/2)*yuvTexStrideV + x/2] = 128; in TEST_F()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp86 const int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; variable
87 const int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * yuvTexHeight/2;
88 const int yuvTexStrideU = yuvTexStrideV;
113 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = intensity; in setupYuvTexSurface()
115 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 0] = in setupYuvTexSurface()
116 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 1] = in setupYuvTexSurface()
117 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 0] = in setupYuvTexSurface()
118 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = intensity; in setupYuvTexSurface()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp200 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in setupYuvTexSurface() local
201 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * yuvTexHeight/2; in setupYuvTexSurface()
202 int yuvTexStrideU = yuvTexStrideV; in setupYuvTexSurface()
218 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = intensity; in setupYuvTexSurface()
220 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 0] = in setupYuvTexSurface()
221 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 1] = in setupYuvTexSurface()
222 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 0] = in setupYuvTexSurface()
223 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = intensity; in setupYuvTexSurface()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp542 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12Buffer() local
543 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12Buffer()
544 int yuvTexStrideU = yuvTexStrideV; in fillYV12Buffer()
554 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 0] = in fillYV12Buffer()
555 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 1] = in fillYV12Buffer()
556 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 0] = in fillYV12Buffer()
557 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = in fillYV12Buffer()
571 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12BufferRect() local
572 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect()
573 int yuvTexStrideU = yuvTexStrideV; in fillYV12BufferRect()
[all …]