Mercurial > mplayer.hg
annotate libvo/vesa_lvo.h @ 28992:947ef23ba798
Test if create_vdp_decoder() might succeed by calling it from config()
with a small value for max_reference_frames.
This does not make automatic recovery by using software decoder possible,
but lets MPlayer fail more graciously on - actually existing - buggy
hardware that does not support certain H264 widths when using
hardware accelerated decoding (784, 864, 944, 1024, 1808, 1888 pixels on
NVIDIA G98) and if the user tries to hardware-decode more samples at
the same time than supported.
Might break playback of H264 Intra-Only samples on hardware with very
little video memory.
author | cehoyos |
---|---|
date | Sat, 21 Mar 2009 20:11:05 +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 */ |