CVS: main configure,1.799,1.800
Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv15690 Modified Files: configure Log Message: int_fastXY_t emulation Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.799 retrieving revision 1.800 diff -u -r1.799 -r1.800 --- configure 1 Nov 2003 14:57:40 -0000 1.799 +++ configure 2 Nov 2003 10:14:05 -0000 1.800 @@ -2102,6 +2102,30 @@ echores "$_inttypes" +echocheck "int_fastXY_t in inttypes.h" +cat > $TMPC << EOF +#include <inttypes.h> +int main(void) { +volatile int_fast16_t v= 0; +return v; } +EOF +_fast_inttypes=no +cc_check && _fast_inttypes=yes +if test "$_fast_inttypes" = yes ; then + # nothing to do + : +else + _def_fast_inttypes=' + typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;' +fi +echores "$_fast_inttypes" + + echocheck "word size" _mp_wordsize="#undef MP_WORDSIZE" cat > $TMPC << EOF @@ -6198,6 +6222,9 @@ /* C99 lrintf function available */ $_def_lrintf + +/* int_fastXY_t emulation */ +$_def_fast_inttypes /* nanosleep support */ $_def_nanosleep
On Sun, 2 Nov 2003 11:14:41 +0100 Michael Niedermayer CVS <michael@mplayerhq.hu> wrote:
+ typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;'
Wont this break stuff on 64bit machines ? Attila Kinali -- egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger -- reeler in +kaosu
Hi On Sunday 02 November 2003 12:24, Attila Kinali wrote:
On Sun, 2 Nov 2003 11:14:41 +0100
Michael Niedermayer CVS <michael@mplayerhq.hu> wrote:
+ typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;'
Wont this break stuff on 64bit machines ? why?
[...] -- Michael level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049) median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535) buf[i]= qp - buf[i-1]; (violates patent #?) for more examples, see http://mplayerhq.hu/~michael/patent.html stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
On Sun, 2 Nov 2003 13:48:05 +0100 Michael Niedermayer <michaelni@gmx.at> wrote:
Hi
On Sunday 02 November 2003 12:24, Attila Kinali wrote:
On Sun, 2 Nov 2003 11:14:41 +0100
Michael Niedermayer CVS <michael@mplayerhq.hu> wrote:
+ typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;'
Wont this break stuff on 64bit machines ? why?
because int is 64bit and not 32. Or doesnt this matter here ? Attila Kinali -- egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger -- reeler in +kaosu
On Sun, 2 Nov 2003 13:48:05 +0100
Michael Niedermayer <michaelni@gmx.at> wrote:
Hi
On Sunday 02 November 2003 12:24, Attila Kinali wrote:
On Sun, 2 Nov 2003 11:14:41 +0100
Michael Niedermayer CVS <michael@mplayerhq.hu> wrote:
+ typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;'
Wont this break stuff on 64bit machines ?
why?
because int is 64bit and not 32. Or doesnt this matter here ? doesnt matter, int_fastXY* means the fastest type which is equal or larger
Hi On Sunday 02 November 2003 15:03, Attila Kinali wrote: then XY [...] -- Michael level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049) median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535) buf[i]= qp - buf[i-1]; (violates patent #?) for more examples, see http://mplayerhq.hu/~michael/patent.html stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
On Sun, Nov 02, 2003 at 03:03:59PM +0100, Attila Kinali wrote:
On Sun, 2 Nov 2003 13:48:05 +0100 Michael Niedermayer <michaelni@gmx.at> wrote:
Hi
On Sunday 02 November 2003 12:24, Attila Kinali wrote:
On Sun, 2 Nov 2003 11:14:41 +0100
Michael Niedermayer CVS <michael@mplayerhq.hu> wrote:
+ typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;'
Wont this break stuff on 64bit machines ? why?
because int is 64bit and not 32. Or doesnt this matter here ?
Int is 32bit everywhere. Rich
participants (4)
-
Attila Kinali -
D Richard Felker III -
Michael Niedermayer -
Michael Niedermayer CVS