Mercurial > mplayer.hg
annotate mplayer.h @ 23510:a6c619ee9d30
Teletext support for tv:// (v4l and v4l2 only)
modified patch from Otvos Attila oattila at chello dot hu
Module uses zvbi library for all low-level VBI operations (like I/O with vbi
device, converting vbi pages into usefull vbi_page stuctures, rendering them
into RGB32 images).
All teletext related stuff (except properties, slave commands and rendering
osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented
in tvi_vbi.c
New properties:
teletext_page - switching between pages
teletext_mode - switch between on/off/opaque/transparent modes
teletext_format - (currently read-only) allows to get format info
(black/white,gray,text)
teletext_half_page - trivial zooming (displaying top/bottom half of teletext
page)
New slave commands:
teletext_add_dec - user interface for jumping to any page by editing page number
interactively
teletext_go_link - goes though links, specified on current page
author | voroshil |
---|---|
date | Sun, 10 Jun 2007 00:06:12 +0000 |
parents | 2a66d95355f0 |
children | 88bed2131f19 |
rev | line source |
---|---|
724 | 1 |
2 #ifndef __MPLAYER_MAIN | |
3 #define __MPLAYER_MAIN | |
4 | |
4818
3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
pontscho
parents:
4798
diff
changeset
|
5 extern char* current_module; |
724 | 6 |
8933
bfe1b826cff1
add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents:
8717
diff
changeset
|
7 extern char * dvd_device; |
bfe1b826cff1
add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents:
8717
diff
changeset
|
8 extern char * cdrom_device; |
bfe1b826cff1
add DVD and CDRom device entry's, and fix two 10l bug
pontscho
parents:
8717
diff
changeset
|
9 |
7526 | 10 extern char ** audio_fm_list; |
11 extern char ** video_fm_list; | |
7582 | 12 extern char ** video_driver_list; |
13 extern char ** audio_driver_list; | |
6796 | 14 extern char * video_driver; |
15 extern char * audio_driver; | |
16 extern float audio_delay; | |
17 | |
6619
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
18 extern int osd_level; |
18287
292337d09af2
Remove updating of vo_mouse_timer_const from the main loop and also
uau
parents:
17566
diff
changeset
|
19 extern unsigned int osd_visible; |
6619
f554e7271587
fix volume handling ( step 2 ) -- add balance support and some code cleanup and fix
pontscho
parents:
6335
diff
changeset
|
20 |
6796 | 21 extern char * font_name; |
23338
2a66d95355f0
add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
ben
parents:
21370
diff
changeset
|
22 extern char * sub_font_name; |
6796 | 23 extern float font_factor; |
7541 | 24 extern float movie_aspect; |
9055 | 25 extern float force_fps; |
6796 | 26 |
9870
09d630a4f991
support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>
henry
parents:
9746
diff
changeset
|
27 //extern char **sub_name; |
6796 | 28 extern float sub_delay; |
29 extern float sub_fps; | |
30 extern int sub_auto; | |
7019 | 31 extern int sub_pos; |
32 extern int sub_unicode; | |
9056 | 33 extern char * sub_cp; |
8717 | 34 extern int suboverlap_enabled; |
6796 | 35 |
6627 | 36 extern char * filename; |
37 | |
7526 | 38 extern int stream_cache_size; |
7019 | 39 extern int force_ni; |
40 extern int index_mode; | |
8311 | 41 extern int autosync; |
7559
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
42 |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
43 // libmpcodecs: |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
44 extern int fullscreen; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
45 extern int flip; |
b645204ea527
some cleanup - made private vars/funcs static, removed obsolete externs
arpi
parents:
7541
diff
changeset
|
46 |
7019 | 47 extern int frame_dropping; |
48 | |
49 extern int auto_quality; | |
50 | |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
51 extern int audio_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
52 extern int video_id; |
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
53 extern int dvdsub_id; |
8423 | 54 extern int vobsub_id; |
7821
1efdf16883a0
add and extended Gregory Kovriga's <gkovriga@techunix.technion.ac.il> patch
pontscho
parents:
7582
diff
changeset
|
55 |
19104
2ec2301183cd
marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
reynaldo
parents:
18287
diff
changeset
|
56 extern void exit_player(const char* how); |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
9870
diff
changeset
|
57 extern void update_set_of_subtitles(void); |
5919 | 58 |
6335
e9bd97d5c5cc
warning & newline fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
6280
diff
changeset
|
59 #endif |