Lines Matching refs:parameter
685 FLAC__bool FLAC__bitreader_read_rice_signed(FLAC__BitReader *br, int *val, unsigned parameter) in FLAC__bitreader_read_rice_signed() argument
692 FLAC__ASSERT(parameter <= 31); in FLAC__bitreader_read_rice_signed()
699 if(!FLAC__bitreader_read_raw_uint32(br, &lsbs, parameter)) in FLAC__bitreader_read_rice_signed()
703 uval = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed()
713 …treader_read_rice_signed_block(FLAC__BitReader *br, int vals[], unsigned nvals, unsigned parameter) in FLAC__bitreader_read_rice_signed_block() argument
727 FLAC__ASSERT(parameter < 32); in FLAC__bitreader_read_rice_signed_block()
733 if(parameter == 0) { in FLAC__bitreader_read_rice_signed_block()
745 FLAC__ASSERT(parameter > 0); in FLAC__bitreader_read_rice_signed_block()
780 x = b >> (FLAC__BITS_PER_WORD - parameter); in FLAC__bitreader_read_rice_signed_block()
781 if(parameter <= ucbits) { in FLAC__bitreader_read_rice_signed_block()
782 ucbits -= parameter; in FLAC__bitreader_read_rice_signed_block()
783 b <<= parameter; in FLAC__bitreader_read_rice_signed_block()
790 ucbits += FLAC__BITS_PER_WORD - parameter; in FLAC__bitreader_read_rice_signed_block()
797 x = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed_block()
824 if(!FLAC__bitreader_read_raw_uint32(br, &lsbs, parameter - ucbits)) in FLAC__bitreader_read_rice_signed_block()
829 x = (msbs << parameter) | lsbs; in FLAC__bitreader_read_rice_signed_block()
853 FLAC__bool FLAC__bitreader_read_golomb_signed(FLAC__BitReader *br, int *val, unsigned parameter)
861 k = FLAC__bitmath_ilog2(parameter);
871 if(parameter == 1u<<k) {
876 unsigned d = (1 << (k+1)) - parameter;
885 uval = msbs * parameter + lsbs;
897 …__bool FLAC__bitreader_read_golomb_unsigned(FLAC__BitReader *br, unsigned *val, unsigned parameter)
905 k = FLAC__bitmath_ilog2(parameter);
915 if(parameter == 1u<<k) {
920 unsigned d = (1 << (k+1)) - parameter;
929 *val = msbs * parameter + lsbs;