Lines Matching refs:buf_index
274 int buf_index, i, private_stream_coded;
281 buf_index = 12;
290 buf_index += 3;
292 return buf_index;
545 int buf_index;
550 buf_index = 0;
554 buf_index += 14;
556 buf_index += 12;
566 buf_index += 15;
570 buf_index += s->system_header_size;
579 buf_index += s->packet_size - buf_index;
582 buf_index += 6;
584 buf_index += 3;
586 buf_index += 3; /* PES extension */
587 buf_index += 1; /* obligatory stuffing byte */
591 buf_index += 5 + 5;
593 buf_index += 5;
597 buf_index++;
602 buf_index += 4;
605 buf_index += 3;
608 n = (s->packet_size - buf_index) % stream->lpcm_align;
610 buf_index += (stream->lpcm_align - n);
617 buf_index+=20;
619 return s->packet_size - buf_index;