Home
last modified time | relevance | path

Searched refs:eps (Results 1 - 12 of 12) sorted by relevance

/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_triangle.cpp98 edge.eps += edge.dPoint.y; in StepToNextPointOnEdge()
99 if ((edge.eps << 1) >= edge.dPoint.x) { in StepToNextPointOnEdge()
101 edge.eps -= edge.dPoint.x; in StepToNextPointOnEdge()
105 edge.eps += edge.dPoint.x; in StepToNextPointOnEdge()
106 if ((edge.eps << 1) >= edge.dPoint.y) { in StepToNextPointOnEdge()
108 edge.eps -= edge.dPoint.y; in StepToNextPointOnEdge()
121 edge.eps = 0; in InitEdge()
H A Ddraw_triangle.h33 int16_t eps; member
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dcpu_brightness_algo.cpp60 float eps = ESP; in OnApplyRGBA8888() local
61 if (fabs(brightness) < eps) { in OnApplyRGBA8888()
73 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyRGBA8888()
109 float eps = ESP; in OnApplyYUVNV21() local
110 if (fabs(brightness) < eps) { in OnApplyYUVNV21()
122 float current = CommonUtils::Clip(1.f - (float)(idx) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV21()
169 float eps = ESP; in OnApplyYUVNV12() local
170 if (fabs(brightness) < eps) { in OnApplyYUVNV12()
182 float current = CommonUtils::Clip(1.f - (float)(i) / UNSIGHED_CHAR_MAX, 0, 1) + eps; in OnApplyYUVNV12()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcpu_contrast_algo.cpp51 float eps = ESP; in OnApplyRGBA8888() local
52 if (fabs(contrast) < eps) { in OnApplyRGBA8888()
99 float eps = ESP; in OnApplyYUVNV21() local
100 if (fabs(contrast) < eps) { in OnApplyYUVNV21()
157 float eps = ESP; in OnApplyYUVNV12() local
158 if (fabs(contrast) < eps) { in OnApplyYUVNV12()
/foundation/window/window_manager/utils/include/
H A Dwm_math.h46 static constexpr double eps = -0.001f; in LessNotEqual() local
47 return (left - right) < eps; in LessNotEqual()
52 static constexpr double eps = 0.001f; in GreatNotEqual() local
53 return (left - right) > eps; in GreatNotEqual()
/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_csync.cpp598 constexpr auto eps = 3ms; in WaitUntilTimeoutTest() local
616 ffrt::this_task::sleep_for(30ms + eps); in WaitUntilTimeoutTest()
628 constexpr auto eps = 3ms; in WaitUtilFlagTest_1() local
646 ffrt::this_task::sleep_for(30ms + eps); in WaitUtilFlagTest_1()
686 constexpr auto eps = 3ms; in WaitForTest_1() local
702 ffrt::this_task::sleep_for(30ms + eps); in WaitForTest_1()
738 constexpr auto eps = 3ms; in WaitForTest_3() local
755 ffrt::this_task::sleep_for(30ms + eps); in WaitForTest_3()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image.cpp473 float eps = 0.01; // set epsilon in CalcRepeatBounds() local
475 while (dstRect_.left_ + minX * dstRect_.width_ > left + eps) { in CalcRepeatBounds()
478 while (dstRect_.left_ + maxX * dstRect_.width_ < right - eps) { in CalcRepeatBounds()
483 while (dstRect_.top_ + minY * dstRect_.height_ > top + eps) { in CalcRepeatBounds()
486 while (dstRect_.top_ + maxY * dstRect_.height_ < bottom - eps) { in CalcRepeatBounds()
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_tone_player/
H A Dsystem_tone_player_impl.cpp574 static float eps = 1e-5; in IsValidVolume() local
580 if (scale > maxVal && abs(scale - maxVal) < eps) { in IsValidVolume()
584 if (scale < minVal && abs(scale - minVal) < eps) { in IsValidVolume()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/
H A Dhdr_helper.cpp505 const float eps = 1e-5; in ConvertExtendInfoMain() local
507 metadata.metaISO.enhanceClippedThreholdMaxGainmap[INDEX_ONE]) < eps) && in ConvertExtendInfoMain()
509 metadata.metaISO.enhanceClippedThreholdMaxGainmap[INDEX_TWO]) < eps) && in ConvertExtendInfoMain()
511 metadata.metaISO.enhanceClippedThreholdMinGainmap[INDEX_ONE]) < eps) && in ConvertExtendInfoMain()
513 metadata.metaISO.enhanceClippedThreholdMinGainmap[INDEX_TWO]) < eps)) { in ConvertExtendInfoMain()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/
H A Ddash_mpd_parser.cpp219 const double eps = 1e-8; // Limiting the Error Range in GetAdaptationSetAttr() local
220 if (fabs(dValue) > eps) { in GetAdaptationSetAttr()
/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp2603 constexpr float eps = 1e-6f; in SetGrayScale() local
2604 if (grayScale < (MIN_GRAY_SCALE - eps) || grayScale > (MAX_GRAY_SCALE + eps)) { in SetGrayScale()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window.cpp6556 constexpr double eps = 1e-6; in OnSetWindowGrayScale() local
6557 if (grayScale < (MIN_GRAY_SCALE - eps) || grayScale > (MAX_GRAY_SCALE + eps)) { in OnSetWindowGrayScale()

Completed in 32 milliseconds