Lines Matching refs:parameter
683 FLAC__bool FLAC__bitreader_read_rice_signed(FLAC__BitReader *br, int *val, unsigned parameter) in FLAC__bitreader_read_rice_signed() argument
690 FLAC__ASSERT(parameter <= 31); in FLAC__bitreader_read_rice_signed()
697 if(!FLAC__bitreader_read_raw_uint32(br, &lsbs, parameter)) in FLAC__bitreader_read_rice_signed()
701 uval = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed()
711 …treader_read_rice_signed_block(FLAC__BitReader *br, int vals[], unsigned nvals, unsigned parameter) in FLAC__bitreader_read_rice_signed_block() argument
725 FLAC__ASSERT(parameter < 32); in FLAC__bitreader_read_rice_signed_block()
731 if(parameter == 0) { in FLAC__bitreader_read_rice_signed_block()
743 FLAC__ASSERT(parameter > 0); in FLAC__bitreader_read_rice_signed_block()
778 x = b >> (FLAC__BITS_PER_WORD - parameter); in FLAC__bitreader_read_rice_signed_block()
779 if(parameter <= ucbits) { in FLAC__bitreader_read_rice_signed_block()
780 ucbits -= parameter; in FLAC__bitreader_read_rice_signed_block()
781 b <<= parameter; in FLAC__bitreader_read_rice_signed_block()
788 ucbits += FLAC__BITS_PER_WORD - parameter; in FLAC__bitreader_read_rice_signed_block()
795 x = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed_block()
822 if(!FLAC__bitreader_read_raw_uint32(br, &lsbs, parameter - ucbits)) in FLAC__bitreader_read_rice_signed_block()
827 x = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed_block()
851 FLAC__bool FLAC__bitreader_read_golomb_signed(FLAC__BitReader *br, int *val, unsigned parameter)
859 k = FLAC__bitmath_ilog2(parameter);
869 if(parameter == 1u<<k) {
874 unsigned d = (1 << (k+1)) - parameter;
883 uval = msbs * parameter + lsbs;
895 …__bool FLAC__bitreader_read_golomb_unsigned(FLAC__BitReader *br, unsigned *val, unsigned parameter)
903 k = FLAC__bitmath_ilog2(parameter);
913 if(parameter == 1u<<k) {
918 unsigned d = (1 << (k+1)) - parameter;
927 *val = msbs * parameter + lsbs;