Lines Matching refs:wptr
63 uint8_t *wptr; member
139 if (f->wptr <= f->rptr && !f->empty) in flac_fifo_size()
140 return (f->wptr - f->buffer) + (f->end - f->rptr); in flac_fifo_size()
141 return f->wptr - f->rptr; in flac_fifo_size()
216 size_t offset_w = f->wptr - f->buffer; in flac_fifo_grow()
244 f->wptr = f->buffer + offset_w; in flac_fifo_grow()
251 uint8_t *wptr; in flac_fifo_write() local
262 wptr = f->wptr; in flac_fifo_write()
264 size_t len = FFMIN(f->end - wptr, size); in flac_fifo_write()
265 memcpy(wptr, src, len); in flac_fifo_write()
267 wptr += len; in flac_fifo_write()
268 if (wptr >= f->end) in flac_fifo_write()
269 wptr = f->buffer; in flac_fifo_write()
273 f->wptr = wptr; in flac_fifo_write()
299 f->wptr = f->buffer; in flac_fifo_alloc()
805 int warp = fpc->fifo_buf.wptr - fpc->fifo_buf.buffer < MAX_FRAME_HEADER_SIZE; in flac_parse()
807 fpc->fifo_buf.wptr -= MAX_FRAME_HEADER_SIZE; in flac_parse()
809 fpc->fifo_buf.wptr += fpc->fifo_buf.end - in flac_parse()