Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp226 const int blockWidth = w > 16 ? w / 16 : 1; in fillGreyscaleBuffer() local
237 int parityX = (x / blockWidth) & 1; in fillGreyscaleBuffer()
256 const int blockWidth = w > 16 ? w / 16 : 1; in fillRgba8888Buffer() local
263 int blockX = (x / blockWidth); in fillRgba8888Buffer()
284 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1; in fillBayerRawBuffer() local
290 int blockX = (x / blockWidth ) & 1; in fillBayerRawBuffer()
310 const int blockWidth = w > 16 ? w / 16 : 1; in checkGreyscaleBuffer() local
313 const int blockCols = w / blockWidth; in checkGreyscaleBuffer()
322 checkPixel(buf, blockWidth, 0, 63); in checkGreyscaleBuffer()
323 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/base/media/java/android/media/
DMediaCodecInfo.java1882 int blockWidth, int blockHeight, in applyBlockLimits() argument
1884 checkPowerOfTwo(blockWidth, "blockWidth must be a power of two"); in applyBlockLimits()
1887 final int newBlockWidth = Math.max(blockWidth, mBlockWidth); in applyBlockLimits()
1906 factor = newBlockWidth * newBlockHeight / blockWidth / blockHeight; in applyBlockLimits()
1912 newBlockWidth / blockWidth); in applyBlockLimits()
1995 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument
2001 blockWidth, blockHeight, widthAlignment, heightAlignment); in applyMacroBlockLimits()
2008 int blockWidth, int blockHeight, in applyMacroBlockLimits() argument
2012 blockWidth, blockHeight, Range.create(1, maxBlocks), in applyMacroBlockLimits()
2019 Utils.divUp(minHorizontalBlocks, (mBlockWidth / blockWidth)), in applyMacroBlockLimits()
[all …]
/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/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()