Searched refs:blockWidth (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | CpuConsumer_test.cpp | 228 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 …]
|
D | FillBuffer.cpp | 26 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/ |
D | Reshape.cpp | 174 int32_t blockWidth = op->inputs[1]->value<int32_t>(1); in batchToSpaceConstructor() local 175 auto outBatch = op->inputs[0]->dimensions[0].exactDiv(blockHeight * blockWidth); in batchToSpaceConstructor() 177 auto outWidth = op->inputs[0]->dimensions[widthIndex] * blockWidth; in batchToSpaceConstructor() 238 int32_t blockWidth = op->inputs[1]->value<int32_t>(1); in spaceToBatchConstructor() local 239 auto outBatch = op->inputs[0]->dimensions[0] * (blockHeight * blockWidth); in spaceToBatchConstructor() 241 auto outWidth = paddedWidth.exactDiv(blockWidth); in spaceToBatchConstructor()
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 94 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1; in setupYuvTexSurface() local 106 int parityX = (x / blockWidth) & 1; in setupYuvTexSurface()
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 194 int blockWidth = yuvTexWidth > 16 ? yuvTexWidth / 16 : 1; in setupYuvTexSurface() local 211 int parityX = (x / blockWidth) & 1; in setupYuvTexSurface()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 1672 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 …]
|