Home
last modified time | relevance | path

Searched refs:in_frames (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_shuffleframes.c37 int in_frames; member
89 if (s->in_frames < s->nb_frames) { in filter_frame()
90 s->frames[s->in_frames] = frame; in filter_frame()
91 s->pts[s->in_frames] = frame->pts; in filter_frame()
92 s->in_frames++; in filter_frame()
95 if (s->in_frames == s->nb_frames) { in filter_frame()
109 s->in_frames--; in filter_frame()
123 while (s->in_frames > 0) { in uninit()
124 s->in_frames--; in uninit()
125 av_frame_free(&s->frames[s->in_frames]); in uninit()
/third_party/libsnd/src/
Dogg_vorbis.c690 vorbis_write_samples (SF_PRIVATE *psf, OGG_PRIVATE *odata, VORBIS_PRIVATE *vdata, int in_frames) in vorbis_write_samples() argument
692 vorbis_analysis_wrote (&vdata->vdsp, in_frames) ; in vorbis_write_samples()
725 vdata->loc += in_frames ; in vorbis_write_samples()
735 int in_frames = lens / psf->sf.channels ; in vorbis_write_s() local
736 float **buffer = vorbis_analysis_buffer (&vdata->vdsp, in_frames) ; in vorbis_write_s()
737 for (i = 0 ; i < in_frames ; i++) in vorbis_write_s()
741 vorbis_write_samples (psf, odata, vdata, in_frames) ; in vorbis_write_s()
751 int in_frames = lens / psf->sf.channels ; in vorbis_write_i() local
752 float **buffer = vorbis_analysis_buffer (&vdata->vdsp, in_frames) ; in vorbis_write_i()
753 for (i = 0 ; i < in_frames ; i++) in vorbis_write_i()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-converter.c75 GstAudioConverterFlags flags, gpointer in[], gsize in_frames,
108 gsize in_frames; member
452 num_samples = convert->in_frames; in do_unpack()
537 gsize in_frames, out_frames; in do_resample() local
539 in = audio_chain_get_samples (chain->prev, &in_frames); in do_resample()
544 out, in_frames, out_frames); in do_resample()
546 gst_audio_resampler_resample (convert->resampler, in, in_frames, out, in do_resample()
1071 GstAudioConverterFlags flags, gpointer in[], gsize in_frames, in converter_passthrough() argument
1086 samples = in_frames * chain->inc; in converter_passthrough()
1089 in_frames, samples); in converter_passthrough()
[all …]
Daudio-resampler.c885 gpointer in[], gsize in_frames) \
892 for (i = 0; i < in_frames; i++) \
896 for (i = 0; i < in_frames; i++, ip += channels) \
916 gpointer in[], gsize in_frames) in copy_func() argument
923 memset (s, 0, in_frames * resampler->bps); in copy_func()
925 memcpy (s, in[c], in_frames * resampler->bps); in copy_func()
1654 gsize in_frames) in gst_audio_resampler_get_out_frames() argument
1661 avail = resampler->samples_avail + in_frames; in gst_audio_resampler_get_out_frames()
1664 (gint) avail, (gint) resampler->samples_avail, (gint) in_frames); in gst_audio_resampler_get_out_frames()
1699 gsize in_frames; in gst_audio_resampler_get_in_frames() local
[all …]
Daudio-converter.h151 gsize in_frames);
163 gpointer in[], gsize in_frames,
Daudio-resampler.h243 gsize in_frames);
254 gpointer in[], gsize in_frames,
Daudio-resampler-private.h50 gpointer * sbuf, gpointer in[], gsize in_frames);
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkaudiosink.cpp584 gint in_frames = gst_buffer_get_size (buffer) / self->info.bpf; in gst_decklink_audio_sink_render() local
586 gst_audio_resampler_get_out_frames (self->resampler, in_frames); in gst_decklink_audio_sink_render()
594 in_frames, (gpointer *) & out_map.data, out_frames); in gst_decklink_audio_sink_render()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-sink.c1851 snd_pcm_sframes_t in_frames, out_frames; in process_rewind() local
1855 in_frames = (snd_pcm_sframes_t) (rewind_nbytes / u->frame_size); in process_rewind()
1856 pa_log_debug("before: %lu", (unsigned long) in_frames); in process_rewind()
1857 if ((out_frames = snd_pcm_rewind(u->pcm_handle, (snd_pcm_uframes_t) in_frames)) < 0) { in process_rewind()