/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | format_helper.h | 45 static inline int Clip(int a, int aMin, int aMax) in Clip() function in OHOS::Media::Effect::FormatHelper 53 return Clip(y, 0, UNSIGHED_CHAR_MAX); in RGBToY() 59 return Clip(u, 0, UNSIGHED_CHAR_MAX); in RGBToU() 65 return Clip(v, 0, UNSIGHED_CHAR_MAX); in RGBToV() 71 return Clip(r, 0, UNSIGHED_CHAR_MAX); in YuvToR() 77 return Clip(g, 0, UNSIGHED_CHAR_MAX); in YuvToG() 83 return Clip(b, 0, UNSIGHED_CHAR_MAX); in YuvToB()
|
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | geometry2d.cpp | 61 void Clip(Polygon& poly, const Line& line) in Clip() function 133 Clip(newPolygon, Line(clipRect.GetLeft(), clipRect.GetTop(), clipRect.GetRight(), clipRect.GetTop())); in SuthHodgClip() 134 Clip(newPolygon, Line(clipRect.GetRight(), clipRect.GetTop(), clipRect.GetRight(), clipRect.GetBottom())); in SuthHodgClip() 135 Clip(newPolygon, Line(clipRect.GetRight(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetBottom())); in SuthHodgClip() 136 Clip(newPolygon, Line(clipRect.GetLeft(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetTop())); in SuthHodgClip() 141 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t *pNum) in Clip() function
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 73 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyRGBA8888() 75 current = CommonUtils::Clip(current, 0, 1); in OnApplyRGBA8888() 122 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV21() 124 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV21() 182 float current = CommonUtils::Clip(1.f - (float)(i) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV12() 184 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV12()
|
H A D | brightness_efilter.cpp | 114 *brightnessPtr = CommonUtils::Clip(brightness, Parameter::INTENSITY_RANGE[0], Parameter::INTENSITY_RANGE[1]); in SetValue()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | geometry2d.h | 286 void Clip(Polygon& poly, const Line& line); 307 void Clip(const Line& line, const Polygon& poly, Vector2<int16_t>* pOut, uint8_t* pNum);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | offscreen_canvas_pattern.h | 42 void Clip(); 43 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | offscreen_canvas_pattern.cpp | 69 void OffscreenCanvasPattern::Clip() in Clip() function in OHOS::Ace::NG::OffscreenCanvasPattern 71 offscreenPaintMethod_->Clip(); in Clip() 74 void OffscreenCanvasPattern::Clip(const RefPtr<CanvasPath2D>& path) in Clip() function in OHOS::Ace::NG::OffscreenCanvasPattern 76 offscreenPaintMethod_->Clip(path); in Clip()
|
H A D | canvas_pattern.h | 100 void Clip(); 101 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | canvas_paint_op.cpp | 180 method->Clip(); in Draw() 185 method->Clip(path); in Draw()
|
H A D | custom_paint_paint_method.h | 78 void Clip(); 79 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | canvas_pattern.cpp | 275 void CanvasPattern::Clip() in Clip() function in OHOS::Ace::NG::CanvasPattern 279 paintMethod.Clip(); in Clip() 287 void CanvasPattern::Clip(const RefPtr<CanvasPath2D>& path) in Clip() function in OHOS::Ace::NG::CanvasPattern 291 paintMethod.Clip(path); in Clip()
|
H A D | offscreen_canvas_rendering_context_2d_model_ng.cpp | 324 pattern_->Clip(); in SetClipRuleForPath() 332 pattern_->Clip(path); in SetClipRuleForPath2D()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 65 current = CommonUtils::Clip(current, 0, 1); in OnApplyRGBA8888() 113 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV21() 171 current = CommonUtils::Clip(current, 0, 1); in OnApplyYUVNV12()
|
H A D | contrast_efilter.cpp | 113 *contrastPtr = CommonUtils::Clip(contrast, Parameter::INTENSITY_RANGE[0], Parameter::INTENSITY_RANGE[1]); in SetValue()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.h | 102 void Clip(); 103 void Clip(const RefPtr<CanvasPath2D>& path);
|
H A D | custom_paint_component.cpp | 231 void CanvasTaskPool::Clip() in Clip() function in OHOS::Ace::CanvasTaskPool 233 auto task = [](RenderCustomPaint& interface, const Offset& offset) { interface.Clip(); }; in Clip() 237 void CanvasTaskPool::Clip(const RefPtr<CanvasPath2D>& path) in Clip() function in OHOS::Ace::CanvasTaskPool 239 auto task = [path](RenderCustomPaint& interface, const Offset& offset) { interface.Clip(path); }; in Clip()
|
H A D | render_custom_paint.h | 97 virtual void Clip() = 0; 98 virtual void Clip(const RefPtr<CanvasPath2D>& path) = 0;
|
H A D | rosen_render_custom_paint.h | 85 void Clip() override; 86 void Clip(const RefPtr<CanvasPath2D>& path) override;
|
H A D | offscreen_canvas.h | 239 virtual void Clip() = 0; 240 virtual void Clip(const RefPtr<CanvasPath2D>& path) = 0;
|
H A D | rosen_render_offscreen_canvas.h | 69 void Clip() override; 70 void Clip(const RefPtr<CanvasPath2D>& path) override;
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_renderer.h | 90 void Clip();
|
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.h | 95 static inline float Clip(float a, float aMin, float aMax) in Clip() function in OHOS::Media::Effect::CommonUtils
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | render_context.h | 628 // Clip 629 ACE_DEFINE_PROPERTY_GROUP(Clip, ClipProperty); 630 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Clip, ClipShape, RefPtr<BasicShape>); 631 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Clip, ClipEdge, bool); 632 ACE_DEFINE_PROPERTY_FUNC_WITH_GROUP(Clip, ClipMask, RefPtr<BasicShape>);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | canvas_rendering_context_2d_model_impl.cpp | 307 pattern_->Clip(); in SetClipRuleForPath() 315 pattern_->Clip(path); in SetClipRuleForPath2D()
|
H A D | offscreen_canvas_rendering_context_2d_model_impl.cpp | 309 pattern_->Clip(); in SetClipRuleForPath() 317 pattern_->Clip(path); in SetClipRuleForPath2D()
|