Lines Matching refs:bps
56 int curr_bps; ///< bps for current subframe, adjusted for channel correlation and wasted bits
113 if (s->bps > 16)
132 av_log(avctx, AV_LOG_DEBUG, " Bits: %d\n", s->bps);
166 s->bps = get_bits(&gb, 5) + 1;
170 avctx->bits_per_raw_sample = s->bps;
368 if (s->bps > 16) {
409 s->curr_bps = s->bps;
491 if (!s->bps && !fi.bps) {
492 av_log(s->avctx, AV_LOG_ERROR, "bps not found in STREAMINFO or frame header\n");
495 if (!fi.bps) {
496 fi.bps = s->bps;
497 } else if (s->bps && fi.bps != s->bps) {
498 av_log(s->avctx, AV_LOG_ERROR, "switching bps mid-stream is not "
502 s->bps = s->avctx->bits_per_raw_sample = fi.bps;
504 if (s->bps > 16) {
506 s->sample_shift = 32 - s->bps;
510 s->sample_shift = 16 - s->bps;