Lines Matching refs:interleaved
83 // Deinterleave audio from |interleaved| to the channel buffers pointed to
88 void Deinterleave(const T* interleaved,
96 channel[j] = interleaved[interleaved_idx];
103 // |interleaved|. There must be sufficient space allocated in |interleaved|
109 T* interleaved) {
114 interleaved[interleaved_idx] = channel[j];
121 // channel of |interleaved|. There must be sufficient space allocated in
122 // |interleaved| (|samples_per_channel| * |num_channels|).
127 T* interleaved) {
131 interleaved[interleaved_idx++] = mono[i];
150 // Downmixes an interleaved multichannel signal to a single channel by averaging
153 void DownmixInterleavedToMonoImpl(const T* interleaved,
160 const T* const end = interleaved + num_frames * num_channels;
162 while (interleaved < end) {
163 const T* const frame_end = interleaved + num_channels;
165 Intermediate value = *interleaved++;
166 while (interleaved < frame_end) {
167 value += *interleaved++;
175 void DownmixInterleavedToMono(const T* interleaved,
181 void DownmixInterleavedToMono<int16_t>(const int16_t* interleaved,