Lines Matching refs:FLAC__BITS_PER_WORD
55 #define FLAC__BITS_PER_WORD 32 macro
67 #define FLAC__BITS_PER_WORD 64 macro
87 #define FLAC__WORDS_TO_BITS(words) ((words) * FLAC__BITS_PER_WORD)
111 …ew_capacity = bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WOR… in bitwriter_grow_()
125 …w_capacity >= bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WOR… in bitwriter_grow_()
203 for(j = 0; j < FLAC__BITS_PER_WORD; j++) in FLAC__bitwriter_dump()
204 fprintf(out, "%01u", bw->buffer[i] & ((bwword)1 << (FLAC__BITS_PER_WORD-j-1)) ? 1:0); in FLAC__bitwriter_dump()
265 if(bw->words == bw->capacity && !bitwriter_grow_(bw, FLAC__BITS_PER_WORD)) in FLAC__bitwriter_get_buffer()
268 bw->buffer[bw->words] = SWAP_BE_WORD_TO_HOST(bw->accum << (FLAC__BITS_PER_WORD-bw->bits)); in FLAC__bitwriter_get_buffer()
298 n = flac_min(FLAC__BITS_PER_WORD - bw->bits, bits); in FLAC__bitwriter_write_zeroes()
302 if(bw->bits == FLAC__BITS_PER_WORD) { in FLAC__bitwriter_write_zeroes()
310 while(bits >= FLAC__BITS_PER_WORD) { in FLAC__bitwriter_write_zeroes()
312 bits -= FLAC__BITS_PER_WORD; in FLAC__bitwriter_write_zeroes()
327 FLAC__ASSERT(FLAC__BITS_PER_WORD >= 32); in FLAC__bitwriter_write_raw_uint32_nocheck()
344 left = FLAC__BITS_PER_WORD - bw->bits; in FLAC__bitwriter_write_raw_uint32_nocheck()
551 FLAC__ASSERT(FLAC__BITS_PER_WORD >= 32); in FLAC__bitwriter_write_rice_signed_block()
562 …if(bw->bits && bw->bits + total_bits < FLAC__BITS_PER_WORD) { /* i.e. if the whole thing fits in t… in FLAC__bitwriter_write_rice_signed_block()
579 left = FLAC__BITS_PER_WORD - bw->bits; in FLAC__bitwriter_write_rice_signed_block()
593 while(msbits >= FLAC__BITS_PER_WORD) { in FLAC__bitwriter_write_rice_signed_block()
595 msbits -= FLAC__BITS_PER_WORD; in FLAC__bitwriter_write_rice_signed_block()
607 left = FLAC__BITS_PER_WORD - bw->bits; in FLAC__bitwriter_write_rice_signed_block()
619 FLAC__ASSERT(left < FLAC__BITS_PER_WORD); in FLAC__bitwriter_write_rice_signed_block()