Mercurial > mplayer.hg
annotate libvo/aspect.h @ 26381:4617c374f752
demux_real.c: Always use MP_NOPTS_VALUE for unknown pts
demux_real.c still had code that used either 0 or MP_NOPTS_VALUE for
unknown timestamps depending on correct_pts setting. It should have
been removed in svn commit 25988 "Change to always use MP_NOPTS_VALUE
(instead of sometimes 0) for unknown pts.".
author | uau |
---|---|
date | Sat, 12 Apr 2008 15:51:15 +0000 |
parents | 4129c8cfa742 |
children | 9e739bdb049c |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_ASPECT_H |
2 #define MPLAYER_ASPECT_H | |
2053 | 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); |
25927
f4c83afa0683
Add aspect_fit declaration missing for w32_common.
reimar
parents:
25535
diff
changeset
|
22 void aspect_fit(int *srcw, int *srch, int fitw, int fith); |
2053 | 23 |
26029 | 24 #endif /* MPLAYER_ASPECT_H */ |