Lines Matching refs:blockWidth
228 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()
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
359 checkPixel(buf, blockWidth, 0, 63, 191, 63); in checkRgba8888Buffer()
360 checkPixel(buf, blockWidth + 1, 0, 63, 191, 63); in checkRgba8888Buffer()
361 checkPixel(buf, blockWidth, 1, 63, 191, 63); in checkRgba8888Buffer()
362 checkPixel(buf, blockWidth + 1, 1, 63, 191, 63); in checkRgba8888Buffer()
371 checkPixel(buf, blockWidth, blockHeight, 63, 63, 191); in checkRgba8888Buffer()
372 checkPixel(buf, blockWidth + 1, blockHeight, 63, 63, 191); in checkRgba8888Buffer()
373 checkPixel(buf, blockWidth, blockHeight + 1, 63, 63, 191); in checkRgba8888Buffer()
374 checkPixel(buf, blockWidth + 1, blockHeight + 1, 63, 63, 191); in checkRgba8888Buffer()
378 const int maxBlockX = ((w-1) / blockWidth); in checkRgba8888Buffer()
390 const int blockWidth = (w > 16 ? w / 8 : 2) & ~0x1; in checkBayerRawBuffer() local
400 checkPixel(buf, blockWidth, 0, 200, 200, 1000); in checkBayerRawBuffer()
401 checkPixel(buf, blockWidth + 1, 0, 200, 200, 1000); in checkBayerRawBuffer()
402 checkPixel(buf, blockWidth, 1, 200, 200, 1000); in checkBayerRawBuffer()
403 checkPixel(buf, blockWidth + 1, 1, 200, 200, 1000); in checkBayerRawBuffer()
412 checkPixel(buf, blockWidth, blockHeight, 1000, 1000, 1000); in checkBayerRawBuffer()
413 checkPixel(buf, blockWidth + 1, blockHeight, 1000, 1000, 1000); in checkBayerRawBuffer()
414 checkPixel(buf, blockWidth, blockHeight + 1, 1000, 1000, 1000); in checkBayerRawBuffer()
415 checkPixel(buf, blockWidth + 1, blockHeight + 1, 1000, 1000, 1000); in checkBayerRawBuffer()
418 const int maxBlockX = ((w-1) / blockWidth) & 0x1; in checkBayerRawBuffer()