Searched refs:blockHeight (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/gui/tests/ |
D | CpuConsumer_test.cpp | 229 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 …]
|
D | FillBuffer.cpp | 27 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/ |
D | gl_yuvtex.cpp | 95 int blockHeight = yuvTexHeight > 16 ? yuvTexHeight / 16 : 1; in setupYuvTexSurface() local 107 int parityY = (y / blockHeight) & 1; in setupYuvTexSurface()
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 195 int blockHeight = yuvTexHeight > 16 ? yuvTexHeight / 16 : 1; in setupYuvTexSurface() local 212 int parityY = (y / blockHeight) & 1; in setupYuvTexSurface()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 1903 int blockWidth, int blockHeight, in applyBlockLimits() argument 1906 checkPowerOfTwo(blockHeight, "blockHeight must be a power of two"); in applyBlockLimits() 1909 final int newBlockHeight = Math.max(blockHeight, mBlockHeight); in applyBlockLimits() 1927 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight; in applyBlockLimits() 1932 ratios, newBlockHeight / blockHeight, in applyBlockLimits() 2016 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument 2022 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits() 2029 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument 2033 blockWidth, blockHeight, Range.create(1, maxBlocks), in applyMacroBlockLimits() 2044 Utils.divUp(minVerticalBlocks, (mBlockHeight / blockHeight)), in applyMacroBlockLimits() [all …]
|