Home
last modified time | relevance | path

Searched refs:lsbits (Results 1 – 1 of 1) sorted by relevance

/external/flac/libFLAC/
Dbitwriter.c512 const unsigned lsbits = 1 + parameter; in FLAC__bitwriter_write_rice_signed_block() local
527 …if(bw->bits && bw->bits + msbits + lsbits < FLAC__BITS_PER_WORD) { /* i.e. if the whole thing fits… in FLAC__bitwriter_write_rice_signed_block()
529 bw->bits = bw->bits + msbits + lsbits; in FLAC__bitwriter_write_rice_signed_block()
532 bw->accum <<= msbits + lsbits; in FLAC__bitwriter_write_rice_signed_block()
538 … + bw->bits + msbits + 1/*lsbits always fit in 1 uint32_t*/ && !bitwriter_grow_(bw, msbits+lsbits)) in FLAC__bitwriter_write_rice_signed_block()
573 if(lsbits < left) { in FLAC__bitwriter_write_rice_signed_block()
574 bw->accum <<= lsbits; in FLAC__bitwriter_write_rice_signed_block()
576 bw->bits += lsbits; in FLAC__bitwriter_write_rice_signed_block()
586 bw->accum |= uval >> (bw->bits = lsbits - left); in FLAC__bitwriter_write_rice_signed_block()