Lines Matching refs:target_sample

111 …lute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample);
113 …_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample);
175 FLAC__uint64 target_sample; member
2947 FLAC__uint64 target_sample = decoder->private_->target_sample; in write_audio_frame_to_client_() local
2955 …if(this_frame_sample <= target_sample && target_sample < next_frame_sample) { /* we hit our target… in write_audio_frame_to_client_()
2956 unsigned delta = (unsigned)(target_sample - this_frame_sample); in write_audio_frame_to_client_()
3002 …olute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample) in seek_to_absolute_sample_() argument
3050 upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/; in seek_to_absolute_sample_()
3072 seek_table->points[i].sample_number <= target_sample in seek_to_absolute_sample_()
3087 seek_table->points[i].sample_number > target_sample in seek_to_absolute_sample_()
3117 decoder->private_->target_sample = target_sample; in seek_to_absolute_sample_()
3125 …pos = (FLAC__int64)lower_bound + (FLAC__int64)((FLAC__double)(target_sample - lower_bound_sample) … in seek_to_absolute_sample_()
3129 …pos = (FLAC__int64)lower_bound + (FLAC__int64)(((target_sample - lower_bound_sample) * (upper_boun… in seek_to_absolute_sample_()
3131 …pos = (FLAC__int64)lower_bound + (FLAC__int64)((((target_sample - lower_bound_sample)>>8) * ((uppe… in seek_to_absolute_sample_()
3189 if(target_sample < this_frame_sample) { in seek_to_absolute_sample_()
3212 …e_sample_ogg_(FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample) in seek_to_absolute_sample_ogg_() argument
3241 decoder->private_->target_sample = target_sample; in seek_to_absolute_sample_ogg_()
3243 …if (iteration == 0 || this_frame_sample > target_sample || target_sample - this_frame_sample > LIN… in seek_to_absolute_sample_ogg_()
3249 …pos = (FLAC__uint64)((FLAC__double)(target_sample - left_sample) / (FLAC__double)(right_sample - l… in seek_to_absolute_sample_ogg_()
3252 if ((target_sample-left_sample <= 0xffffffff) && (right_pos-left_pos <= 0xffffffff)) in seek_to_absolute_sample_ogg_()
3253 …pos = (FLAC__int64)(((target_sample-left_sample) * (right_pos-left_pos)) / (right_sample-left_samp… in seek_to_absolute_sample_ogg_()
3255 …pos = (FLAC__int64)((((target_sample-left_sample)>>8) * ((right_pos-left_pos)>>8)) / ((right_sampl… in seek_to_absolute_sample_ogg_()
3309 if (this_frame_sample <= target_sample) { in seek_to_absolute_sample_ogg_()
3316 FLAC__ASSERT(this_frame_sample != target_sample); in seek_to_absolute_sample_ogg_()
3326 else if(this_frame_sample > target_sample) { in seek_to_absolute_sample_ogg_()