Lines Matching refs:srcProfile
2571 const skcms_ICCProfile* srcProfile, in skcms_Transform() argument
2577 return skcms_TransformWithPalette(src, srcFmt, srcAlpha, srcProfile, in skcms_Transform()
2585 const skcms_ICCProfile* srcProfile, in skcms_TransformWithPalette() argument
2601 if (!srcProfile) { in skcms_TransformWithPalette()
2602 srcProfile = skcms_sRGB_profile(); in skcms_TransformWithPalette()
2678 if (srcProfile->data_color_space == skcms_Signature_CMYK) { in skcms_TransformWithPalette()
2692 if (dstProfile != srcProfile) { in skcms_TransformWithPalette()
2702 if (srcProfile->has_A2B) { in skcms_TransformWithPalette()
2703 if (srcProfile->A2B.input_channels) { in skcms_TransformWithPalette()
2704 for (int i = 0; i < (int)srcProfile->A2B.input_channels; i++) { in skcms_TransformWithPalette()
2705 OpAndArg oa = select_curve_op(&srcProfile->A2B.input_curves[i], i); in skcms_TransformWithPalette()
2713 *args++ = &srcProfile->A2B; in skcms_TransformWithPalette()
2716 if (srcProfile->A2B.matrix_channels == 3) { in skcms_TransformWithPalette()
2718 OpAndArg oa = select_curve_op(&srcProfile->A2B.matrix_curves[i], i); in skcms_TransformWithPalette()
2730 if (0 != memcmp(&I, &srcProfile->A2B.matrix, sizeof(I))) { in skcms_TransformWithPalette()
2732 *args++ = &srcProfile->A2B.matrix; in skcms_TransformWithPalette()
2736 if (srcProfile->A2B.output_channels == 3) { in skcms_TransformWithPalette()
2738 OpAndArg oa = select_curve_op(&srcProfile->A2B.output_curves[i], i); in skcms_TransformWithPalette()
2746 if (srcProfile->pcs == skcms_Signature_Lab) { in skcms_TransformWithPalette()
2750 } else if (srcProfile->has_trc && srcProfile->has_toXYZD50) { in skcms_TransformWithPalette()
2752 OpAndArg oa = select_curve_op(&srcProfile->trc[i], i); in skcms_TransformWithPalette()
2763 assert (srcProfile->has_A2B || srcProfile->has_toXYZD50); in skcms_TransformWithPalette()
2767 if (!srcProfile->has_A2B) { in skcms_TransformWithPalette()
2769 *args++ = &srcProfile->toXYZD50; in skcms_TransformWithPalette()
2827 const skcms_Matrix3x3* to_xyz = srcProfile->has_A2B ? &I : &srcProfile->toXYZD50; in skcms_TransformWithPalette()