]> git.sesse.net Git - vlc/blob - modules/video_output/picture.h
6742c86ecb5e8bfb6cadc24f97bae7c0243b92a4
[vlc] / modules / video_output / picture.h
1 /*****************************************************************************
2  * picture.h:
3  *****************************************************************************
4  * Copyright (C) 2004-2005 VideoLAN
5  * $Id$
6  *
7  * Authors: Antoine Cellerier <dionoea@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #ifndef _PICTURE_VOUT_H
25 #define _PICTURE_VOUT_H 1
26
27 #define PICTURE_VOUT_E_AVAILABLE 0
28 #define PICTURE_VOUT_E_OCCUPIED 1
29 struct picture_vout_e_t {
30     picture_t *p_picture;
31     int i_status;
32     char *psz_id;
33 };
34 struct picture_vout_t
35 {
36     vlc_mutex_t lock;
37     int i_picture_num;
38     struct picture_vout_e_t *p_pic;
39 };
40
41 #endif