Lines Matching refs:bitstream_size
44 int bitstream_size; member
564 if (!pkt->size && !s->bitstream_size) { in decode_frame()
569 buf_size = FFMIN(pkt->size, s->max_framesize - s->bitstream_size); in decode_frame()
571 if (s->bitstream_index + s->bitstream_size + buf_size > s->max_framesize) { in decode_frame()
572 memmove(s->bitstream, &s->bitstream[s->bitstream_index], s->bitstream_size); in decode_frame()
576 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], pkt->data, buf_size); in decode_frame()
578 buf_size += s->bitstream_size; in decode_frame()
579 s->bitstream_size = buf_size; in decode_frame()
609 s->bitstream_size = 0; in decode_frame()
614 if (s->bitstream_size > 0) { in decode_frame()
616 s->bitstream_size -= FFMIN(s->bitstream_size, n); in decode_frame()
630 s->bitstream_size = 0; in decode_close()