Lines Matching defs:link
102 static int filter_frame(AVFilterLink *link, AVFrame *frame)
104 AVFilterContext *ctx = link->dst;
105 BufferSinkContext *buf = link->dst->priv;
161 AVFilterLink *link = ctx->inputs[0];
164 if (!(tmp = ff_get_audio_buffer(link, nb_samples)))
170 s->next_pts += av_rescale_q(nb_samples, (AVRational){1, link->sample_rate},
171 link->time_base);
183 AVFilterLink *link = ctx->inputs[0];
188 int nb_channels = link->channels;
189 if (!(s->audio_fifo = av_audio_fifo_alloc(link->format, nb_channels, nb_samples)))
211 (AVRational){ 1, link->sample_rate },
212 link->time_base);