Home
last modified time | relevance | path

Searched refs:blockWidth (Results 1 – 5 of 5) 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/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.java1903 int blockWidth, int blockHeight, in applyBlockLimits() argument
1905 checkPowerOfTwo(blockWidth, "blockWidth must be a power of two"); in applyBlockLimits()
1908 final int newBlockWidth = Math.max(blockWidth, mBlockWidth); in applyBlockLimits()
1927 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight; in applyBlockLimits()
1933 newBlockWidth / blockWidth); 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()
2040 Utils.divUp(minHorizontalBlocks, (mBlockWidth / blockWidth)), in applyMacroBlockLimits()
[all …]