[XviD-devel] [Future PATCH] I need testers for unified Makefile

Christoph Lampert xvid-devel@xvid.org
Mon, 3 Feb 2003 00:05:33 +0100 (CET)


On Sun, 2 Feb 2003, Edouard Gomez wrote:

> Christoph Lampert (chl@math.uni-bonn.de) wrote:
> > [...]
> > checking size of int *... 4
> > checking whether byte ordering is bigendian... yes
> > 
> > Well done, GomGom, seems to work fine, except for the speeeeed (4 fps...)
> 
> well, 32bit targets are all working, but i fear 64bit target
> (mips[lb]64, alpha or ia64) may experience problems with bitstream
> functions.

That was MIPS R5000 which has 64bit registers, but I guess since int-size
is 32, it behaves just like ordinary 32bit. 

I tried again with -DARCH_IS_64BIT  and it did compile and also didn't
crash, but there were compiler warnings of the type 

../../src/encoder.c:887: warning: cast from pointer to integer of
different size

for "DECLARE_ALIGNED_MATRIX" and what is strangest: cactus test was 
much smaller filesize at much higher PSNR! 

So maybe there's something wrong with image conversion already? 




bash-2.05a$ bzcat cactus.pgm.bz2 | ./xvid_stat -m 1
xvid_stat - XviD core library test program written by Christoph Lampert
2002

Trying to retreive width and height from PGM header
Frame     0: intra 1, enctime= 126.9 ms, size=  3119 bytes dectime =  76.3
ms PSNR 40.74
Frame     1: intra 0, enctime= 295.7 ms, size=   344 bytes dectime =  26.2
ms PSNR 41.21
Frame     2: intra 0, enctime= 268.5 ms, size=   811 bytes dectime =  38.8
ms PSNR 42.47
Avg. Q6 br 0900 ( 0.43 bpp) size   1424 (  284 kbps / 0.13
bpp) enc:    4.3 fps, dec:   21.2 fps
PSNR P(2): 41.84 ( 41.21 , 42.47 ; 0.3650 ) I(1): 40.74 ( 40.74 , 40.74
; 0.0000 )