Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/
H A Dgeometry_bezier_arc.cpp156 float coef = sign * Sqrt((sq < 0) ? 0 : sq); in Init() local
163 float cx1 = coef * ((rx * y1) / ry); in Init()
164 float cy1 = coef * -((ry * x1) / rx); in Init()
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/
H A Dcolor_space.cpp338 float coef = -1 / (p.g * p.a * p.b); in ToLinear() local
339 n = n > 1 / p.a ? coef * (std::exp(p.c * (n - p.e)) + p.d) : n * n / -p.g; in ToLinear()
356 float coef = -p.g * p.a * p.b; in ToNonLinear() local
357 n = n > 1 / coef ? std::log(coef * n - p.d) / p.c + p.e : std::sqrt(-p.g * n); in ToNonLinear()
/ohos5.0/base/sensors/sensor/frameworks/native/src/
H A Dsensor_algorithm.cpp132 float coef = 1.0f / RECIPROCAL_COEFFICIENT; in GetAltitude() local
135 float difference = pow(rationOfStandardPressure, coef); in GetAltitude()
/ohos5.0/base/msdp/device_status/services/interaction/drag/include/
H A Ddrag_drawing.h153 Rosen::Vector2f coef; member
167 Rosen::Vector2f coef; member
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp555 double coef = 1.0 / samplingRate; in GetPeakEnvelope() local
557 peakDetection.ampPeakTimes.push_back(peakDetection.ampPeakIdxs[i] * coef); in GetPeakEnvelope()
/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/
H A Dvibration_convert_core.cpp237 … int32_t coef = static_cast<int32_t>(round(static_cast<double>(ENERGY_HOP_LEN) / onsetHopLength)); in MapOnsetHop() local
238 if (coef == 0) { in MapOnsetHop()
243 newIdx.push_back(static_cast<int32_t>(round(static_cast<double>(idx) / coef))); in MapOnsetHop()
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_drawing.cpp1801 filterInfo.coef = { tempCoef1, tempCoef2 }; in ParserBlurInfo()
1865 extraInfo.coef = { tempCoef1, tempCoef2 }; in ParserExtraInfo()
1971 filterNode->SetGreyCoef(filterInfo.coef); in SetCustomDragBlur()
2004 filterNode->SetGreyCoef(extraInfo.coef); in SetComponentDragBlur()
/ohos5.0/base/update/packaging_tools/test/
H A Dsource_vendor_data Error!