libavfilter/internal.h File Reference

internal API functions More...

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

Go to the source code of this file.

Data Structures

struct  AVFilterPool
struct  AVFilterCommand

Defines

#define POOL_SIZE   32

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.
int ff_parse_pixel_format (enum PixelFormat *ret, const char *arg, void *log_ctx)
 Parse a pixel format.
int ff_parse_sample_rate (int *ret, const char *arg, void *log_ctx)
 Parse a sample rate.
int ff_parse_sample_format (int *ret, const char *arg, void *log_ctx)
 Parse a sample format name or a corresponding integer representation.
int ff_parse_channel_layout (int64_t *ret, const char *arg, void *log_ctx)
 Parse a channel layout or a corresponding integer representation.
int ff_parse_packing_format (int *ret, const char *arg, void *log_ctx)
 Parse a packing format or a corresponding integer representation.


Detailed Description

internal API functions

Definition in file internal.h.


Define Documentation

#define POOL_SIZE   32

Definition at line 30 of file internal.h.

Referenced by avfilter_default_get_video_buffer(), avfilter_link_free(), and store_in_pool().


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 28 of file defaults.c.

Referenced by avfilter_get_audio_buffer_ref_from_arrays(), 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 273 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 85 of file formats.c.

Referenced by config_input_main(), config_input_overlay(), and config_props().

int ff_parse_channel_layout ( int64_t *  ret,
const char *  arg,
void *  log_ctx 
)

Parse a channel layout or a corresponding integer representation.

Parameters:
ret 64bit integer pointer to where the value should be written.
arg string to parse
log_ctx log context
Returns:
0 in case of success, a negative AVERROR code on error

Definition at line 284 of file formats.c.

Referenced by init().

int ff_parse_packing_format ( int *  ret,
const char *  arg,
void *  log_ctx 
)

Parse a packing format or a corresponding integer representation.

Parameters:
ret integer pointer to where the value should be written
arg string to parse
log_ctx log context
Returns:
0 in case of success, a negative AVERROR code on error

Definition at line 299 of file formats.c.

Referenced by init().

int ff_parse_pixel_format ( enum PixelFormat ret,
const char *  arg,
void *  log_ctx 
)

Parse a pixel format.

Parameters:
ret pixel format pointer to where the value should be written
arg string to parse
log_ctx log context
Returns:
0 in case of success, a negative AVERROR code on error

Definition at line 242 of file formats.c.

Referenced by init().

int ff_parse_sample_format ( int *  ret,
const char *  arg,
void *  log_ctx 
)

Parse a sample format name or a corresponding integer representation.

Parameters:
ret integer pointer to where the value should be written
arg string to parse
log_ctx log context
Returns:
0 in case of success, a negative AVERROR code on error

Definition at line 257 of file formats.c.

Referenced by init().

int ff_parse_sample_rate ( int *  ret,
const char *  arg,
void *  log_ctx 
)

Parse a sample rate.

Parameters:
ret unsigned integer pointer to where the value should be written
arg string to parse
log_ctx log context
Returns:
0 in case of success, a negative AVERROR code on error

Definition at line 272 of file formats.c.

Referenced by init().


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8