Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/utility/
Dring_buffer.c27 size_t write_pos; member
104 self->write_pos = 0; in WebRtc_InitBuffer()
190 const size_t margin = self->element_count - self->write_pos; in WebRtc_WriteBuffer()
194 memcpy(self->data + self->write_pos * self->element_size, in WebRtc_WriteBuffer()
196 self->write_pos = 0; in WebRtc_WriteBuffer()
200 memcpy(self->data + self->write_pos * self->element_size, in WebRtc_WriteBuffer()
203 self->write_pos += n; in WebRtc_WriteBuffer()
257 return self->write_pos - self->read_pos; in WebRtc_available_read()
259 return self->element_count - self->read_pos + self->write_pos; in WebRtc_available_read()
/external/libopus/src/
Danalysis.c151 curr_lookahead = tonal->write_pos-tonal->read_pos; in tonality_get_info()
155 if (len > 480 && pos != tonal->write_pos) in tonality_get_info()
161 if (pos == tonal->write_pos) in tonality_get_info()
245 info = &tonal->info[tonal->write_pos++]; in tonality_analysis()
246 if (tonal->write_pos>=DETECT_SIZE) in tonality_analysis()
247 tonal->write_pos-=DETECT_SIZE; in tonality_analysis()
Danalysis.h75 int write_pos; member