Home
last modified time | relevance | path

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

/third_party/ffmpeg/doc/examples/
Dresampling_audio.c88 int src_nb_samples = 1024, dst_nb_samples, max_dst_nb_samples; in main() local
150 max_dst_nb_samples = dst_nb_samples = in main()
156 dst_nb_samples, dst_sample_fmt, 0); in main()
168 dst_nb_samples = av_rescale_rnd(swr_get_delay(swr_ctx, src_rate) + in main()
170 if (dst_nb_samples > max_dst_nb_samples) { in main()
173 dst_nb_samples, dst_sample_fmt, 1); in main()
176 max_dst_nb_samples = dst_nb_samples; in main()
180 … ret = swr_convert(swr_ctx, dst_data, dst_nb_samples, (const uint8_t **)src_data, src_nb_samples); in main()
Dmuxing.c344 int dst_nb_samples; in write_audio_frame() local
353dst_nb_samples = av_rescale_rnd(swr_get_delay(ost->swr_ctx, c->sample_rate) + frame->nb_samples, in write_audio_frame()
355 av_assert0(dst_nb_samples == frame->nb_samples); in write_audio_frame()
367 ost->frame->data, dst_nb_samples, in write_audio_frame()
376 ost->samples_count += dst_nb_samples; in write_audio_frame()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp266 auto dst_nb_samples = (int32_t) av_rescale_rnd( in decode() local
277 dst_nb_samples, in decode()
283 dst_nb_samples, in decode()