Home
last modified time | relevance | path

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

/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/
H A Dvibration_convert_core.cpp860 std::vector<double> onsetTimes; in OutputTransientEvents() local
862 onsetTimes.push_back(unionTransientEvents[i].onsetTime); in OutputTransientEvents()
864 …OutputTransientEventsByInsertTime(onsetTimes, intensityData, freqNorm, transientIndex, transientEv… in OutputTransientEvents()
874 void VibrationConvertCore::OutputTransientEventsByInsertTime(const std::vector<double> &onsetTimes, in OutputTransientEventsByInsertTime() argument
879 for (size_t i = 0; i < onsetTimes.size(); ++i) { in OutputTransientEventsByInsertTime()
883 if ((onsetTimes[i] >= intensityData[j].rmseTimeNorm) && in OutputTransientEventsByInsertTime()
884 (onsetTimes[i] < (intensityData[j].rmseTimeNorm + rmsTimePerFrame))) { in OutputTransientEventsByInsertTime()
903 … double onsetTimeNorm = static_cast<double>(round(SAMPLE_IN_MS * onsetTimes[i]) / SAMPLE_IN_MS); in OutputTransientEventsByInsertTime()