260 {
263
268 return false;
269 }
270
273
275 if (fn(dstInfo, dstPixels, dstRB, srcInfo, srcPixels, srcRB, steps)) {
276 return true;
277 }
278 }
280 return true;
281}
static void convert_with_pipeline(const SkImageInfo &dstInfo, void *dstRow, int dstStride, const SkImageInfo &srcInfo, const void *srcRow, int srcStride, const SkColorSpaceXformSteps &steps)
static bool swizzle_or_premul(const SkImageInfo &dstInfo, void *dstPixels, size_t dstRB, const SkImageInfo &srcInfo, const void *srcPixels, size_t srcRB, const SkColorSpaceXformSteps &steps)
static bool convert_to_alpha8(const SkImageInfo &dstInfo, void *vdst, size_t dstRB, const SkImageInfo &srcInfo, const void *src, size_t srcRB, const SkColorSpaceXformSteps &)
static bool rect_memcpy(const SkImageInfo &dstInfo, void *dstPixels, size_t dstRB, const SkImageInfo &srcInfo, const void *srcPixels, size_t srcRB, const SkColorSpaceXformSteps &steps)
static bool SkImageInfoValidConversion(const SkImageInfo &dst, const SkImageInfo &src)
SkColorSpace * colorSpace() const
int bytesPerPixel() const
SkISize dimensions() const
SkAlphaType alphaType() const