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

Vincent GOMEZ xvid-devel@xvid.org
Thu, 26 Sep 2002 12:00:26 +0200 (MET DST)


> 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 !!!
> };

Moreover this is MSVC syntax...

I love nasm but damn, it does not alow debug, nor profiling, nor structure fields easily mapable between C<->asm. I know this is not what most of you want, but why not extend exeisting mmx wrappers so you can use macros in C code to write Asm code. One example could be mplayer using a mmx.h file that wraps all mmx opcodes. Mplayer coders striped the msvc part of the file, but i know there's one with a more complete compiler support. Plus this would help me doing a nice automake/autoconf project to unify all unix/cygwin/mingw makefiles that only differs on 2 or 3 values...


Just my opinion, this is not intended to war flame...