Home
last modified time | relevance | path

Searched refs:SCALE_FACTOR (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dcpu_brightness_algo.cpp31 constexpr uint32_t SCALE_FACTOR = 100; variable
67 float scale = brightness / SCALE_FACTOR; in OnApplyRGBA8888()
115 float scale = brightness / SCALE_FACTOR; in OnApplyYUVNV21()
174 float brightnessScale = brightness / SCALE_FACTOR; in OnApplyYUVNV12()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcpu_contrast_algo.cpp31 constexpr uint32_t SCALE_FACTOR = 100; variable
58 float scale = contrast / SCALE_FACTOR; in OnApplyRGBA8888()
105 float scale = contrast / SCALE_FACTOR; in OnApplyYUVNV21()
162 float scale = contrast / SCALE_FACTOR; in OnApplyYUVNV12()
/ohos5.0/base/hiviewdfx/hiview/base/test/unittest/common/
H A Dsys_event_test.cpp29 constexpr int SCALE_FACTOR = 2; variable
71 ….append(std::to_string((static_cast<double>(std::numeric_limits<int64_t>::min()) * SCALE_FACTOR))); in GetOriginTestString()
73 …append(std::to_string((static_cast<double>(std::numeric_limits<uint64_t>::max()) * SCALE_FACTOR))); in GetOriginTestString()
269 ….append(std::to_string((static_cast<double>(std::numeric_limits<int64_t>::min()) * SCALE_FACTOR)));
271 ….append(std::to_string((static_cast<double>(std::numeric_limits<int64_t>::max()) * SCALE_FACTOR)));
315 …append(std::to_string((static_cast<double>(std::numeric_limits<uint64_t>::min()) * SCALE_FACTOR)));
317 …append(std::to_string((static_cast<double>(std::numeric_limits<uint64_t>::max()) * SCALE_FACTOR)));
523 ASSERT_EQ(dest5[0], (static_cast<double>(std::numeric_limits<int64_t>::min()) * SCALE_FACTOR));
524 ASSERT_EQ(dest5[1], (static_cast<double>(std::numeric_limits<uint64_t>::max()) * SCALE_FACTOR));
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbackup_database_utils.cpp31 const int32_t SCALE_FACTOR = 2; variable
500 if (minWidthHeight >= SCALE_MIN_SIZE * SCALE_FACTOR) { in GetLandmarksScale()
504 minWidthHeight *= SCALE_FACTOR; in GetLandmarksScale()
505 scale *= SCALE_FACTOR; in GetLandmarksScale()