root/modules/video_output/qte/qte.h
| Revision 38540559f5c346a0ce719217cd22e453dc0c8479, 2.9 kB (checked in by Jean-Paul Saman <jpsaman@videolan.org>, 3 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | /***************************************************************************** |
| 2 | * qte.h : QT Embedded plugin for vlc |
| 3 | ***************************************************************************** |
| 4 | * Copyright (C) 1998-2002 the VideoLAN team |
| 5 | * $Id$ |
| 6 | * |
| 7 | * Authors: Gerald Hansink <gerald.hansink@ordina.nl> |
| 8 | * Jean-Paul Saman <jpsaman _at_ videolan _dot_ org> |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
| 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
| 23 | *****************************************************************************/ |
| 24 | |
| 25 | /***************************************************************************** |
| 26 | * Preamble |
| 27 | *****************************************************************************/ |
| 28 | |
| 29 | /***************************************************************************** |
| 30 | * event_thread_t: QT Embedded event thread |
| 31 | *****************************************************************************/ |
| 32 | typedef struct event_thread_t |
| 33 | { |
| 34 | VLC_COMMON_MEMBERS |
| 35 | |
| 36 | vout_thread_t * p_vout; |
| 37 | |
| 38 | } event_thread_t; |
| 39 | |
| 40 | |
| 41 | /***************************************************************************** |
| 42 | * vout_sys_t: video output method descriptor |
| 43 | ***************************************************************************** |
| 44 | * This structure is part of the video output thread descriptor. |
| 45 | * It describes the specific properties of an video output plugin |
| 46 | *****************************************************************************/ |
| 47 | struct vout_sys_t |
| 48 | { |
| 49 | /* Internal settings and properties */ |
| 50 | int i_width; |
| 51 | int i_height; |
| 52 | |
| 53 | bool bRunning; |
| 54 | bool bOwnsQApp; |
| 55 | |
| 56 | #ifdef NEED_QTE_MAIN |
| 57 | module_t * p_qte_main; |
| 58 | #endif |
| 59 | |
| 60 | QApplication* p_QApplication; |
| 61 | QWidget* p_VideoWidget; |
| 62 | |
| 63 | event_thread_t * p_event; |
| 64 | }; |
| 65 | |
| 66 | |
| 67 | /***************************************************************************** |
| 68 | * picture_sys_t: direct buffer method descriptor |
| 69 | *****************************************************************************/ |
| 70 | struct picture_sys_t |
| 71 | { |
| 72 | QImage* pQImage; |
| 73 | }; |
| 74 | |
| 75 | |
| 76 | /***************************************************************************** |
| 77 | * Chroma defines |
| 78 | *****************************************************************************/ |
| 79 | #define QTE_MAX_DIRECTBUFFERS 2 |
| 80 |
Note: See TracBrowser for help on using the browser.
