Home | History | Annotate | Download | only in libFLAC

Lines Matching defs:lower_bound

3004 	FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample, this_frame_sample;
3047 lower_bound = first_frame_offset;
3061 FLAC__uint64 new_lower_bound = lower_bound;
3097 lower_bound = new_lower_bound;
3120 if (lower_bound_sample >= upper_bound_sample || lower_bound > upper_bound) {
3125 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;
3128 if(upper_bound - lower_bound < 0xffffffff)
3129 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;
3131 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;
3135 if(pos < (FLAC__int64)lower_bound)
3136 pos = (FLAC__int64)lower_bound;
3170 if (pos == (FLAC__int64)lower_bound) {
3200 if(!FLAC__stream_decoder_get_decode_position(decoder, &lower_bound)) {
3204 approx_bytes_per_frame = (unsigned)(2 * (lower_bound - pos) / 3 + 16);