|
|
|
@ -230,33 +230,10 @@ void ff_tlog_ref(void *ctx, AVFrame *ref, int end); |
|
|
|
|
void ff_tlog_link(void *ctx, AVFilterLink *link, int end); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Insert a new pad. |
|
|
|
|
* |
|
|
|
|
* @param count Pointer to the number of pads in the list |
|
|
|
|
* @param pads Pointer to the pointer to the beginning of the list of pads |
|
|
|
|
* @param links Pointer to the pointer to the beginning of the list of links |
|
|
|
|
* @param newpad The new pad to add. A copy is made when adding. |
|
|
|
|
* @return >= 0 in case of success, a negative AVERROR code on error |
|
|
|
|
* Append a new input/output pad to the filter's list of such pads. |
|
|
|
|
*/ |
|
|
|
|
int ff_append_pad(unsigned *count, |
|
|
|
|
AVFilterPad **pads, AVFilterLink ***links, |
|
|
|
|
AVFilterPad *newpad); |
|
|
|
|
|
|
|
|
|
/** Insert a new input pad for the filter. */ |
|
|
|
|
static inline int ff_append_inpad(AVFilterContext *f, |
|
|
|
|
AVFilterPad *p) |
|
|
|
|
{ |
|
|
|
|
return ff_append_pad(&f->nb_inputs, |
|
|
|
|
&f->input_pads, &f->inputs, p); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** Insert a new output pad for the filter. */ |
|
|
|
|
static inline int ff_append_outpad(AVFilterContext *f, |
|
|
|
|
AVFilterPad *p) |
|
|
|
|
{ |
|
|
|
|
return ff_append_pad(&f->nb_outputs, |
|
|
|
|
&f->output_pads, &f->outputs, p); |
|
|
|
|
} |
|
|
|
|
int ff_append_inpad (AVFilterContext *f, AVFilterPad *p); |
|
|
|
|
int ff_append_outpad(AVFilterContext *f, AVFilterPad *p); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Request an input frame from the filter at the other end of the link. |
|
|
|
|