Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dvolume_tools.cpp151 int32_t *raw32 = nullptr; in ProcessOneFrame() local
170 raw32 = reinterpret_cast<int32_t *>(ptr); in ProcessOneFrame()
172 temp = (*raw32 * static_cast<int64_t>(vol)) >> VOLUME_SHIFT; in ProcessOneFrame()
412 int32_t *raw32 = reinterpret_cast<int32_t *>(buffer.buffer); in CountS32Volume() local
415 uint32_t sampleAbs = static_cast<uint32_t>(*raw32 >= 0 ? *raw32: (-*raw32)) >> in CountS32Volume()
418 raw32++; in CountS32Volume()
420 raw32 += (split - 1) * channel; in CountS32Volume()
460 float *raw32 = reinterpret_cast<float *>(buffer.buffer); in CountF32Volume() local
463 volSums[channelIdx] += (*raw32 >= 0 ? *raw32: (-*raw32)); in CountF32Volume()
464 raw32++; in CountF32Volume()
[all …]