Mercurial > mplayer.hg
annotate libvo/vesa_lvo.h @ 29121:bae666342ba9
Make tvi_v4l2 print -1 as "Current input" if the ioctl to read it failed.
Previously it printed (number of inputs + 1) which is needlessly confusing.
author | reimar |
---|---|
date | Fri, 10 Apr 2009 10:13:41 +0000 |
parents | d97a607821f1 |
children | 0a81c931ecb5 |
rev | line source |
---|---|
2869 | 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 | 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 | 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 | 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 | 21 */ |
22 | |
26029 | 23 #ifndef MPLAYER_VESA_LVO_H |
24 #define MPLAYER_VESA_LVO_H | |
2869 | 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 | 29 int vlvo_init(unsigned src_width,unsigned src_height, |
2869 | 30 unsigned x_org,unsigned y_org,unsigned dst_width, |
31 unsigned dst_height,unsigned format,unsigned dest_bpp); | |
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 | 34 |
35 uint32_t vlvo_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y); | |
36 uint32_t vlvo_draw_frame(uint8_t *src[]); | |
37 void vlvo_flip_page(void); | |
38 void vlvo_draw_osd(void); | |
39 | |
26029 | 40 #endif /* MPLAYER_VESA_LVO_H */ |