/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/ |
H A D | rs_drawable_test.cpp | 58 std::optional<Vector4f> aiInvert = { Vector4f() }; variable 59 node.renderContent_->GetMutableRenderProperties().SetAiInvert(aiInvert); 77 std::optional<Vector4f> aiInvert = { Vector4f() }; variable 78 node.renderContent_->GetMutableRenderProperties().SetAiInvert(aiInvert);
|
H A D | rs_property_drawable_utils_test.cpp | 362 std::optional<Vector4f> aiInvert = std::nullopt; variable 363 rsPropertyDrawableUtilsTest->DrawBinarization(&paintFilterCanvasTest, aiInvert); 365 aiInvert = 1.0f; 367 rsPropertyDrawableUtilsTest->DrawBinarization(&paintFilterCanvasTest, aiInvert); 371 rsPropertyDrawableUtilsTest->DrawBinarization(&paintFilterCanvasTest, aiInvert);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_utils.cpp | 805 …tyDrawableUtils::DrawBinarization(Drawing::Canvas* canvas, const std::optional<Vector4f>& aiInvert) in DrawBinarization() argument 807 if (!aiInvert.has_value()) { in DrawBinarization() 825 float thresholdLow = aiInvert->z_ - aiInvert->w_; in DrawBinarization() 826 float thresholdHigh = aiInvert->z_ + aiInvert->w_; in DrawBinarization() 827 …auto shader = MakeBinarizationShader(aiInvert->x_, aiInvert->y_, thresholdLow, thresholdHigh, imag… in DrawBinarization()
|
H A D | rs_property_drawable_foreground.cpp | 45 auto& aiInvert = node.GetRenderProperties().GetAiInvert(); in OnUpdate() local 46 if (!aiInvert.has_value()) { in OnUpdate() 50 stagingAiInvert_ = aiInvert; in OnUpdate()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/ |
H A D | rs_property_drawable_utils.h | 60 static void DrawBinarization(Drawing::Canvas* canvas, const std::optional<Vector4f>& aiInvert);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties_painter.cpp | 1631 auto& aiInvert = properties.GetAiInvert(); in DrawBinarizationShader() local 1635 float thresholdLow = aiInvert->z_ - aiInvert->w_; in DrawBinarizationShader() 1636 float thresholdHigh = aiInvert->z_ + aiInvert->w_; in DrawBinarizationShader() 1638 aiInvert->x_, aiInvert->y_, thresholdLow, thresholdHigh, imageShader); in DrawBinarizationShader()
|
H A D | rs_property_drawable_bounds_geometry.cpp | 651 auto& aiInvert = content.GetRenderProperties().GetAiInvert(); in Generate() local 652 if (!aiInvert.has_value()) { in Generate()
|
H A D | rs_properties.cpp | 3461 void RSProperties::SetAiInvert(const std::optional<Vector4f>& aiInvert) in SetAiInvert() argument 3463 aiInvert_ = aiInvert; in SetAiInvert()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_property_drawable_bounds_geometry_test.cpp | 919 Vector4f aiInvert(x, y, z, w); 920 properties.SetAiInvert(aiInvert);
|
H A D | rs_properties_test.cpp | 2509 Vector4f aiInvert = { 1.f, 1.f, 1.f, 1.f }; variable 2510 properties.aiInvert_ = aiInvert; 2993 std::optional<float> aiInvert = std::optional<float>(1.f); variable 2994 properties.SetAiInvert(aiInvert);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 437 void SetAiInvert(const std::optional<Vector4f>& aiInvert);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 437 void SetAiInvert(const Vector4f& aiInvert);
|
H A D | rs_node.cpp | 2468 void RSNode::SetAiInvert(const Vector4f& aiInvert) in SetAiInvert() argument 2470 …etProperty<RSAiInvertModifier, RSAnimatableProperty<Vector4f>>(RSModifierType::AIINVERT, aiInvert); in SetAiInvert()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_node_test.cpp | 6663 Vector4f aiInvert = { 1.f, 1.f, 1.f, 1.f }; // for test variable 6664 rsNode->SetAiInvert(aiInvert); 6665 EXPECT_NE(aiInvert[0], 0.f);
|