Home | History | Annotate | Download | only in images

Lines Matching full:scanline

185 // Convert a scanline of CMYK samples to RGBX in place. Note that this
186 // method moves the "scanline" pointer in its processing
187 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) {
200 for (unsigned int x = 0; x < width; ++x, scanline += 4) {
201 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]);
202 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]);
203 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]);
204 scanline[3] = 255;
468 // if row_count == 0, then we didn't get a scanline,
512 // if row_count == 0, then we didn't get a scanline,
624 int scanline = (cinfo.output_scanline + i);
625 if (scanline < yMaxH) {
626 bufferraw2[i] = &outputY[scanline * rowBytesY];
627 } else if (scanline == yMaxH) {
637 int scanline = (scaledScanline + i);
638 if (scanline < uvMaxH) {
639 bufferraw2[16 + i] = &outputU[scanline * rowBytesU];
640 bufferraw2[24 + i] = &outputV[scanline * rowBytesV];
641 } else if (scanline == uvMaxH) {