Lines Matching refs:blockWidth
226 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()
324 checkPixel(buf, blockWidth, 1, 63); in checkGreyscaleBuffer()
325 checkPixel(buf, blockWidth + 1, 1, 63); in checkGreyscaleBuffer()
334 checkPixel(buf, blockWidth, blockHeight, 191); in checkGreyscaleBuffer()
335 checkPixel(buf, blockWidth + 1, blockHeight, 191); in checkGreyscaleBuffer()
336 checkPixel(buf, blockWidth, blockHeight + 1, 191); in checkGreyscaleBuffer()
337 checkPixel(buf, blockWidth + 1, blockHeight + 1, 191); in checkGreyscaleBuffer()
340 const int maxBlockX = ((w-1 + (blockWidth-1)) / blockWidth) & 0x1; in checkGreyscaleBuffer()
349 const int blockWidth = w > 16 ? w / 16 : 1; in checkRgba8888Buffer() local
352 const int blockCols = w / blockWidth; in checkRgba8888Buffer()
361 checkPixel(buf, blockWidth, 0, 63, 191, 63); in checkRgba8888Buffer()
362 checkPixel(buf, blockWidth + 1, 0, 63, 191, 63); in checkRgba8888Buffer()
363 checkPixel(buf, blockWidth, 1, 63, 191, 63); in checkRgba8888Buffer()
364 checkPixel(buf, blockWidth + 1, 1, 63, 191, 63); in checkRgba8888Buffer()
373 checkPixel(buf, blockWidth, blockHeight, 63, 63, 191); in checkRgba8888Buffer()
374 checkPixel(buf, blockWidth + 1, blockHeight, 63, 63, 191); in checkRgba8888Buffer()
375 checkPixel(buf, blockWidth, blockHeight + 1, 63, 63, 191); in checkRgba8888Buffer()
376 checkPixel(buf, blockWidth + 1, blockHeight + 1, 63, 63, 191); in checkRgba8888Buffer()
380 const int maxBlockX = ((w-1) / blockWidth); in checkRgba8888Buffer()
392 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1; in checkBayerRawBuffer() local
395 const int blockCols = w / blockWidth; in checkBayerRawBuffer()
404 checkPixel(buf, blockWidth, 0, 200, 200, 1000); in checkBayerRawBuffer()
405 checkPixel(buf, blockWidth + 1, 0, 200, 200, 1000); in checkBayerRawBuffer()
406 checkPixel(buf, blockWidth, 1, 200, 200, 1000); in checkBayerRawBuffer()
407 checkPixel(buf, blockWidth + 1, 1, 200, 200, 1000); in checkBayerRawBuffer()
416 checkPixel(buf, blockWidth, blockHeight, 1000, 1000, 1000); in checkBayerRawBuffer()
417 checkPixel(buf, blockWidth + 1, blockHeight, 1000, 1000, 1000); in checkBayerRawBuffer()
418 checkPixel(buf, blockWidth, blockHeight + 1, 1000, 1000, 1000); in checkBayerRawBuffer()
419 checkPixel(buf, blockWidth + 1, blockHeight + 1, 1000, 1000, 1000); in checkBayerRawBuffer()
422 const int maxBlockX = ((w-1) / blockWidth) & 0x1; in checkBayerRawBuffer()