• Home
  • Raw
  • Download

Lines Matching refs:FLAC__BITS_PER_WORD

56 #define FLAC__BITS_PER_WORD 32  macro
72 #define FLAC__BITS_PER_WORD 64 macro
100 static const unsigned FLAC__BITREADER_DEFAULT_CAPACITY = 65536u / FLAC__BITS_PER_WORD; /* in words …
139 for( ; br->crc16_align < FLAC__BITS_PER_WORD; br->crc16_align += 8) in crc16_update_word_()
140 …crc = FLAC__CRC16_UPDATE((unsigned)((word >> (FLAC__BITS_PER_WORD-8-br->crc16_align)) & 0xff), crc… in crc16_update_word_()
305 for(j = 0; j < FLAC__BITS_PER_WORD; j++) in FLAC__bitreader_dump()
309 fprintf(out, "%01u", br->buffer[i] & ((brword)1 << (FLAC__BITS_PER_WORD-j-1)) ? 1:0); in FLAC__bitreader_dump()
345 …br->read_crc16 = FLAC__CRC16_UPDATE((unsigned)((tail >> (FLAC__BITS_PER_WORD-8-br->crc16_align)) &… 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()
371 FLAC__ASSERT((br->capacity*FLAC__BITS_PER_WORD) * 2 >= bits); in FLAC__bitreader_read_raw_uint32()
375 FLAC__ASSERT(FLAC__BITS_PER_WORD >= 32); 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()
390 const unsigned n = FLAC__BITS_PER_WORD - br->consumed_bits; 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()
412 if(bits < FLAC__BITS_PER_WORD) { in FLAC__bitreader_read_raw_uint32()
413 *val = (FLAC__uint32)(word >> (FLAC__BITS_PER_WORD-bits)); in FLAC__bitreader_read_raw_uint32()
433 …>consumed_words] & (FLAC__WORD_ALL_ONES >> br->consumed_bits)) >> (FLAC__BITS_PER_WORD-br->consume… 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()
665 …if(br->consumed_bits >= FLAC__BITS_PER_WORD) { /* faster way of testing if(br->consumed_bits == FL…
673 *val += FLAC__BITS_PER_WORD - br->consumed_bits;
689 …brword b = (br->buffer[br->consumed_words] & (FLAC__WORD_ALL_ONES << (FLAC__BITS_PER_WORD-end))) <…
695 FLAC__ASSERT(br->consumed_bits < FLAC__BITS_PER_WORD);
701 FLAC__ASSERT(br->consumed_bits < FLAC__BITS_PER_WORD);
752 FLAC__ASSERT(FLAC__BITS_PER_WORD >= 32); in FLAC__bitreader_read_rice_signed_block()
782 ucbits = FLAC__BITS_PER_WORD - br->consumed_bits; in FLAC__bitreader_read_rice_signed_block()
788 if(x == FLAC__BITS_PER_WORD) { in FLAC__bitreader_read_rice_signed_block()
798 } while(y == FLAC__BITS_PER_WORD); in FLAC__bitreader_read_rice_signed_block()
802 ucbits = (ucbits - x - 1) % FLAC__BITS_PER_WORD; in FLAC__bitreader_read_rice_signed_block()
806 …x = (FLAC__uint32)(b >> (FLAC__BITS_PER_WORD - parameter)); /* parameter < 32, so we can cast to 3… in FLAC__bitreader_read_rice_signed_block()
816 ucbits += FLAC__BITS_PER_WORD - parameter; in FLAC__bitreader_read_rice_signed_block()
818 b <<= FLAC__BITS_PER_WORD - ucbits; in FLAC__bitreader_read_rice_signed_block()
861 ucbits = FLAC__BITS_PER_WORD - br->consumed_bits; in FLAC__bitreader_read_rice_signed_block()
869 ucbits = FLAC__BITS_PER_WORD; in FLAC__bitreader_read_rice_signed_block()
872 br->consumed_bits = FLAC__BITS_PER_WORD - ucbits; in FLAC__bitreader_read_rice_signed_block()