Lines Matching refs:bps
148 FLAC__bool grabbag__replaygain_analyze(const FLAC__int32 * const input[], FLAC__bool is_stereo, unsigned bps, unsigned samples)
156 FLAC__ASSERT(bps >= 4 && bps <= FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE);
160 * If the reference codec ever handles 32bps we will have to write a special
165 if(bps == 16) {
202 else { /* bps must be < 32 according to above assertion */
204 (bps > 16)?
205 (double)1. / (double)(1u << (bps - 16)) :
206 (double)(1u << (16 - bps))
247 const double peak_scale = (double)(1u << (bps - 1));