Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Daf_silencedetect.c42 int64_t *nb_null_samples; ///< (array) current number of continuous zero samples member
85 s->nb_null_samples[channel]++; in update()
86 if (s->nb_null_samples[channel] >= nb_samples_notify) { in update()
115 s->nb_null_samples[channel] = 0; in update()
148 s->nb_null_samples = av_mallocz_array(sizeof(*s->nb_null_samples), s->independent_channels); in SILENCE_DETECT()
149 if (!s->nb_null_samples) in SILENCE_DETECT()
185 s->nb_null_samples[c] = srate * s->nb_null_samples[c] / s->last_sample_rate; in filter_frame()
239 av_freep(&s->nb_null_samples); in uninit()