Lines Matching refs:scanline
192 // Convert a scanline of CMYK samples to RGBX in place. Note that this
193 // method moves the "scanline" pointer in its processing
194 static void convert_CMYK_to_RGB(uint8_t* scanline, unsigned int width) {
207 for (unsigned int x = 0; x < width; ++x, scanline += 4) {
208 scanline[0] = SkMulDiv255Round(scanline[0], scanline[3]);
209 scanline[1] = SkMulDiv255Round(scanline[1], scanline[3]);
210 scanline[2] = SkMulDiv255Round(scanline[2], scanline[3]);
211 scanline[3] = 255;
381 // if row_count == 0, then we didn't get a scanline, so abort.
683 // if row_count == 0, then we didn't get a scanline, so abort.