#include "avfilter.h"
#include "avfiltergraph.h"
#include "formats.h"
Go to the source code of this file.
Data Structures | |
struct | AVFilterPool |
struct | AVFilterCommand |
Defines | |
#define | POOL_SIZE 32 |
#define | FF_DPRINTF_START(ctx, func) av_dlog(NULL, "%-16s: ", #func) |
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_graph_update_heap (AVFilterGraph *graph, AVFilterLink *link) |
Update the position of a link in the age heap. | |
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_time_base (AVRational *ret, const char *arg, void *log_ctx) |
Parse a time base. | |
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. | |
static void | ff_null_start_frame_keep_ref (AVFilterLink *inlink, AVFilterBufferRef *picref) |
Pass video frame along and keep an internal reference for later use. | |
void | ff_update_link_current_pts (AVFilterLink *link, int64_t pts) |
void | ff_free_pool (AVFilterPool *pool) |
void | ff_command_queue_pop (AVFilterContext *filter) |
void | ff_dlog_link (void *ctx, AVFilterLink *link, int end) |
Definition in file internal.h.
Definition at line 159 of file internal.h.
Referenced by avfilter_draw_slice(), avfilter_get_video_buffer(), avfilter_request_frame(), avfilter_start_frame(), and ff_filter_samples().
#define POOL_SIZE 32 |
Definition at line 31 of file internal.h.
Referenced by ff_default_get_video_buffer(), ff_free_pool(), and store_in_pool().
void ff_avfilter_default_free_buffer | ( | AVFilterBuffer * | buf | ) |
default handler for freeing audio/video buffer when there are no references left
Definition at line 31 of file buffer.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.
Definition at line 105 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 691 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.
Definition at line 135 of file avfiltergraph.c.
Referenced by avfilter_graph_config().
void ff_avfilter_graph_update_heap | ( | AVFilterGraph * | graph, | |
AVFilterLink * | link | |||
) |
Update the position of a link in the age heap.
Definition at line 871 of file avfiltergraph.c.
Referenced by ff_update_link_current_pts().
void ff_command_queue_pop | ( | AVFilterContext * | filter | ) |
Definition at line 50 of file avfilter.c.
Referenced by avfilter_free(), and avfilter_start_frame().
int64_t* ff_copy_int64_list | ( | const int64_t *const | list | ) |
int* ff_copy_int_list | ( | const int *const | list | ) |
void ff_dlog_link | ( | void * | ctx, | |
AVFilterLink * | link, | |||
int | end | |||
) |
Definition at line 246 of file avfilter.c.
Referenced by avfilter_draw_slice(), avfilter_get_video_buffer(), avfilter_request_frame(), avfilter_start_frame(), and ff_filter_samples().
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 162 of file formats.c.
Referenced by config_input(), config_input_main(), config_input_overlay(), config_out_props(), and config_props().
void ff_free_pool | ( | AVFilterPool * | pool | ) |
static void ff_null_start_frame_keep_ref | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | picref | |||
) | [inline, static] |
Pass video frame along and keep an internal reference for later use.
Definition at line 147 of file internal.h.
int ff_parse_channel_layout | ( | int64_t * | ret, | |
const char * | arg, | |||
void * | log_ctx | |||
) |
Parse a channel layout or a corresponding integer representation.
ret | 64bit integer pointer to where the value should be written. | |
arg | string to parse | |
log_ctx | log context |
Definition at line 522 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.
ret | pixel format pointer to where the value should be written | |
arg | string to parse | |
log_ctx | log context |
Definition at line 469 of file formats.c.
Referenced by init(), and init_video().
int ff_parse_sample_format | ( | int * | ret, | |
const char * | arg, | |||
void * | log_ctx | |||
) |
Parse a sample format name or a corresponding integer representation.
ret | integer pointer to where the value should be written | |
arg | string to parse | |
log_ctx | log context |
Definition at line 484 of file formats.c.
Referenced by init().
int ff_parse_sample_rate | ( | int * | ret, | |
const char * | arg, | |||
void * | log_ctx | |||
) |
int ff_parse_time_base | ( | AVRational * | ret, | |
const char * | arg, | |||
void * | log_ctx | |||
) |
Parse a time base.
ret | unsigned AVRational pointer to where the value should be written | |
arg | string to parse | |
log_ctx | log context |
void ff_update_link_current_pts | ( | AVFilterLink * | link, | |
int64_t | pts | |||
) |
Definition at line 299 of file avfilter.c.
Referenced by avfilter_start_frame(), and ff_filter_samples().