xine-lib  1.2.9
spu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2009 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine 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.
10  *
11  * xine 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.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  *
20  */
21 
22 #ifndef XINE_UTILS_SPU_H
23 #define XINE_UTILS_SPU_H
24 
25 #include <xine/attributes.h>
26 
28 
30  uint8_t black, colour;
31 };
32 
33 void _x_spu_misc_init (xine_t *);
34 
36 
37 /* in: trans = 0..255, 0=opaque
38  * out: 0..255, 0=transparent
39  */
40 int _x_spu_calculate_opacity (const clut_t *, uint8_t trans, const xine_spu_opacity_t *) XINE_PROTECTED;
41 
42 #endif
void _x_spu_misc_init(xine_t *)
Definition: spu.c:34
void _x_spu_get_opacity(xine_t *, xine_spu_opacity_t *)
Definition: spu.c:48
uint8_t colour
Definition: spu.h:30
Definition: alphablend.h:42
uint8_t black
Definition: spu.h:30
int _x_spu_calculate_opacity(const clut_t *, uint8_t trans, const xine_spu_opacity_t *)
Definition: spu.c:58
#define XINE_PROTECTED
Definition: attributes.h:73
Definition: xine_internal.h:81
Definition: spu.h:29