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_copy_int_list (const int *const list)
 Return a copy of a list of integers terminated by -1, or NULL in case of copy failure.
int64_t * ff_copy_int64_list (const int64_t *const list)
 Return a copy of a list of 64-bit integers, or NULL in case of copy failure.
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(), free_pool(), 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 29 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().

int64_t* ff_copy_int64_list ( const int64_t *const   list  ) 

Return a copy of a list of 64-bit integers, or NULL in case of copy failure.

Definition at line 118 of file formats.c.

int* ff_copy_int_list ( const int *const   list  ) 

Return a copy of a list of integers terminated by -1, or NULL in case of copy failure.

Definition at line 111 of file formats.c.

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 88 of file formats.c.

Referenced by config_input_main(), config_input_overlay(), config_out_props(), 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 313 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 328 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 271 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 286 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 301 of file formats.c.

Referenced by init().


Generated on Fri Oct 26 02:46:08 2012 for FFmpeg by  doxygen 1.5.8