Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DFillBuffer.cpp30 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12Buffer() local
32 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; 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()
58 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12BufferRect() local
60 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect()
71 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = in fillYV12BufferRect()
DSurfaceTextureGL_test.cpp246 int yuvTexOffsetV = yuvTexStrideY * texHeight; in TEST_F() local
248 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * texHeight/2; in TEST_F()
269 img[yuvTexOffsetV + (y/2)*yuvTexStrideV + x/2] = 128; in TEST_F()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp85 const int yuvTexOffsetV = yuvTexStrideY * yuvTexHeight; variable
87 const int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * yuvTexHeight/2;
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.cpp199 int yuvTexOffsetV = yuvTexStrideY * yuvTexHeight; in setupYuvTexSurface() local
201 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * yuvTexHeight/2; 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.cpp541 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12Buffer() local
543 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; 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()
570 int yuvTexOffsetV = yuvTexStrideY * h; in fillYV12BufferRect() local
572 int yuvTexOffsetU = yuvTexOffsetV + yuvTexStrideV * h/2; in fillYV12BufferRect()
583 buf[yuvTexOffsetV + (y * yuvTexStrideV) + x] = in fillYV12BufferRect()