Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp228 const int blockWidth = w > 16 ? w / 16 : 1; in fillGreyscaleBuffer() local
239 int parityX = (x / blockWidth) & 1; in fillGreyscaleBuffer()
258 const int blockWidth = w > 16 ? w / 16 : 1; in fillRgba8888Buffer() local
265 int blockX = (x / blockWidth); in fillRgba8888Buffer()
286 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1; in fillBayerRawBuffer() local
292 int blockX = (x / blockWidth ) & 1; in fillBayerRawBuffer()
312 const int blockWidth = w > 16 ? w / 16 : 1; in checkGreyscaleBuffer() local
322 checkPixel(buf, blockWidth, 0, 63); in checkGreyscaleBuffer()
323 checkPixel(buf, blockWidth + 1, 0, 63); in checkGreyscaleBuffer()
324 checkPixel(buf, blockWidth, 1, 63); in checkGreyscaleBuffer()
[all …]
DFillBuffer.cpp26 const int blockWidth = w > 16 ? w / 16 : 1; in fillYV12Buffer() local
36 int parityX = (x / blockWidth) & 1; in fillYV12Buffer()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp94 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1; in setupYuvTexSurface() local
106 int parityX = (x / blockWidth) & 1; in setupYuvTexSurface()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp194 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1; in setupYuvTexSurface() local
211 int parityX = (x / blockWidth) & 1; in setupYuvTexSurface()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1950 int blockWidth = 16 * mBlockSize.getWidth(); in toString() local
1957 if (blockWidth > 16 || blockHeight > 16) { in toString()
1958 info += ", " + blockWidth + "x" + blockHeight + " blocks"; in toString()
2697 int blockWidth, int blockHeight,
2699 checkPowerOfTwo(blockWidth, "blockWidth must be a power of two");
2702 final int newBlockWidth = Math.max(blockWidth, mBlockWidth);
2721 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight;
2727 newBlockWidth / blockWidth);
2810 int blockWidth, int blockHeight,
2816 blockWidth, blockHeight, widthAlignment, heightAlignment);
[all …]