00001 /* -*- Mode: c++ -*- 00002 * vim: set expandtab tabstop=4 shiftwidth=4: 00003 * 00004 * Original Project 00005 * MythTV http://www.mythtv.org 00006 * 00007 * Copyright (c) 2004, 2005 John Pullan <john@pullan.org> 00008 * Copyright (c) 2009, Janne Grunau <janne-mythtv@grunau.be> 00009 * 00010 * This program is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU General Public License 00012 * as published by the Free Software Foundation; either version 2 00013 * of the License, or (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00023 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html 00024 * 00025 */ 00026 #ifndef MYTH_IMGCONVERT_H 00027 #define MYTH_IMGCONVERT_H 00028 00029 #include "mythtvexp.h" 00030 00031 extern "C" { 00032 #include "libavcodec/avcodec.h" 00033 } 00034 00040 MTV_PUBLIC int myth_sws_img_convert(AVPicture *dst, PixelFormat dst_pix_fmt, 00041 AVPicture *src, PixelFormat pix_fmt, 00042 int width, int height); 00043 00044 #endif /* MYTH_IMGCONVERT_H */
1.6.3