00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef AVFILTER_INTERNAL_H
00020 #define AVFILTER_INTERNAL_H
00021
00027 #include "avfilter.h"
00028 #include "avfiltergraph.h"
00029
00030 #define POOL_SIZE 32
00031 typedef struct AVFilterPool {
00032 AVFilterBufferRef *pic[POOL_SIZE];
00033 int count;
00034 int refcount;
00035 int draining;
00036 } AVFilterPool;
00037
00038 typedef struct AVFilterCommand {
00039 double time;
00040 char *command;
00041 char *arg;
00042 int flags;
00043 struct AVFilterCommand *next;
00044 } AVFilterCommand;
00045
00054 int ff_avfilter_graph_check_validity(AVFilterGraph *graphctx, AVClass *log_ctx);
00055
00061 int ff_avfilter_graph_config_links(AVFilterGraph *graphctx, AVClass *log_ctx);
00062
00066 int ff_avfilter_graph_config_formats(AVFilterGraph *graphctx, AVClass *log_ctx);
00067
00069 void ff_avfilter_default_free_buffer(AVFilterBuffer *buf);
00070
00072 int ff_fmt_is_in(int fmt, const int *fmts);
00073
00078 int *ff_copy_int_list(const int * const list);
00079
00084 int64_t *ff_copy_int64_list(const int64_t * const list);
00085
00086
00087
00096 int ff_parse_pixel_format(enum PixelFormat *ret, const char *arg, void *log_ctx);
00097
00106 int ff_parse_sample_rate(int *ret, const char *arg, void *log_ctx);
00107
00116 int ff_parse_sample_format(int *ret, const char *arg, void *log_ctx);
00117
00126 int ff_parse_channel_layout(int64_t *ret, const char *arg, void *log_ctx);
00127
00136 int ff_parse_packing_format(int *ret, const char *arg, void *log_ctx);
00137
00138 #endif