00001 /* 00002 * Copyright (c) 2011-2012 Derek Buitenhuis 00003 * 00004 * This file is part of FFmpeg. 00005 * 00006 * FFmpeg is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public 00008 * License as published by the Free Software Foundation; 00009 * version 2 of the License. 00010 * 00011 * FFmpeg is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public 00017 * License along with FFmpeg; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00027 #ifndef AVCODEC_LIBUTVIDEO_H 00028 #define AVCODEC_LIBUTVIDEO_H 00029 00030 #include <stdlib.h> 00031 #include <utvideo/utvideo.h> 00032 #include <utvideo/Codec.h> 00033 00034 typedef struct { 00035 uint32_t version; 00036 uint32_t original_format; 00037 uint32_t frameinfo_size; 00038 uint32_t flags; 00039 } UtVideoExtra; 00040 00041 typedef struct { 00042 CCodec *codec; 00043 unsigned int buf_size; 00044 uint8_t *buffer; 00045 } UtVideoContext; 00046 00047 #endif /* AVCODEC_LIBUTVIDEO_H */