Lines Matching refs:inbuf
29 uint8_t inbuf[MPA_MAX_CODED_FRAME_SIZE]; /* input buffer */
87 s->inbuf_ptr = s->inbuf;
105 len = s->inbuf_ptr - s->inbuf;
110 AV_WB32(s->inbuf, s->free_format_next_header);
111 s->inbuf_ptr = s->inbuf + 4;
124 if ((s->inbuf_ptr - s->inbuf) >= MPA_HEADER_SIZE) {
126 header = AV_RB32(s->inbuf);
132 memmove(s->inbuf, s->inbuf + 1, s->inbuf_ptr - s->inbuf - 1);
169 memmove(s->inbuf, s->inbuf + 1, s->inbuf_ptr - s->inbuf - 1);
182 header1 = AV_RB32(s->inbuf);
194 s->free_format_frame_size = s->inbuf_ptr - s->inbuf;
224 if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf
231 s->inbuf_ptr = s->inbuf;
238 (s->inbuf_ptr - s->inbuf) >= s->frame_size) {
240 *poutbuf = s->inbuf;
241 *poutbuf_size = s->inbuf_ptr - s->inbuf;
243 s->inbuf_ptr = s->inbuf;