Lines Matching refs:bitstream_size
41 int bitstream_size; member
554 if (!pkt->size && !s->bitstream_size) { in decode_frame()
559 buf_size = FFMIN(pkt->size, s->max_framesize - s->bitstream_size); in decode_frame()
561 if (s->bitstream_index + s->bitstream_size + buf_size > s->max_framesize) { in decode_frame()
562 memmove(s->bitstream, &s->bitstream[s->bitstream_index], s->bitstream_size); in decode_frame()
566 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], pkt->data, buf_size); in decode_frame()
568 buf_size += s->bitstream_size; in decode_frame()
569 s->bitstream_size = buf_size; in decode_frame()
598 s->bitstream_size = 0; in decode_frame()
603 if (s->bitstream_size) { in decode_frame()
605 s->bitstream_size -= n; in decode_frame()
619 s->bitstream_size = 0; in decode_close()