• 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:upper_bound_sample

2974 	FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample, this_frame_sample;
3020 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/;
3034 FLAC__uint64 new_upper_bound_sample = upper_bound_sample;
3070 upper_bound_sample = new_upper_bound_sample;
3074 FLAC__ASSERT(upper_bound_sample >= lower_bound_sample);
3082 * in either case it does not hurt to move upper_bound_sample up by 1
3084 if(upper_bound_sample == lower_bound_sample)
3085 upper_bound_sample++;
3090 if (lower_bound_sample >= upper_bound_sample || lower_bound > upper_bound) {
3097 pos = (FLAC__int64)lower_bound + (FLAC__int64)((FLAC__double)(FLAC__int64)(target_sample - lower_bound_sample) / (FLAC__double)(FLAC__int64)(upper_bound_sample - lower_bound_sample) * (FLAC__double)(FLAC__int64)(upper_bound - lower_bound)) - approx_bytes_per_frame;
3099 pos = (FLAC__int64)lower_bound + (FLAC__int64)((FLAC__double)(target_sample - lower_bound_sample) / (FLAC__double)(upper_bound_sample - lower_bound_sample) * (FLAC__double)(upper_bound - lower_bound)) - approx_bytes_per_frame;
3104 pos = (FLAC__int64)lower_bound + (FLAC__int64)(((target_sample - lower_bound_sample) * (upper_bound - lower_bound)) / (upper_bound_sample - lower_bound_sample)) - approx_bytes_per_frame;
3106 pos = (FLAC__int64)lower_bound + (FLAC__int64)((((target_sample - lower_bound_sample)>>8) * ((upper_bound - lower_bound)>>8)) / ((upper_bound_sample - lower_bound_sample)>>16)) - approx_bytes_per_frame;
3144 if (0 == decoder->private_->samples_decoded || (this_frame_sample + decoder->private_->last_frame.header.blocksize >= upper_bound_sample && !first_seek)) {
3154 /* allow one seek over upper bound, so we can get a correct upper_bound_sample for streams with unknown total_samples */
3165 upper_bound_sample = this_frame_sample + decoder->private_->last_frame.header.blocksize;