Home
last modified time | relevance | path

Searched refs:delayed_samples (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopusdec.c179 int delayed_samples = s->delayed_samples; in opus_decode_frame() local
209 s->delayed_samples += s->packet.frame_duration - samples; in opus_decode_frame()
311 opus_fade(s->cur_out[i] + samples - 120 + delayed_samples, in opus_decode_frame()
312 s->cur_out[i] + samples - 120 + delayed_samples, in opus_decode_frame()
314 ff_celt_window2, 120 - delayed_samples); in opus_decode_frame()
315 if (delayed_samples) in opus_decode_frame()
316 s->redundancy_idx = 120 - delayed_samples; in opus_decode_frame()
320 … memcpy(s->cur_out[i] + delayed_samples, s->redundancy_output[i], 120 * sizeof(float)); in opus_decode_frame()
321 opus_fade(s->cur_out[i] + 120 + delayed_samples, in opus_decode_frame()
323 s->cur_out[i] + 120 + delayed_samples, in opus_decode_frame()
[all …]
Dopus.h139 int delayed_samples; member
/third_party/ffmpeg/libswresample/
Dsoxr_resample.c100 double delayed_samples = soxr_delay((soxr_t)s->resample); in get_delay() local
104 delayed_samples += s->delayed_samples_fixup; in get_delay()
106 delay_s = delayed_samples / s->out_sample_rate; in get_delay()
118 double delayed_samples = soxr_delay((soxr_t)s->resample); in get_out_samples() local
121 delayed_samples += s->delayed_samples_fixup; in get_out_samples()
123 return (int64_t)(out_samples + delayed_samples + 1 + .5); in get_out_samples()