Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:uval

434 	FLAC__uint32 uval;
439 uval = val;
440 uval <<= 1;
441 uval ^= (val>>31);
443 return 1 + parameter + (uval >> parameter);
449 unsigned bits, msbs, uval;
456 uval = (unsigned)(((-(++val)) << 1) + 1);
458 uval = (unsigned)(val << 1);
464 msbs = uval >> k;
471 q = uval / parameter;
472 r = uval - (q * parameter);
481 unsigned FLAC__bitwriter_golomb_bits_unsigned(unsigned uval, unsigned parameter)
492 msbs = uval >> k;
499 q = uval / parameter;
500 r = uval - (q * parameter);
513 FLAC__uint32 uval, pattern;
520 uval = val;
521 uval <<= 1;
522 uval ^= (val>>31);
524 msbs = uval >> parameter;
528 pattern |= (uval & ((1<<parameter)-1)); /* the binary LSBs */
542 FLAC__uint32 uval;
555 uval = *vals;
556 uval <<= 1;
557 uval ^= (*vals>>31);
559 msbits = uval >> parameter;
565 uval |= mask1; /* set stop bit */
566 uval &= mask2; /* mask off unused top bits */
568 bw->accum |= uval;
604 uval |= mask1; /* set stop bit */
605 uval &= mask2; /* mask off unused top bits */
610 bw->accum |= uval;
621 bw->accum |= uval >> (bw->bits = lsbits - left);
623 bw->accum = uval; /* unused top bits can contain garbage */
635 unsigned total_bits, msbs, uval;
644 uval = (unsigned)(((-(++val)) << 1) + 1);
646 uval = (unsigned)(val << 1);
654 msbs = uval >> k;
657 pattern |= (uval & ((1u<<k)-1)); /* the binary LSBs */
676 q = uval / parameter;
677 r = uval - (q * parameter);
697 FLAC__bool FLAC__bitwriter_write_golomb_unsigned(FLAC__BitWriter *bw, unsigned uval, unsigned parameter)
712 msbs = uval >> k;
715 pattern |= (uval & ((1u<<k)-1)); /* the binary LSBs */
734 q = uval / parameter;
735 r = uval - (q * parameter);