Home
last modified time | relevance | path

Searched refs:blockWidth (Results 1 – 6 of 6) 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/ml/nn/runtime/test/fuzzing/operation_signatures/
DReshape.cpp180 int32_t blockWidth = op->inputs[1]->value<int32_t>(1); in batchToSpaceConstructor() local
181 auto outBatch = op->inputs[0]->dimensions[0].exactDiv(blockHeight * blockWidth); in batchToSpaceConstructor()
183 auto outWidth = op->inputs[0]->dimensions[widthIndex] * blockWidth; in batchToSpaceConstructor()
246 int32_t blockWidth = op->inputs[1]->value<int32_t>(1); in spaceToBatchConstructor() local
247 auto outBatch = op->inputs[0]->dimensions[0] * (blockHeight * blockWidth); in spaceToBatchConstructor()
249 auto outWidth = paddedWidth.exactDiv(blockWidth); in spaceToBatchConstructor()
/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.java1672 int blockWidth = 16 * mBlockSize.getWidth(); in toString() local
1679 if (blockWidth > 16 || blockHeight > 16) { in toString()
1680 info += ", " + blockWidth + "x" + blockHeight + " blocks"; in toString()
2412 int blockWidth, int blockHeight,
2414 checkPowerOfTwo(blockWidth, "blockWidth must be a power of two");
2417 final int newBlockWidth = Math.max(blockWidth, mBlockWidth);
2436 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight;
2442 newBlockWidth / blockWidth);
2525 int blockWidth, int blockHeight,
2531 blockWidth, blockHeight, widthAlignment, heightAlignment);
[all …]