annotate libvo/vesa_lvo.h @ 30348:afbbefa368ee

Fix sub_free to actually free the subtitle data.
author reimar
date Fri, 22 Jan 2010 22:10:28 +0000
parents d97a607821f1
children 0a81c931ecb5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
1 /*
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
2 * vo_vesa interface to Linux Video Overlay
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
3 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
4 * copyright (C) 2001 Nick Kurshev <nickols_k@mail.ru>
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
5 *
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
6 * This file is part of MPlayer.
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
7 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
8 * MPlayer is free software; you can redistribute it and/or modify
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
9 * it under the terms of the GNU General Public License as published by
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
11 * (at your option) any later version.
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
12 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
13 * MPlayer is distributed in the hope that it will be useful,
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
16 * GNU General Public License for more details.
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
17 *
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
18 * You should have received a copy of the GNU General Public License along
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
21 */
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
22
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
23 #ifndef MPLAYER_VESA_LVO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
24 #define MPLAYER_VESA_LVO_H
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
25
26162
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
26 #include <stdint.h>
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
27
13346
046918174c25 fix not matching prototype, patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>; remove ^M
faust3
parents: 2971
diff changeset
28 int vlvo_preinit(const char *drvname);
2971
56faed773768 Added preinit of lvo stuff
nick
parents: 2869
diff changeset
29 int vlvo_init(unsigned src_width,unsigned src_height,
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
30 unsigned x_org,unsigned y_org,unsigned dst_width,
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
31 unsigned dst_height,unsigned format,unsigned dest_bpp);
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
32 void vlvo_term( void );
13346
046918174c25 fix not matching prototype, patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>; remove ^M
faust3
parents: 2971
diff changeset
33 uint32_t vlvo_query_info(uint32_t format);
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
34
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
35 uint32_t vlvo_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y);
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
36 uint32_t vlvo_draw_frame(uint8_t *src[]);
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
37 void vlvo_flip_page(void);
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
38 void vlvo_draw_osd(void);
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
39
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
40 #endif /* MPLAYER_VESA_LVO_H */