Home
last modified time | relevance | path

Searched refs:srcProfile (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_icc.cpp51 cmsHPROFILE srcProfile = in CreateTransform_sRGB() local
53 if (!srcProfile) in CreateTransform_sRGB()
59 cmsCloseProfile(srcProfile); in CreateTransform_sRGB()
64 cmsColorSpaceSignature srcCS = cmsGetColorSpace(srcProfile); in CreateTransform_sRGB()
69 cmsCloseProfile(srcProfile); in CreateTransform_sRGB()
84 cmsCloseProfile(srcProfile); in CreateTransform_sRGB()
93 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in CreateTransform_sRGB()
97 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in CreateTransform_sRGB()
101 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in CreateTransform_sRGB()
108 cmsCloseProfile(srcProfile); in CreateTransform_sRGB()
[all …]
/external/skqp/third_party/skcms/
Dskcms.cc2025 const skcms_ICCProfile* srcProfile, in skcms_Transform() argument
2031 return skcms_TransformWithPalette(src, srcFmt, srcAlpha, srcProfile, in skcms_Transform()
2039 const skcms_ICCProfile* srcProfile, in skcms_TransformWithPalette() argument
2055 if (!srcProfile) { in skcms_TransformWithPalette()
2056 srcProfile = skcms_sRGB_profile(); in skcms_TransformWithPalette()
2115 if (srcProfile->data_color_space == skcms_Signature_CMYK) { in skcms_TransformWithPalette()
2129 if (dstProfile != srcProfile) { in skcms_TransformWithPalette()
2136 if (srcProfile->has_A2B) { in skcms_TransformWithPalette()
2137 if (srcProfile->A2B.input_channels) { in skcms_TransformWithPalette()
2138 for (int i = 0; i < (int)srcProfile->A2B.input_channels; i++) { in skcms_TransformWithPalette()
[all …]
Dskcms.h246 const skcms_ICCProfile* srcProfile,
257 const skcms_ICCProfile* srcProfile,
/external/skia/third_party/skcms/
Dskcms.cc2019 const skcms_ICCProfile* srcProfile, in skcms_Transform() argument
2025 return skcms_TransformWithPalette(src, srcFmt, srcAlpha, srcProfile, in skcms_Transform()
2033 const skcms_ICCProfile* srcProfile, in skcms_TransformWithPalette() argument
2049 if (!srcProfile) { in skcms_TransformWithPalette()
2050 srcProfile = skcms_sRGB_profile(); in skcms_TransformWithPalette()
2115 if (srcProfile->data_color_space == skcms_Signature_CMYK) { in skcms_TransformWithPalette()
2129 if (dstProfile != srcProfile) { in skcms_TransformWithPalette()
2136 if (srcProfile->has_A2B) { in skcms_TransformWithPalette()
2137 if (srcProfile->A2B.input_channels) { in skcms_TransformWithPalette()
2138 for (int i = 0; i < (int)srcProfile->A2B.input_channels; i++) { in skcms_TransformWithPalette()
[all …]
Dskcms.h251 const skcms_ICCProfile* srcProfile,
262 const skcms_ICCProfile* srcProfile,
/external/skia/src/codec/
DSkCodec.cpp631 const auto* srcProfile = fEncodedInfo.profile(); in initializeColorXform() local
632 if (!srcProfile) { in initializeColorXform()
633 srcProfile = skcms_sRGB_profile(); in initializeColorXform()
635 if (!skcms_ApproximatelyEqualProfiles(srcProfile, &fDstProfile) ) { in initializeColorXform()
665 const auto* srcProfile = fEncodedInfo.profile(); in applyColorXform() local
666 SkAssertResult(skcms_Transform(src, fSrcXformFormat, skcms_AlphaFormat_Unpremul, srcProfile, in applyColorXform()
DSkJpegCodec.cpp562 const skcms_ICCProfile* srcProfile, in needs_swizzler_to_convert_from_cmyk() argument
568 bool hasCMYKColorSpace = srcProfile && srcProfile->data_color_space == skcms_Signature_CMYK; in needs_swizzler_to_convert_from_cmyk()
DSkRawCodec.cpp721 const skcms_ICCProfile* const srcProfile = this->getEncodedInfo().profile(); in onGetPixels() local
739 if (!skcms_Transform(&srcRow[0], srcFormat, skcms_AlphaFormat_Unpremul, srcProfile, in onGetPixels()
/external/skqp/src/codec/
DSkCodec.cpp631 const auto* srcProfile = fEncodedInfo.profile(); in initializeColorXform() local
632 if (!srcProfile) { in initializeColorXform()
633 srcProfile = skcms_sRGB_profile(); in initializeColorXform()
635 if (!skcms_ApproximatelyEqualProfiles(srcProfile, &fDstProfile) ) { in initializeColorXform()
665 const auto* srcProfile = fEncodedInfo.profile(); in applyColorXform() local
666 SkAssertResult(skcms_Transform(src, fSrcXformFormat, skcms_AlphaFormat_Unpremul, srcProfile, in applyColorXform()
DSkJpegCodec.cpp562 const skcms_ICCProfile* srcProfile, in needs_swizzler_to_convert_from_cmyk() argument
568 bool hasCMYKColorSpace = srcProfile && srcProfile->data_color_space == skcms_Signature_CMYK; in needs_swizzler_to_convert_from_cmyk()
DSkRawCodec.cpp721 const skcms_ICCProfile* const srcProfile = this->getEncodedInfo().profile(); in onGetPixels() local
739 if (!skcms_Transform(&srcRow[0], srcFormat, skcms_AlphaFormat_Unpremul, srcProfile, in onGetPixels()