Home
last modified time | relevance | path

Searched refs:srcCS (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_icc.cpp64 cmsColorSpaceSignature srcCS = cmsGetColorSpace(srcProfile); in CreateTransform_sRGB() local
66 *nSrcComponents = cmsChannelsOf(srcCS); in CreateTransform_sRGB()
74 if (srcCS == cmsSigLabData) { in CreateTransform_sRGB()
/external/skia/src/utils/
DSkPatchUtils.cpp253 auto srcCS = SkColorSpace::MakeSRGB(); in skcolor_to_linear() local
258 srcCS.get(), SkColorSpaceXform::kBGRA_8888_ColorFormat, src, in skcolor_to_linear()
272 auto srcCS = cs->makeLinearGamma(); in linear_to_skcolor() local
275 srcCS.get(), SkColorSpaceXform::kRGBA_F32_ColorFormat, src, in linear_to_skcolor()
/external/skqp/src/utils/
DSkPatchUtils.cpp253 auto srcCS = SkColorSpace::MakeSRGB(); in skcolor_to_linear() local
258 srcCS.get(), SkColorSpaceXform::kBGRA_8888_ColorFormat, src, in skcolor_to_linear()
272 auto srcCS = cs->makeLinearGamma(); in linear_to_skcolor() local
275 srcCS.get(), SkColorSpaceXform::kRGBA_F32_ColorFormat, src, in linear_to_skcolor()
/external/skqp/tests/
DReadPixelsTest.cpp596 for (sk_sp<SkColorSpace> srcCS : kColorSpaces) { in DEF_TEST()
601 if (kRGBA_F16_SkColorType == srcCT && srcCS) { in DEF_TEST()
602 srcCS = srcCS->makeLinearGamma(); in DEF_TEST()
607 SkImageInfo::Make(kNumPixels, 1, srcCT, srcAT, srcCS)); in DEF_TEST()
/external/skia/tests/
DReadPixelsTest.cpp596 for (sk_sp<SkColorSpace> srcCS : kColorSpaces) { in DEF_TEST()
601 if (kRGBA_F16_SkColorType == srcCT && srcCS) { in DEF_TEST()
602 srcCS = srcCS->makeLinearGamma(); in DEF_TEST()
607 SkImageInfo::Make(kNumPixels, 1, srcCT, srcAT, srcCS)); in DEF_TEST()
/external/skia/src/codec/
DSkCodecPriv.h279 static inline bool needs_color_xform(const SkImageInfo& dstInfo, const SkColorSpace* srcCS, in needs_color_xform() argument
290 bool srcDstNotEqual = !SkColorSpace::Equals(srcCS, dstInfo.colorSpace()); in needs_color_xform()
DSkWbmpCodec.h32 bool srcIsOpaque, const SkColorSpace* srcCS) const override;
DSkWbmpCodec.cpp108 bool srcIsOpaque, const SkColorSpace* srcCS) const { in conversionSupported()
DSkCodec.cpp162 bool srcIsOpaque, const SkColorSpace* srcCS) const { in conversionSupported()
177 !needs_color_xform(dst, srcCS, false); in conversionSupported()
/external/skqp/src/codec/
DSkCodecPriv.h279 static inline bool needs_color_xform(const SkImageInfo& dstInfo, const SkColorSpace* srcCS, in needs_color_xform() argument
290 bool srcDstNotEqual = !SkColorSpace::Equals(srcCS, dstInfo.colorSpace()); in needs_color_xform()
DSkWbmpCodec.h32 bool srcIsOpaque, const SkColorSpace* srcCS) const override;
DSkWbmpCodec.cpp112 bool srcIsOpaque, const SkColorSpace* srcCS) const { in conversionSupported()
DSkCodec.cpp162 bool srcIsOpaque, const SkColorSpace* srcCS) const { in conversionSupported()
177 !needs_color_xform(dst, srcCS, false); in conversionSupported()
/external/skqp/include/core/
DSkColorSpaceXform.h69 SkColorSpace* srcCS, ColorFormat srcFormat, const void* src,
/external/skia/include/core/
DSkColorSpaceXform.h69 SkColorSpace* srcCS, ColorFormat srcFormat, const void* src,
/external/skia/src/core/
DSkDraw_vertices.cpp159 auto srcCS = SkColorSpace::MakeSRGB(); in convert_colors() local
162 srcCS.get(), SkColorSpaceXform::kBGRA_8888_ColorFormat, src, in convert_colors()
DSkColorSpaceXform.cpp606 SkColorSpace* srcCS, ColorFormat srcFormat, const void* src, in Apply() argument
614 return New(srcCS, dstCS)->apply(dstFormat, dst, srcFormat, src, len, at); in Apply()
/external/skqp/src/core/
DSkDraw_vertices.cpp158 auto srcCS = SkColorSpace::MakeSRGB(); in convert_colors() local
161 srcCS.get(), SkColorSpaceXform::kBGRA_8888_ColorFormat, src, in convert_colors()
DSkColorSpaceXform.cpp606 SkColorSpace* srcCS, ColorFormat srcFormat, const void* src, in Apply() argument
614 return New(srcCS, dstCS)->apply(dstFormat, dst, srcFormat, src, len, at); in Apply()
/external/skia/include/codec/
DSkCodec.h856 bool srcIsOpaque, const SkColorSpace* srcCS) const;
/external/skqp/include/codec/
DSkCodec.h856 bool srcIsOpaque, const SkColorSpace* srcCS) const;