Mercurial > mplayer.hg
annotate libvo/aspect.h @ 19437:c73bf418b291
new stream_ctrl to get currently playing chapter (needed for stream-driven relative chapter seeking)
author | nicodvb |
---|---|
date | Fri, 18 Aug 2006 18:58:38 +0000 |
parents | 72c87b2ec779 |
children | 3f0d00abc073 |
rev | line source |
---|---|
2053 | 1 #ifndef __ASPECT_H |
2 #define __ASPECT_H | |
3 /* Stuff for correct aspect scaling. */ | |
4 | |
6307 | 5 extern int vo_panscan_x; |
6 extern int vo_panscan_y; | |
7 extern float vo_panscan_amount; | |
8 | |
9 extern void panscan_init( void ); | |
10 extern void panscan_calc( void ); | |
11 | |
2249
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
12 void aspect_save_orig(int orgw, int orgh); |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
13 |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
14 void aspect_save_prescale(int prew, int preh); |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
15 |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
16 void aspect_save_screenres(int scrw, int scrh); |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
17 |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
18 #define A_ZOOM 1 |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
19 #define A_NOZOOM 0 |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
20 |
48f0ac1e9d13
Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
atmos4
parents:
2055
diff
changeset
|
21 void aspect(int *srcw, int *srch, int zoom); |
2053 | 22 |
23 #endif | |
24 |