Lines Matching refs:aWidth
129 ColorConvBGRA32Iter(unsigned aWidth, unsigned aHeight, uint8_t *aBuf)
131 LogFlow(("width = %d height=%d aBuf=%lx\n", aWidth, aHeight, aBuf));
133 mSize = aWidth * aHeight * PIX_SIZE;
183 ColorConvBGR24Iter(unsigned aWidth, unsigned aHeight, uint8_t *aBuf)
186 mSize = aWidth * aHeight * PIX_SIZE;
236 ColorConvBGR565Iter(unsigned aWidth, unsigned aHeight, uint8_t *aBuf)
239 mSize = aWidth * aHeight * PIX_SIZE;
285 * @param aWidth width of image
292 inline bool colorConvWriteYUV420p(unsigned aWidth, unsigned aHeight,
295 AssertReturn(0 == (aWidth & 1), false);
298 T iter1(aWidth, aHeight, aSrcBuf);
300 iter2.skip(aWidth);
301 unsigned cPixels = aWidth * aHeight;
307 for (unsigned j = 0; (j < aWidth / 2) && rc; ++j)
327 aDestBuf[offY + aWidth] = ((66 * red + 129 * green + 25 * blue + 128) >> 8) + 16;
334 aDestBuf[offY + aWidth + 1] = ((66 * red + 129 * green + 25 * blue + 128) >> 8) + 16;
346 iter1.skip(aWidth);
347 iter2.skip(aWidth);
348 offY += aWidth;
357 * @param aWidth width of image
364 inline bool colorConvWriteRGB24(unsigned aWidth, unsigned aHeight,
369 AssertReturn(0 == (aWidth & 1), false);
371 T iter(aWidth, aHeight, aSrcBuf);
372 unsigned cPixels = aWidth * aHeight;