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

debian/tmp/usr/include/libavfilter/buffersink.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_VSINK_BUFFER_H
00020 #define AVFILTER_VSINK_BUFFER_H
00021 
00027 #include "avfilter.h"
00028 
00032 typedef struct {
00033     const enum PixelFormat *pixel_fmts; 
00034 } AVBufferSinkParams;
00035 
00041 AVBufferSinkParams *av_buffersink_params_alloc(void);
00042 
00046 typedef struct {
00047     const enum AVSampleFormat *sample_fmts; 
00048     const int64_t *channel_layouts;         
00049     const int *packing_fmts;                
00050 } AVABufferSinkParams;
00051 
00057 AVABufferSinkParams *av_abuffersink_params_alloc(void);
00058 
00064 #define AV_BUFFERSINK_FLAG_PEEK 1
00065 
00076 int av_buffersink_get_buffer_ref(AVFilterContext *buffer_sink,
00077                                  AVFilterBufferRef **bufref, int flags);
00078 
00079 
00083 int av_buffersink_poll_frame(AVFilterContext *ctx);
00084 
00085 #if FF_API_OLD_VSINK_API
00086 
00089 attribute_deprecated
00090 int av_vsink_buffer_get_video_buffer_ref(AVFilterContext *buffer_sink,
00091                                          AVFilterBufferRef **picref, int flags);
00092 #endif
00093 
00094 #endif /* AVFILTER_VSINK_BUFFER_H */
Generated on Fri Feb 1 2013 14:34:26 for FFmpeg by doxygen 1.7.1