Lines Matching refs:consumed_words
84 unsigned consumed_words; /* #words ... */ member
128 if(br->consumed_words > 0) { in bitreader_read_from_client_()
129 start = br->consumed_words; in bitreader_read_from_client_()
134 br->consumed_words = 0; in bitreader_read_from_client_()
237 br->consumed_words = br->consumed_bits = 0; in FLAC__bitreader_init()
257 br->consumed_words = br->consumed_bits = 0; in FLAC__bitreader_free()
265 br->consumed_words = br->consumed_bits = 0; in FLAC__bitreader_clear()
276 …sumed: words=%u, bits=%u\n", br->capacity, br->words, br->bytes, br->consumed_words, br->consumed_… in FLAC__bitreader_dump()
281 if(i < br->consumed_words || (i == br->consumed_words && j < br->consumed_bits)) in FLAC__bitreader_dump()
290 if(i < br->consumed_words || (i == br->consumed_words && j < br->consumed_bits)) in FLAC__bitreader_dump()
318 const uint32_t tail = br->buffer[br->consumed_words]; in FLAC__bitreader_get_read_crc16()
337 return (br->words-br->consumed_words)*FLAC__BITS_PER_WORD + br->bytes*8 - br->consumed_bits; in FLAC__bitreader_get_input_bits_unconsumed()
347 FLAC__ASSERT(br->consumed_words <= br->words); in FLAC__bitreader_read_raw_uint32()
357 …while((br->words-br->consumed_words)*FLAC__BITS_PER_WORD + br->bytes*8 - br->consumed_bits < bits)… in FLAC__bitreader_read_raw_uint32()
361 if(br->consumed_words < br->words) { /* if we've not consumed up to a partial tail word... */ in FLAC__bitreader_read_raw_uint32()
366 const uint32_t word = br->buffer[br->consumed_words]; in FLAC__bitreader_read_raw_uint32()
375 br->consumed_words++; in FLAC__bitreader_read_raw_uint32()
379 *val |= (br->buffer[br->consumed_words] >> (FLAC__BITS_PER_WORD-bits)); in FLAC__bitreader_read_raw_uint32()
385 const uint32_t word = br->buffer[br->consumed_words]; in FLAC__bitreader_read_raw_uint32()
394 br->consumed_words++; in FLAC__bitreader_read_raw_uint32()
407 …*val = (br->buffer[br->consumed_words] & (FLAC__WORD_ALL_ONES >> br->consumed_bits)) >> (FLAC__BIT… in FLAC__bitreader_read_raw_uint32()
412 *val = br->buffer[br->consumed_words] >> (FLAC__BITS_PER_WORD-bits); in FLAC__bitreader_read_raw_uint32()
531 if(br->consumed_words < br->words) { in FLAC__bitreader_skip_byte_block_aligned_no_crc()
532 br->consumed_words++; in FLAC__bitreader_skip_byte_block_aligned_no_crc()
567 if(br->consumed_words < br->words) { in FLAC__bitreader_read_byte_block_aligned_no_crc()
568 const uint32_t word = br->buffer[br->consumed_words++]; in FLAC__bitreader_read_byte_block_aligned_no_crc()
632 while(br->consumed_words < br->words) { /* if we've not consumed up to a partial tail word... */
633 uint32_t b = br->buffer[br->consumed_words] << br->consumed_bits;
640 crc16_update_word_(br, br->buffer[br->consumed_words]);
641 br->consumed_words++;
648 crc16_update_word_(br, br->buffer[br->consumed_words]);
649 br->consumed_words++;
663 …uint32_t b = (br->buffer[br->consumed_words] & (FLAC__WORD_ALL_ONES << (FLAC__BITS_PER_WORD-end)))…
747 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
808 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
820 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()
833 cwords = br->consumed_words; in FLAC__bitreader_read_rice_signed_block()
847 br->consumed_words = cwords; in FLAC__bitreader_read_rice_signed_block()