1 /* 2 * rawsource.h -- (almost) raw source reader interface for encoder 3 * expect WAV audio and YUV4MPEG2 video 4 * (C) 2006-2010 - Francesco Romani <fromani at gmail dot com> 5 * 6 * This file is part of transcode, a video stream processing tool. 7 * 8 * transcode is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * transcode is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 23 #ifndef _FILE_SOURCE_H 24 #define _FILE_SOURCE_H 25 26 #include "transcode.h" 27 #include "encoder.h" 28 29 extern TCEncoderBuffer *tc_rawsource_buffer; 30 31 int tc_rawsource_open(vob_t *vob); 32 int tc_rawsource_close(void); 33 34 #endif /* _FILE_SOURCE_H */ 35