/external/oss-fuzz/projects/lcms/ |
D | cms_transform_fuzzer.c | 9 cmsHPROFILE srcProfile = cmsOpenProfileFromMem(data, size); in LLVMFuzzerTestOneInput() local 10 if (!srcProfile) return 0; in LLVMFuzzerTestOneInput() 14 cmsCloseProfile(srcProfile); in LLVMFuzzerTestOneInput() 18 cmsColorSpaceSignature srcCS = cmsGetColorSpace(srcProfile); in LLVMFuzzerTestOneInput() 32 srcProfile, srcFormat, dstProfile, TYPE_BGR_8, intent, flags); in LLVMFuzzerTestOneInput() 33 cmsCloseProfile(srcProfile); in LLVMFuzzerTestOneInput()
|
/external/pdfium/core/fxcodec/icc/ |
D | iccmodule.cpp | 55 ScopedCmsProfile srcProfile(cmsOpenProfileFromMem(span.data(), span.size())); in CreateTransformSRGB() local 56 if (!srcProfile) in CreateTransformSRGB() 63 cmsColorSpaceSignature srcCS = cmsGetColorSpace(srcProfile.get()); in CreateTransformSRGB() 93 hTransform = cmsCreateTransform(srcProfile.get(), srcFormat, in CreateTransformSRGB()
|
/external/skqp/third_party/skcms/ |
D | skcms.cc | 2025 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 …]
|
D | skcms.h | 246 const skcms_ICCProfile* srcProfile, 257 const skcms_ICCProfile* srcProfile,
|
/external/skia/src/codec/ |
D | SkCodec.cpp | 702 const auto* srcProfile = fEncodedInfo.profile(); in initializeColorXform() local 703 fDstProfile = srcProfile ? *srcProfile : *skcms_sRGB_profile(); in initializeColorXform() 707 const auto* srcProfile = fEncodedInfo.profile(); in initializeColorXform() local 708 if (!srcProfile) { in initializeColorXform() 709 srcProfile = skcms_sRGB_profile(); in initializeColorXform() 711 if (!skcms_ApproximatelyEqualProfiles(srcProfile, &fDstProfile) ) { in initializeColorXform() 741 const auto* srcProfile = fEncodedInfo.profile(); in applyColorXform() local 742 SkAssertResult(skcms_Transform(src, fSrcXformFormat, skcms_AlphaFormat_Unpremul, srcProfile, in applyColorXform()
|
D | SkJpegCodec.cpp | 512 const skcms_ICCProfile* srcProfile, in needs_swizzler_to_convert_from_cmyk() argument 518 bool hasCMYKColorSpace = srcProfile && srcProfile->data_color_space == skcms_Signature_CMYK; in needs_swizzler_to_convert_from_cmyk()
|
D | SkRawCodec.cpp | 721 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/skia/third_party/skcms/ |
D | skcms.cc | 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() [all …]
|
/external/skia/tools/ |
D | HashAndEncode.cpp | 54 skcms_ICCProfile srcProfile = *skcms_sRGB_profile(); in HashAndEncode() local 56 cs->toProfile(&srcProfile); in HashAndEncode() 75 if (!skcms_Transform(src, srcFmt, srcAlpha, &srcProfile, in HashAndEncode()
|
/external/skqp/src/codec/ |
D | SkCodec.cpp | 631 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()
|
D | SkJpegCodec.cpp | 562 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()
|
D | SkRawCodec.cpp | 721 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/skia/include/third_party/skcms/ |
D | skcms.h | 326 const skcms_ICCProfile* srcProfile, 337 const skcms_ICCProfile* srcProfile,
|