Lines Matching refs:upper_bound
2982 …FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound,… in seek_to_absolute_sample_() local
3027 upper_bound = stream_length; in seek_to_absolute_sample_()
3040 FLAC__uint64 new_upper_bound = upper_bound; in seek_to_absolute_sample_()
3076 upper_bound = new_upper_bound; in seek_to_absolute_sample_()
3098 if (lower_bound_sample >= upper_bound_sample || lower_bound > upper_bound) { in seek_to_absolute_sample_()
3105 …upper_bound_sample - lower_bound_sample) * (FLAC__double)(FLAC__int64)(upper_bound - lower_bound))… in seek_to_absolute_sample_()
3107 …LAC__double)(upper_bound_sample - lower_bound_sample) * (FLAC__double)(upper_bound - lower_bound))… in seek_to_absolute_sample_()
3111 if(upper_bound - lower_bound < 0xffffffff) in seek_to_absolute_sample_()
3112 …4)lower_bound + (FLAC__int64)(((target_sample - lower_bound_sample) * (upper_bound - lower_bound))… in seek_to_absolute_sample_()
3114 …r_bound + (FLAC__int64)((((target_sample - lower_bound_sample)>>8) * ((upper_bound - lower_bound)>… in seek_to_absolute_sample_()
3116 if(pos >= (FLAC__int64)upper_bound) in seek_to_absolute_sample_()
3117 pos = (FLAC__int64)upper_bound - 1; in seek_to_absolute_sample_()
3175 if(!FLAC__stream_decoder_get_decode_position(decoder, &upper_bound)) { in seek_to_absolute_sample_()
3179 approx_bytes_per_frame = (unsigned)(2 * (upper_bound - pos) / 3 + 16); in seek_to_absolute_sample_()