Lines Matching refs:consumed_words
109 unsigned consumed_words; /* #words ... */ member
153 if(br->consumed_words > 0) { in bitreader_read_from_client_()
154 start = br->consumed_words; in bitreader_read_from_client_()
159 br->consumed_words = 0; in bitreader_read_from_client_()
262 br->consumed_words = br->consumed_bits = 0; in FLAC__bitreader_init()
282 br->consumed_words = br->consumed_bits = 0; in FLAC__bitreader_free()
290 br->consumed_words = br->consumed_bits = 0; in FLAC__bitreader_clear()
301 …sumed: words=%u, bits=%u\n", br->capacity, br->words, br->bytes, br->consumed_words, br->consumed_… in FLAC__bitreader_dump()
306 if(i < br->consumed_words || (i == br->consumed_words && j < br->consumed_bits)) in FLAC__bitreader_dump()
315 if(i < br->consumed_words || (i == br->consumed_words && j < br->consumed_bits)) in FLAC__bitreader_dump()
343 const brword tail = br->buffer[br->consumed_words]; in FLAC__bitreader_get_read_crc16()
362 return (br->words-br->consumed_words)*FLAC__BITS_PER_WORD + br->bytes*8 - br->consumed_bits; in FLAC__bitreader_get_input_bits_unconsumed()
372 FLAC__ASSERT(br->consumed_words <= br->words); in FLAC__bitreader_read_raw_uint32()
382 …while((br->words-br->consumed_words)*FLAC__BITS_PER_WORD + br->bytes*8 - br->consumed_bits < bits)… in FLAC__bitreader_read_raw_uint32()
386 if(br->consumed_words < br->words) { /* if we've not consumed up to a partial tail word... */ in FLAC__bitreader_read_raw_uint32()
391 const brword word = br->buffer[br->consumed_words]; in FLAC__bitreader_read_raw_uint32()
401 br->consumed_words++; in FLAC__bitreader_read_raw_uint32()
405 *val |= (FLAC__uint32)(br->buffer[br->consumed_words] >> (FLAC__BITS_PER_WORD-bits)); in FLAC__bitreader_read_raw_uint32()
411 const brword word = br->buffer[br->consumed_words]; in FLAC__bitreader_read_raw_uint32()
420 br->consumed_words++; in FLAC__bitreader_read_raw_uint32()
433 …*val = (FLAC__uint32)((br->buffer[br->consumed_words] & (FLAC__WORD_ALL_ONES >> br->consumed_bits)… in FLAC__bitreader_read_raw_uint32()
438 *val = (FLAC__uint32)(br->buffer[br->consumed_words] >> (FLAC__BITS_PER_WORD-bits)); in FLAC__bitreader_read_raw_uint32()
557 if(br->consumed_words < br->words) { in FLAC__bitreader_skip_byte_block_aligned_no_crc()
558 br->consumed_words++; in FLAC__bitreader_skip_byte_block_aligned_no_crc()
593 if(br->consumed_words < br->words) { in FLAC__bitreader_read_byte_block_aligned_no_crc()
594 const brword word = br->buffer[br->consumed_words++]; in FLAC__bitreader_read_byte_block_aligned_no_crc()
658 while(br->consumed_words < br->words) { /* if we've not consumed up to a partial tail word... */
659 brword b = br->buffer[br->consumed_words] << br->consumed_bits;
666 crc16_update_word_(br, br->buffer[br->consumed_words]);
667 br->consumed_words++;
674 crc16_update_word_(br, br->buffer[br->consumed_words]);
675 br->consumed_words++;
689 …brword b = (br->buffer[br->consumed_words] & (FLAC__WORD_ALL_ONES << (FLAC__BITS_PER_WORD-end))) <…
773 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
834 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
846 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
859 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
873 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()