Home
last modified time | relevance | path

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

/external/flac/libFLAC/
Dbitreader.c687 FLAC__uint32 lsbs = 0, msbs = 0; in FLAC__bitreader_read_rice_signed() local
695 if(!FLAC__bitreader_read_unary_unsigned(br, &msbs)) in FLAC__bitreader_read_rice_signed()
703 uval = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed()
718 unsigned cwords, words, lsbs, msbs, x, y; in FLAC__bitreader_read_rice_signed_block() local
736 if(!FLAC__bitreader_read_unary_unsigned(br, &msbs)) in FLAC__bitreader_read_rice_signed_block()
739 *val++ = (int)(msbs >> 1) ^ -(int)(msbs & 1); in FLAC__bitreader_read_rice_signed_block()
777 msbs = x; in FLAC__bitreader_read_rice_signed_block()
797 x = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed_block()
812 if(!FLAC__bitreader_read_unary_unsigned(br, &msbs)) in FLAC__bitreader_read_rice_signed_block()
814 msbs += x; in FLAC__bitreader_read_rice_signed_block()
[all …]
Dbitwriter.c419 unsigned bits, msbs, uval;
434 msbs = uval >> k;
435 bits = 1 + k + msbs;
453 unsigned bits, msbs;
462 msbs = uval >> k;
463 bits = 1 + k + msbs;
482 unsigned total_bits, interesting_bits, msbs; in FLAC__bitwriter_write_rice_signed() local
492 msbs = uval >> parameter; in FLAC__bitwriter_write_rice_signed()
494 total_bits = interesting_bits + msbs; in FLAC__bitwriter_write_rice_signed()
502 FLAC__bitwriter_write_zeroes(bw, msbs) && /* write the unary MSBs */ in FLAC__bitwriter_write_rice_signed()
[all …]