Lines Matching refs:srcPI
218 SkSrcPixelInfo srcPI; in sw_convert_to_premul() local
219 if (!GrPixelConfig2ColorAndProfileType(srcConfig, &srcPI.fColorType, nullptr)) { in sw_convert_to_premul()
222 srcPI.fAlphaType = kUnpremul_SkAlphaType; in sw_convert_to_premul()
223 srcPI.fPixels = inPixels; in sw_convert_to_premul()
224 srcPI.fRowBytes = inRowBytes; in sw_convert_to_premul()
227 dstPI.fColorType = srcPI.fColorType; in sw_convert_to_premul()
232 return srcPI.convertPixelsTo(&dstPI, width, height); in sw_convert_to_premul()
489 SkSrcPixelInfo srcPI; in readSurfacePixels() local
490 srcPI.fColorType = dstPI.fColorType; in readSurfacePixels()
491 srcPI.fAlphaType = kPremul_SkAlphaType; in readSurfacePixels()
492 srcPI.fPixels = buffer; in readSurfacePixels()
493 srcPI.fRowBytes = rowBytes; in readSurfacePixels()
495 return srcPI.convertPixelsTo(&dstPI, width, height); in readSurfacePixels()