Lines Matching refs:dstBits
113 scale_down(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight,
169 *((rgb_color*)dstBits + (i * dstWidth) + j) = out;
176 scale2x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight,
210 *(uint32*)(dstBits + y * 2 * dstBPR + x * 2 * 4) = e0;
211 *(uint32*)(dstBits + y * 2 * dstBPR + (x * 2 + 1) * 4) = e1;
212 *(uint32*)(dstBits + (y * 2 + 1) * dstBPR + x * 2 * 4) = e2;
213 *(uint32*)(dstBits + (y * 2 + 1) * dstBPR + (x * 2 + 1) * 4) = e3;
220 scale3x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight,
271 *(uint32*)(dstBits + y * 3 * dstBPR + x * 3 * 4) = e0;
272 *(uint32*)(dstBits + y * 3 * dstBPR + (x * 3 + 1) * 4) = e1;
273 *(uint32*)(dstBits + y * 3 * dstBPR + (x * 3 + 2) * 4) = e2;
274 *(uint32*)(dstBits + (y * 3 + 1) * dstBPR + x * 3 * 4) = e3;
275 *(uint32*)(dstBits + (y * 3 + 1) * dstBPR + (x * 3 + 1) * 4) = e4;
276 *(uint32*)(dstBits + (y * 3 + 1) * dstBPR + (x * 3 + 2) * 4) = e5;
277 *(uint32*)(dstBits + (y * 3 + 2) * dstBPR + x * 3 * 4) = e6;
278 *(uint32*)(dstBits + (y * 3 + 2) * dstBPR + (x * 3 + 1) * 4) = e7;
279 *(uint32*)(dstBits + (y * 3 + 2) * dstBPR + (x * 3 + 2) * 4) = e8;
286 scale4x(const uint8* srcBits, uint8* dstBits, int32 srcWidth, int32 srcHeight,
296 scale2x(tmpBits, dstBits, srcWidth * 2, srcHeight * 2, tmpBPR, dstBPR);