Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/utility/
Dring_buffer.c26 size_t read_pos; member
49 const size_t margin = buf->element_count - buf->read_pos; in GetBufferReadRegions()
54 *data_ptr_1 = buf->data + buf->read_pos * buf->element_size; in GetBufferReadRegions()
59 *data_ptr_1 = buf->data + buf->read_pos * buf->element_size; in GetBufferReadRegions()
103 self->read_pos = 0; in WebRtc_InitBuffer()
222 int read_pos = (int) self->read_pos; in WebRtc_MoveReadPtr() local
231 read_pos += element_count; in WebRtc_MoveReadPtr()
232 if (read_pos > (int) self->element_count) { in WebRtc_MoveReadPtr()
234 read_pos -= (int) self->element_count; in WebRtc_MoveReadPtr()
237 if (read_pos < 0) { in WebRtc_MoveReadPtr()
[all …]
/external/libopus/src/
Danalysis.c150 pos = tonal->read_pos; in tonality_get_info()
151 curr_lookahead = tonal->write_pos-tonal->read_pos; in tonality_get_info()
170 tonal->read_pos++; in tonality_get_info()
172 if (tonal->read_pos>=DETECT_SIZE) in tonality_get_info()
173 tonal->read_pos-=DETECT_SIZE; in tonality_get_info()
Danalysis.h76 int read_pos; member
Dopus_encoder.c994 analysis_read_pos_bak = st->analysis.read_pos; in opus_encode_native()
1345 st->analysis.read_pos = analysis_read_pos_bak; in opus_encode_native()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp1715 FX_FILESIZE read_pos = pos; in GetNextChar() local
1720 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) { in GetNextChar()
1722 read_pos = 0; in GetNextChar()
1725 read_pos = m_FileLen - read_size; in GetNextChar()
1728 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size)) { in GetNextChar()
1731 m_BufOffset = read_pos; in GetNextChar()
1744 FX_FILESIZE read_pos; in GetCharAtBackward() local
1746 read_pos = 0; in GetCharAtBackward()
1748 read_pos = pos - m_BufSize + 1; in GetCharAtBackward()
1751 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) { in GetCharAtBackward()
[all …]