Lines Matching refs:srcProfile
2601 const skcms_ICCProfile* srcProfile,
2607 return skcms_TransformWithPalette(src, srcFmt, srcAlpha, srcProfile,
2615 const skcms_ICCProfile* srcProfile,
2631 if (!srcProfile) {
2632 srcProfile = skcms_sRGB_profile();
2708 if (srcProfile->data_color_space == skcms_Signature_CMYK) {
2722 if (dstProfile != srcProfile) {
2732 if (srcProfile->has_A2B) {
2733 if (srcProfile->A2B.input_channels) {
2734 for (int i = 0; i < (int)srcProfile->A2B.input_channels; i++) {
2735 OpAndArg oa = select_curve_op(&srcProfile->A2B.input_curves[i], i);
2743 *args++ = &srcProfile->A2B;
2746 if (srcProfile->A2B.matrix_channels == 3) {
2748 OpAndArg oa = select_curve_op(&srcProfile->A2B.matrix_curves[i], i);
2760 if (0 != memcmp(&I, &srcProfile->A2B.matrix, sizeof(I))) {
2762 *args++ = &srcProfile->A2B.matrix;
2766 if (srcProfile->A2B.output_channels == 3) {
2768 OpAndArg oa = select_curve_op(&srcProfile->A2B.output_curves[i], i);
2776 if (srcProfile->pcs == skcms_Signature_Lab) {
2780 } else if (srcProfile->has_trc && srcProfile->has_toXYZD50) {
2782 OpAndArg oa = select_curve_op(&srcProfile->trc[i], i);
2793 assert (srcProfile->has_A2B || srcProfile->has_toXYZD50);
2797 if (!srcProfile->has_A2B) {
2799 *args++ = &srcProfile->toXYZD50;
2857 const skcms_Matrix3x3* to_xyz = srcProfile->has_A2B ? &I : &srcProfile->toXYZD50;