Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dvolume_tools.cpp150 int16_t *raw16 = nullptr; in ProcessOneFrame() local
161 raw16 = reinterpret_cast<int16_t *>(ptr); in ProcessOneFrame()
162 temp = (*raw16 * static_cast<int64_t>(vol)) >> VOLUME_SHIFT; in ProcessOneFrame()
163 *raw16 = temp > INT16_MAX ? INT16_MAX : (temp < INT16_MIN ? INT16_MIN : temp); in ProcessOneFrame()
321 int16_t *raw16 = reinterpret_cast<int16_t *>(buffer.buffer); in CountS16Volume() local
324 volMaps.volStart[channelIdx] += (*raw16 >= 0 ? *raw16: (-*raw16)); in CountS16Volume()
325 raw16++; in CountS16Volume()
327 raw16 += (split - 1) * channel; in CountS16Volume()