Home
last modified time | relevance | path

Searched refs:blockHeight (Results 1 – 6 of 6) 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/ml/nn/runtime/test/fuzzing/operation_signatures/
DReshape.cpp179 int32_t blockHeight = op->inputs[1]->value<int32_t>(0); in batchToSpaceConstructor() local
181 auto outBatch = op->inputs[0]->dimensions[0].exactDiv(blockHeight * blockWidth); in batchToSpaceConstructor()
182 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockHeight; in batchToSpaceConstructor()
245 int32_t blockHeight = op->inputs[1]->value<int32_t>(0); in spaceToBatchConstructor() local
247 auto outBatch = op->inputs[0]->dimensions[0] * (blockHeight * blockWidth); in spaceToBatchConstructor()
248 auto outHeight = paddedHeight.exactDiv(blockHeight); in spaceToBatchConstructor()
/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.java1673 int blockHeight = 16 * mBlockSize.getHeight(); in toString() local
1679 if (blockWidth > 16 || blockHeight > 16) { in toString()
1680 info += ", " + blockWidth + "x" + blockHeight + " blocks"; in toString()
2412 int blockWidth, int blockHeight,
2415 checkPowerOfTwo(blockHeight, "blockHeight must be a power of two");
2418 final int newBlockHeight = Math.max(blockHeight, mBlockHeight);
2436 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight;
2441 ratios, newBlockHeight / blockHeight,
2525 int blockWidth, int blockHeight,
2531 blockWidth, blockHeight, widthAlignment, heightAlignment);
[all …]