Home
last modified time | relevance | path

Searched refs:srcColor (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_filter.cpp73 ColorInterpolationType srcColor = currentColor; in GetImageFilter() local
80 ConverImageFilterColor(foreImageFilter, srcColor, currentColor); in GetImageFilter()
81 ConverImageFilterColor(backImageFilter, srcColor, currentColor); in GetImageFilter()
83 ConverImageFilterColor(imageFilter, srcColor, currentColor); in GetImageFilter()
91 ConverImageFilterColor(imageFilter, srcColor, currentColor); in GetImageFilter()
98 ConverImageFilterColor(imageFilter, srcColor, currentColor); in GetImageFilter()
105 ConverImageFilterColor(imageFilter, srcColor, currentColor); in GetImageFilter()
109 currentColor = srcColor; in GetImageFilter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_fe.cpp108 SvgColorInterpolationType srcColor = currentColor; in GetImageFilter() local
121 OnAsImageFilter(imageFilter, srcColor, currentColor, resultHash); in GetImageFilter()
122 currentColor = srcColor; in GetImageFilter()
126 const SvgColorInterpolationType& srcColor, const SvgColorInterpolationType& dst) in ConverImageFilterColor() argument
128 … if (dst == SvgColorInterpolationType::LINEAR_RGB && srcColor == SvgColorInterpolationType::SRGB) { in ConverImageFilterColor()
132 …} else if (dst == SvgColorInterpolationType::SRGB && srcColor == SvgColorInterpolationType::LINEAR… in ConverImageFilterColor()
H A Dsvg_fe_composite.cpp93 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor, in OnAsImageFilter() argument
99 ConverImageFilterColor(foreImageFilter, srcColor, currentColor); in OnAsImageFilter()
100 ConverImageFilterColor(backImageFilter, srcColor, currentColor); in OnAsImageFilter()
104 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
111 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
H A Dsvg_fe_blend.cpp48 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor, in OnAsImageFilter() argument
55 ConverImageFilterColor(foreImageFilter, srcColor, currentColor); in OnAsImageFilter()
56 ConverImageFilterColor(backImageFilter, srcColor, currentColor); in OnAsImageFilter()
60 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
H A Dsvg_fe_color_matrix.h40 … const ColorInterpolationType& srcColor, ColorInterpolationType& currentColor) const override;
43 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor,
H A Dsvg_fe_offset.cpp33 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor, in OnAsImageFilter() argument
40 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
H A Dsvg_fe_flood.cpp34 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor, in OnAsImageFilter() argument
50 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
H A Dsvg_fe_gaussian_blur.cpp32 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor, in OnAsImageFilter() argument
41 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
H A Dsvg_fe_color_matrix.cpp139 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor, in OnAsImageFilter() argument
150 ConverImageFilterColor(imageFilter, srcColor, currentColor); in OnAsImageFilter()
H A Dsvg_fe_flood.h32 …ImageFilter(std::shared_ptr<RSImageFilter>& imageFilter, const SvgColorInterpolationType& srcColor,
H A Dsvg_fe_gaussian_blur.h31 …ImageFilter(std::shared_ptr<RSImageFilter>& imageFilter, const SvgColorInterpolationType& srcColor,
H A Dsvg_fe_offset.h32 …ImageFilter(std::shared_ptr<RSImageFilter>& imageFilter, const SvgColorInterpolationType& srcColor,
H A Dsvg_fe_blend.h34 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor,
H A Dsvg_fe_composite.h34 const SvgColorInterpolationType& srcColor, SvgColorInterpolationType& currentColor,
H A Dsvg_fe.h54 …ImageFilter(std::shared_ptr<RSImageFilter>& imageFilter, const SvgColorInterpolationType& srcColor, in OnAsImageFilter() argument
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/
H A Dgraphic_neon_pipeline.h62 void Construct(ColorMode dm, ColorMode sm, void* srcColor = nullptr, uint8_t opa = OPA_OPAQUE)
80 if (srcColor != nullptr) {
81 ConstructSrcColor(sm, srcColor, opa, r2_, g2_, b2_, a2_);
329 void ConstructSrcColor(ColorMode sm, void* srcColor, uint8_t opa, in ConstructSrcColor() argument
333 Color32* color = reinterpret_cast<Color32*>(srcColor); in ConstructSrcColor()
339 Color32* color = reinterpret_cast<Color32*>(srcColor); in ConstructSrcColor()
345 Color24* color = reinterpret_cast<Color24*>(srcColor); in ConstructSrcColor()
351 Color16* color = reinterpret_cast<Color16*>(srcColor); in ConstructSrcColor()
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/
H A Dcolor.cpp80 Vector3 srcColor = {r, g, b}; in Convert() local
81 Vector3 dstColor = convertor.Convert(srcColor); in Convert()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_util.cpp563 Offset RGBUintToFloat(uint8_t* dst, uint8_t* src, int32_t pixelFormat, Vector3f &srcColor, in RGBUintToFloat() argument
572srcColor = {RGBUint10ToFloat(src16[0]), RGBUint10ToFloat(src16[1]), RGBUint10ToFloat(src16[2])}; in RGBUintToFloat()
585 srcColor = {RGBUint10ToFloat((*src32) & 0x3FF), RGBUint10ToFloat(((*src32) >> 10) & 0x3FF), in RGBUintToFloat()
600 srcColor = {RGBUint8ToFloat(src[0]), RGBUint8ToFloat(src[1]), RGBUint8ToFloat(src[2])}; in RGBUintToFloat()
609 srcColor = {RGBUint8ToFloat(src[0]), RGBUint8ToFloat(src[1]), RGBUint8ToFloat(src[2])}; in RGBUintToFloat()
617 srcColor = {RGBUint8ToFloat(src[2]), RGBUint8ToFloat(src[1]), RGBUint8ToFloat(src[0])}; in RGBUintToFloat()
634 Vector3f srcColor; in ConvertColorGamut() local
637 Offset len = RGBUintToFloat(dst, src, pixelFormat, srcColor, colorDst); in ConvertColorGamut()
638 Vector3f outColor = dstColorSpace.XYZToRGB(srcColorSpace.RGBToXYZ(srcColor)); in ConvertColorGamut()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/svg/
H A Dparse_test_ng.cpp1132 SvgColorInterpolationType srcColor = SvgColorInterpolationType::SRGB; variable
1135 svgFe->ConverImageFilterColor(imageFilter, srcColor, colorInterpolationType);
1156 SvgColorInterpolationType srcColor = SvgColorInterpolationType::SRGB; variable
1158 colorMatrix->OnAsImageFilter(imageFilter, srcColor, colorInterPolationType, resultHash);
1161 EXPECT_EQ(srcColor, SvgColorInterpolationType::SRGB);
1534 SvgColorInterpolationType srcColor = SvgColorInterpolationType::LINEAR_RGB; variable
1542 svgFe->ConverImageFilterColor(imageFilter, srcColor, colorInterpolationType);