Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp229 const int blockHeight = h > 16 ? h / 16 : 1; in fillGreyscaleBuffer() local
240 int parityY = (y / blockHeight) & 1; in fillGreyscaleBuffer()
259 const int blockHeight = h > 16 ? h / 16 : 1; in fillRgba8888Buffer() local
266 int blockY = (y / blockHeight); in fillRgba8888Buffer()
287 const int blockHeight = (h > 16 ? h / 8 : 2) & ~0x1; in fillBayerRawBuffer() local
293 int blockY = (y / blockHeight) & 1; in fillBayerRawBuffer()
313 const int blockHeight = h > 16 ? h / 16 : 1; in checkGreyscaleBuffer() local
328 checkPixel(buf, 0, blockHeight, 63); in checkGreyscaleBuffer()
329 checkPixel(buf, 1, blockHeight, 63); in checkGreyscaleBuffer()
330 checkPixel(buf, 0, blockHeight + 1, 63); in checkGreyscaleBuffer()
[all …]
DFillBuffer.cpp27 const int blockHeight = h > 16 ? h / 16 : 1; in fillYV12Buffer() local
37 int parityY = (y / blockHeight) & 1; in fillYV12Buffer()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp95 int blockHeight = yuvTexHeight > 16 ? yuvTexHeight / 16 : 1; in setupYuvTexSurface() local
107 int parityY = (y / blockHeight) & 1; in setupYuvTexSurface()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp195 int blockHeight = yuvTexHeight > 16 ? yuvTexHeight / 16 : 1; in setupYuvTexSurface() local
212 int parityY = (y / blockHeight) & 1; in setupYuvTexSurface()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1824 int blockHeight = 16 * mBlockSize.getHeight(); in toString() local
1830 if (blockWidth > 16 || blockHeight > 16) { in toString()
1831 info += ", " + blockWidth + "x" + blockHeight + " blocks"; in toString()
2576 int blockWidth, int blockHeight,
2579 checkPowerOfTwo(blockHeight, "blockHeight must be a power of two");
2582 final int newBlockHeight = Math.max(blockHeight, mBlockHeight);
2600 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight;
2605 ratios, newBlockHeight / blockHeight,
2689 int blockWidth, int blockHeight,
2695 blockWidth, blockHeight, widthAlignment, heightAlignment);
[all …]