00001 /***************************************************************************** 00002 * screen.h: Screen capture module. 00003 ***************************************************************************** 00004 * Copyright (C) 2004 the VideoLAN team 00005 * $Id$ 00006 * 00007 * Authors: Gildas Bazin <[email protected]> 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 00021 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00022 *****************************************************************************/ 00023 00024 typedef struct screen_data_t screen_data_t; 00025 00026 struct demux_sys_t 00027 { 00028 es_format_t fmt; 00029 es_out_id_t *es; 00030 00031 float f_fps; 00032 mtime_t i_next_date; 00033 int i_incr; 00034 00035 screen_data_t *p_data; 00036 }; 00037 00038 int screen_InitCapture ( demux_t * ); 00039 int screen_CloseCapture( demux_t * ); 00040 block_t *screen_Capture( demux_t * ); 00041