Home | History | Annotate | Download | only in images

Lines Matching refs:scanline

338 // Convert a scanline of CMYK samples to RGBX in place. Note that this
339 // method moves the "scanline" pointer in its processing
340 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) {
353 for (unsigned int x = 0; x < width; ++x, scanline += 4) {
354 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]);
355 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]);
356 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]);
357 scanline[3] = 255;
653 // if row_count == 0, then we didn't get a scanline,
694 // if row_count == 0, then we didn't get a scanline,
878 // if rowCount == 0, then we didn't get a scanline, so abort.
925 // if row_count == 0, then we didn't get a scanline, so abort.