annotate libvo/aspect.h @ 11007:48b7d7aa444d

configure altivec patch by Magnus Damm <damm@opensource.se> * CC is not checked for Altivec support (see above). The patch adds checks for FSF-style flags and Darwin-style flags. The check is performed regardless of the gcc version. * Disabling of Altivec. --disable-altivec is broken today if /proc/cpuinfo shows that your cpu supports altivec. The patch takes care of that. * "GCC & CPU optimization abilities" always show that it is optimizing for the cpu configure is running on, it should show the optimization that is enabled for gcc instead. Cosmetic change only, but confusing as it is today IMHO. * Runtime CPU-detection now enables altivec for powerpc. Now with the patch it should be possible to use --enable-altivec, --disable-altivec, --enable-runtime-cpudetection regardless of powerpc cpu type. The configure script handles altivec support in the following order: 1. Altivec is enabled by default if your cpu supports it. 2. --enable-runtime-cpudetection will enable altivec support. 3. If you have forced altivec on/off with --enable-altivec/--disable-altivec, then your selection will override the previous altivec configuration. 4. If altivec is enabled but the compiler doesn't support it, altivec gets turned off.
author attila
date Sat, 04 Oct 2003 23:06:04 +0000
parents 72c87b2ec779
children 3f0d00abc073
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2053
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
1 #ifndef __ASPECT_H
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
2 #define __ASPECT_H
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
3 /* Stuff for correct aspect scaling. */
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
4
6307
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
5 extern int vo_panscan_x;
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
6 extern int vo_panscan_y;
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
7 extern float vo_panscan_amount;
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
8
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
9 extern void panscan_init( void );
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
10 extern void panscan_calc( void );
72c87b2ec779 added panscan support for xmga/xvidix
pontscho
parents: 2249
diff changeset
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
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
22
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
23 #endif
720ca9249e4e Monitor aspect stuff.
atmos4
parents:
diff changeset
24