Home
last modified time | relevance | path

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

/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/
A Dringbuf.c46 r->base = r->readptr = r->writeptr = buf; in rb_init()
120 if ((rb->readptr + read_size) > (rb->base + rb->size)) { in rb_read()
121 int rlen1 = rb->base + rb->size - rb->readptr; in rb_read()
124 memcpy(buf, rb->readptr, rlen1); in rb_read()
127 rb->readptr = rb->base + rlen2; in rb_read()
130 memcpy(buf, rb->readptr, read_size); in rb_read()
132 rb->readptr = rb->readptr + read_size; in rb_read()
262 rb->readptr = rb->writeptr = rb->base; in _rb_reset()
352 rb->fill_cnt, rb->base, rb->readptr, rb->writeptr, rb->size); in rb_stat()
A Dringbuf.h38 uint8_t* volatile readptr; /**< Read pointer */ member
/AliOS-Things-master/components/uvoice/codec/
A Damr_decoder.c54 const uint8_t *readptr = buffer; in amr_decoder_process() local
85 readptr += strlen(AMR_MAGIC_NUMBER); in amr_decoder_process()
106 frame_header = readptr[0]; in amr_decoder_process()
117 Decoder_Interface_Decode(amr->amrdec, readptr, out_buffer, 0); in amr_decoder_process()
128 readptr += frame_size + 1; in amr_decoder_process()
A Damrwb_decoder.c55 const uint8_t *readptr = buffer; in amrwb_decoder_process() local
83 readptr += strlen(AMRWB_MAGIC_NUMBER); in amrwb_decoder_process()
105 frame_header = readptr[0]; in amrwb_decoder_process()
120 D_IF_decode(amrwb->amrwbdec, readptr, out_buffer, _good_frame); in amrwb_decoder_process()
131 readptr += frame_size + 1; in amrwb_decoder_process()

Completed in 6 milliseconds