Searched refs:aiInvertCoef (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_aibar_shader_filter.cpp | 35 const auto& aiInvertCoef = RSSystemProperties::GetAiInvertCoef(); in GetAiInvertCoef() local 36 if (!IsAiInvertCoefValid(aiInvertCoef)) { in GetAiInvertCoef() 40 return aiInvertCoef; in GetAiInvertCoef() 57 bool RSAIBarShaderFilter::IsAiInvertCoefValid(const std::vector<float>& aiInvertCoef) in IsAiInvertCoefValid() argument 59 return ROSEN_LNE(aiInvertCoef[0], aiInvertCoef[1]) && in IsAiInvertCoefValid() 60 … ROSEN_GE(aiInvertCoef[0], 0.0) && ROSEN_LE(aiInvertCoef[0], 1.0) && // aiInvertCoef[0] is low in IsAiInvertCoefValid() 61 … ROSEN_GE(aiInvertCoef[1], 0.0) && ROSEN_LE(aiInvertCoef[1], 1.0) && // aiInvertCoef[1] is high in IsAiInvertCoefValid() 62 …ROSEN_GE(aiInvertCoef[2], 0.0) && ROSEN_LE(aiInvertCoef[2], 1.0) && // aiInvertCoef[2] is threshold in IsAiInvertCoefValid() 63 … ROSEN_GE(aiInvertCoef[3], 0.0) && ROSEN_LE(aiInvertCoef[3], 1.0) && // aiInvertCoef[3] is opacity in IsAiInvertCoefValid() 64 …ROSEN_GE(aiInvertCoef[4], 0.0) && ROSEN_LE(aiInvertCoef[4], 2.0) && // aiInvertCoef[4] is saturati… in IsAiInvertCoefValid() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_system_properties.cpp | 670 static std::vector<float> aiInvertCoef = {0.0, 1.0, 0.55, 0.4, 1.6, 45.0}; in GetAiInvertCoef() local 675 aiInvertCoef[0] = in GetAiInvertCoef() 678 aiInvertCoef[1] = in GetAiInvertCoef() 681 aiInvertCoef[2] = in GetAiInvertCoef() 684 aiInvertCoef[3] = in GetAiInvertCoef() 687 aiInvertCoef[4] = in GetAiInvertCoef() 690 aiInvertCoef[5] = in GetAiInvertCoef() 693 return aiInvertCoef; in GetAiInvertCoef()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/ |
H A D | rs_system_properties.cpp | 354 std::vector<float> aiInvertCoef = {0.0, 1.0, 0.55, 0.4, 1.6, 45.0}; in GetAiInvertCoef() local 355 return aiInvertCoef; in GetAiInvertCoef()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/ |
H A D | rs_system_properties.cpp | 353 std::vector<float> aiInvertCoef = {0.0, 1.0, 0.55, 0.4, 1.6, 45.0}; in GetAiInvertCoef() local 354 return aiInvertCoef; in GetAiInvertCoef()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_aibar_shader_filter.h | 31 static bool IsAiInvertCoefValid(const std::vector<float>& aiInvertCoef);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties.cpp | 3049 std::vector<float> aiInvertCoef = RSAIBarShaderFilter::GetAiInvertCoef(); in GenerateAIBarFilter() local 3050 float aiBarRadius = aiInvertCoef[5]; // aiInvertCoef[5] is filter_radius in GenerateAIBarFilter()
|