Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

qte.h

00001 /*****************************************************************************
00002  * qte.h : QT Embedded plugin for vlc
00003  *****************************************************************************
00004  * Copyright (C) 1998-2002 the VideoLAN team
00005  * $Id: qte.h 11664 2005-07-09 06:17:09Z courmisch $
00006  *
00007  * Authors: Gerald Hansink <[email protected]>
00008  *          Jean-Paul Saman <[email protected]>
00009  *
00010  * This program is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2 of the License, or
00013  * (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, USA.
00023  *****************************************************************************/
00024 
00025 /*****************************************************************************
00026  * Preamble
00027  *****************************************************************************/
00028 
00029 /*****************************************************************************
00030  * event_thread_t: QT Embedded event thread
00031  *****************************************************************************/
00032 typedef struct event_thread_t
00033 {
00034     VLC_COMMON_MEMBERS
00035 
00036     vout_thread_t * p_vout;
00037 
00038 } event_thread_t;
00039 
00040 
00041 /*****************************************************************************
00042  * vout_sys_t: video output method descriptor
00043  *****************************************************************************
00044  * This structure is part of the video output thread descriptor.
00045  * It describes the specific properties of an video output plugin
00046  *****************************************************************************/
00047 struct vout_sys_t
00048 {
00049     /* Internal settings and properties */
00050     int                 i_width;
00051     int                 i_height;
00052 
00053     bool                bRunning;
00054     bool                bOwnsQApp;
00055 
00056 #ifdef NEED_QTE_MAIN
00057     module_t *          p_qte_main;
00058 #endif
00059 
00060     QApplication*       p_QApplication;
00061     QWidget*            p_VideoWidget;
00062 
00063     event_thread_t *    p_event;
00064 };
00065 
00066 
00067 /*****************************************************************************
00068  * picture_sys_t: direct buffer method descriptor
00069  *****************************************************************************/
00070 struct picture_sys_t
00071 {
00072     QImage*             pQImage;
00073 };
00074 
00075 
00076 /*****************************************************************************
00077  * Chroma defines
00078  *****************************************************************************/
00079 #define QTE_MAX_DIRECTBUFFERS    2
00080 

Generated on Tue Dec 20 10:14:55 2005 for vlc-0.8.4a by  doxygen 1.4.2