Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/gui/tests/
H A 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()
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()
325 checkPixel(buf, blockWidth + 1, 1, 63); in checkGreyscaleBuffer()
[all …]
H A DFillBuffer.cpp26 const int blockWidth = w > 16 ? w / 16 : 1; in fillYV12Buffer() local
36 int parityX = (x / blockWidth) & 1; in fillYV12Buffer()
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
H A 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()
/aosp12/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp94 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1; in setupYuvTexSurface() local
106 int parityX = (x / blockWidth) & 1; in setupYuvTexSurface()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java1823 int blockWidth = 16 * mBlockSize.getWidth(); in toString() local
1830 if (blockWidth > 16 || blockHeight > 16) { in toString()
1831 info += ", " + blockWidth + "x" + blockHeight + " blocks"; in toString()
2576 int blockWidth, int blockHeight, in applyBlockLimits() argument
2578 checkPowerOfTwo(blockWidth, "blockWidth must be a power of two"); in applyBlockLimits()
2581 final int newBlockWidth = Math.max(blockWidth, mBlockWidth); in applyBlockLimits()
2606 newBlockWidth / blockWidth); in applyBlockLimits()
2689 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument
2695 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits()
2702 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument
[all …]
/aosp12/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp194 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1; in setupYuvTexSurface() local
211 int parityX = (x / blockWidth) & 1; in setupYuvTexSurface()
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java748 int columns, int blockWidth, Bitmap outline) { in ImageBlockManager() argument
756 mBlockWidth = blockWidth; in ImageBlockManager()