[XviD-devel] new .asm file (dev-api-3 only)

Christoph Lampert xvid-devel@xvid.org
Thu, 26 Sep 2002 11:58:27 +0200 (CEST)


On 26 Sep 2002, skal wrote:

> > Can't this be solved somehow different? 
> > 
> 
> 	this is a recurrent issue. Usually, one put the comment
> 	on the declaration, not the code. For instance, image.h
> 	should read:
> 
> struct IMAGE {
> #pragma pack(1)      // <- just to be sure the compiler behaves.
>   uint8_t *Y, *U, V; // WARNING! If you change this, 
> 		     // change edge_mmx.asm code too !!!
> };

Won't help on 64bit, will it? 
XviD should work out of the box for x86-64, too... including ASM... 

Isn't there at least of constant "sizeof(uint8_t*)" available for nasm? 

gruel