1 /*****************************************************************************
2 * x264_gtk_encode_private.h: h264 gtk encoder frontend
3 *****************************************************************************
4 * Copyright (C) 2006 Vincent Torri
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
19 *****************************************************************************/
21 #ifndef X264_GTK_ENCODE_PRIVATE_H
22 #define X264_GTK_ENCODE_PRIVATE_H
25 #include <common/osdep.h>
27 #include "x264_gtk_demuxers.h"
29 typedef struct X264_Thread_Data_ X264_Thread_Data;
30 typedef struct X264_Pipe_Data_ X264_Pipe_Data;
32 struct X264_Thread_Data_
34 GtkWidget *current_video_frame;
35 GtkWidget *video_data;
36 GtkWidget *video_rendering_rate;
37 GtkWidget *time_elapsed;
38 GtkWidget *time_remaining;
43 GtkWidget *end_button;
47 X264_Demuxer_Type in_container;
52 /* file descriptors */
53 GIOChannel *io_read; /* use it with read */
54 GIOChannel *io_write; /* use it with write */
57 struct X264_Pipe_Data_
66 #endif /* X264_GTK_ENCODE_PRIVATE_H */