Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ffmpeg.hh

00001 /*
00002  * PIAVE - PIAVE Is A Video Editor
00003  *
00004  * Copyright (C) 2002 Rolf Dubitzky, rolf@dubitzky.de
00005  *
00006  */
00007 
00008 /*
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software Foundation,
00021  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00022  */
00023 
00024 
00031 #if ! defined( FFMPEG_HH )
00032 #define FFMPEG_HH
00033 
00034 // stdc++
00035 #include <string>
00036 
00037 // PIAVE
00038 #include "libpiave/piave_base.hh"
00039 #include "libpiave/avstream.hh"
00040 
00041 // ffmpeg
00042 #if ! defined( LIBAV_HEADERS_HH )
00043 #define LIBAV_HEADERS_HH
00044 #undef MIN
00045 #undef MAX
00046 #undef ABS
00047 extern "C" {
00048 #include "avformat.h"
00049 #include "avcodec.h"
00050 }
00051 #endif
00052 
00053 
00054 namespace PIAVE {
00055 
00056 #define FFMPEG_INBUF_SIZE 4096
00057 
00058 
00064     struct FFMpeg {
00065         static void init();
00066         static bool is_initialized;
00067     };
00068 
00069 }
00070 
00071 
00072 #endif

Generated on Tue Oct 14 20:45:36 2003 for piave by doxygen1.2.18