• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/

Lines Matching refs:bps

120 static FLAC__bool read_subframe_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode);
121 static FLAC__bool read_subframe_constant_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode);
122 static FLAC__bool read_subframe_fixed_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, const unsigned order, FLAC__bool do_full_decode);
123 static FLAC__bool read_subframe_lpc_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, const unsigned order, FLAC__bool do_full_decode);
124 static FLAC__bool read_subframe_verbatim_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode);
2021 unsigned bps = decoder->private_->frame.header.bits_per_sample;
2029 bps++;
2034 bps++;
2039 bps++;
2047 if(!read_subframe_(decoder, channel, bps, do_full_decode))
2449 FLAC__bool read_subframe_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode)
2466 bps -= decoder->private_->frame.subframes[channel].wasted_bits;
2480 if(!read_subframe_constant_(decoder, channel, bps, do_full_decode))
2484 if(!read_subframe_verbatim_(decoder, channel, bps, do_full_decode))
2493 if(!read_subframe_fixed_(decoder, channel, bps, (x>>1)&7, do_full_decode))
2504 if(!read_subframe_lpc_(decoder, channel, bps, ((x>>1)&31)+1, do_full_decode))
2519 FLAC__bool read_subframe_constant_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode)
2528 if(!FLAC__bitreader_read_raw_int32(decoder->private_->input, &x, bps))
2542 FLAC__bool read_subframe_fixed_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, const unsigned order, FLAC__bool do_full_decode)
2556 if(!FLAC__bitreader_read_raw_int32(decoder->private_->input, &i32, bps))
2599 FLAC__bool read_subframe_lpc_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, const unsigned order, FLAC__bool do_full_decode)
2613 if(!FLAC__bitreader_read_raw_int32(decoder->private_->input, &i32, bps))
2673 if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1) << 32) )
2675 if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32)
2676 if(bps <= 16 && subframe->qlp_coeff_precision <= 16) {
2691 FLAC__bool read_subframe_verbatim_(FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode)
2702 if(!FLAC__bitreader_read_raw_int32(decoder->private_->input, &x, bps))
2986 unsigned bps = FLAC__stream_decoder_get_bits_per_sample(decoder);
2992 if(bps == 0)
2993 bps = decoder->private_->stream_info.data.stream_info.bits_per_sample;
3005 /* note there are no () around 'bps/8' to keep precision up since it's an integer calulation */
3006 approx_bytes_per_frame = min_blocksize * channels * bps/8 + 64;
3009 approx_bytes_per_frame = 4096 * channels * bps/8 + 64;