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.cpp240 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in TEST_F() local
241 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * texHeight/2; in TEST_F()
242 int yuvTexStrideU = yuvTexStrideV; in TEST_F()
262 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.cpp547 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12Buffer() local
548 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12Buffer()
549 int yuvTexStrideU = yuvTexStrideV; in fillYV12Buffer()
559 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 0] = in fillYV12Buffer()
560 buf[yuvTexOffsetV + (y*2 * yuvTexStrideV) + x*2 + 1] = in fillYV12Buffer()
561 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 0] = in fillYV12Buffer()
562 buf[yuvTexOffsetV + ((y*2+1) * yuvTexStrideV) + x*2 + 1] = in fillYV12Buffer()
576 int yuvTexStrideV = (yuvTexStrideY/2 + 0xf) & ~0xf; in fillYV12BufferRect() local
577 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect()
578 int yuvTexStrideU = yuvTexStrideV; in fillYV12BufferRect()
[all …]