[XviD-devel] api changes : colorspace

peter ross xvid-devel@xvid.org
Sun, 27 Oct 2002 14:05:08 +1100


hi

new colorspace stuff is ready for commit. but to make use of it,
the api needs to be changed, specifically:
* add "XVID_ENC_PARAM.stride" field
* the meaning for stride (encoder/decoder) is changed to:
  "number of bytes per image row" (currently its pixel per image row)
  note: stride is only relevant to packed colorspaces

this is the first step towards api3. is everyone cool with it?

the colorspace patch provides:
* support for almost any image size: mod 2x2 (progressive), or
  mod 2x4 (interlaced). partial images (images which are not mod 16x16)
  are now padded to improve compessibility.
* interlacing support; but only yuyv/uyvy is mmx
* all conversions now support vertical flipping
* michaels "memory access violation" protection idea
* minor pavgb tweaks for yuyv/uyvy
* heavily macro'd code; decreased source-code size
* abgr/rgba input/output support (partially mmx optimized)

-- pete

_________________________________________________________________
Broadband? Dial-up? Get reliable MSN Internet Access. 
http://resourcecenter.msn.com/access/plans/default.asp