internal.h File Reference

internal API functions More...

#include "avfilter.h"
#include "avfiltergraph.h"

Go to the source code of this file.

Functions

int ff_avfilter_graph_check_validity (AVFilterGraph *graphctx, AVClass *log_ctx)
 Check for the validity of graph.
int ff_avfilter_graph_config_links (AVFilterGraph *graphctx, AVClass *log_ctx)
 Configure all the links of graphctx.
int ff_avfilter_graph_config_formats (AVFilterGraph *graphctx, AVClass *log_ctx)
 Configure the formats of all the links in the graph.
void ff_avfilter_default_free_buffer (AVFilterBuffer *buf)
 default handler for freeing audio/video buffer when there are no references left
int ff_fmt_is_in (int fmt, const int *fmts)
 Tell is a format is contained in the provided list terminated by -1.

Detailed Description

internal API functions

Definition in file internal.h.

Function Documentation

void ff_avfilter_default_free_buffer ( AVFilterBuffer buf)

default handler for freeing audio/video buffer when there are no references left

Definition at line 29 of file defaults.c.

Referenced by avfilter_default_get_audio_buffer(), and avfilter_get_video_buffer_ref_from_arrays().

int ff_avfilter_graph_check_validity ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Check for the validity of graph.

A graph is considered valid if all its input and output pads are connected.

Returns
0 in case of success, a negative value otherwise

Definition at line 81 of file avfiltergraph.c.

Referenced by avfilter_graph_config().

int ff_avfilter_graph_config_formats ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Configure the formats of all the links in the graph.

Definition at line 222 of file avfiltergraph.c.

Referenced by avfilter_graph_config().

int ff_avfilter_graph_config_links ( AVFilterGraph graphctx,
AVClass log_ctx 
)

Configure all the links of graphctx.

Returns
0 in case of success, a negative value otherwise

Definition at line 111 of file avfiltergraph.c.

Referenced by avfilter_graph_config().

int ff_fmt_is_in ( int  fmt,
const int *  fmts 
)

Tell is a format is contained in the provided list terminated by -1.

Definition at line 79 of file formats.c.

Referenced by config_props().