Lines Matching refs:srcProfile
718 // Use the srcProfile to avoid conversion.
719 const auto* srcProfile = fEncodedInfo.profile();
720 fDstProfile = srcProfile ? *srcProfile : *skcms_sRGB_profile();
724 const auto* srcProfile = fEncodedInfo.profile();
725 if (!srcProfile) {
726 srcProfile = skcms_sRGB_profile();
728 if (!skcms_ApproximatelyEqualProfiles(srcProfile, &fDstProfile) ) {
757 // It is okay for srcProfile to be null. This will use sRGB.
758 const auto* srcProfile = fEncodedInfo.profile();
759 SkAssertResult(skcms_Transform(src, fSrcXformFormat, skcms_AlphaFormat_Unpremul, srcProfile,