Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp227 const int blockWidth = w > 16 ? w / 16 : 1; in fillGreyscaleBuffer() local
238 int parityX = (x / blockWidth) & 1; in fillGreyscaleBuffer()
257 const int blockWidth = w > 16 ? w / 16 : 1; in fillRgba8888Buffer() local
264 int blockX = (x / blockWidth); in fillRgba8888Buffer()
285 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1; in fillBayerRawBuffer() local
291 int blockX = (x / blockWidth ) & 1; in fillBayerRawBuffer()
311 const int blockWidth = w > 16 ? w / 16 : 1; in checkGreyscaleBuffer() local
314 const int blockCols = w / blockWidth; in checkGreyscaleBuffer()
323 checkPixel(buf, blockWidth, 0, 63); in checkGreyscaleBuffer()
324 checkPixel(buf, blockWidth + 1, 0, 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.java1894 int blockWidth, int blockHeight, in applyBlockLimits() argument
1896 checkPowerOfTwo(blockWidth, "blockWidth must be a power of two"); in applyBlockLimits()
1899 final int newBlockWidth = Math.max(blockWidth, mBlockWidth); in applyBlockLimits()
1918 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight; in applyBlockLimits()
1924 newBlockWidth / blockWidth); in applyBlockLimits()
2007 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument
2013 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits()
2020 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument
2024 blockWidth, blockHeight, Range.create(1, maxBlocks), in applyMacroBlockLimits()
2031 Utils.divUp(minHorizontalBlocks, (mBlockWidth / blockWidth)), in applyMacroBlockLimits()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_reconstruct.h78 u32 blockWidth,
Dh264bsd_reconstruct.c2229 u32 blockWidth, in h264bsdFillBlock() argument
2249 ASSERT(blockWidth); in h264bsdFillBlock()
2252 xstop = x0 + (i32)blockWidth; in h264bsdFillBlock()
2266 x0 = -(i32)blockWidth; in h264bsdFillBlock()
2274 xstop = x0 + (i32)blockWidth; in h264bsdFillBlock()
2285 x = (i32)blockWidth - left - right; in h264bsdFillBlock()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp537 const int blockWidth = w > 16 ? w / 16 : 1; in fillYV12Buffer() local
547 int parityX = (x / blockWidth) & 1; in fillYV12Buffer()