• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavfilter/internal.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of FFmpeg.
00003  *
00004  * FFmpeg is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * FFmpeg is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with FFmpeg; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
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 /* Functions to parse audio format arguments */
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 /* AVFILTER_INTERNAL_H */
Generated on Fri Feb 1 2013 14:34:36 for FFmpeg by doxygen 1.7.1