[XviD-devel] api changes : colorspace

Michael Militzer xvid-devel@xvid.org
Mon, 28 Oct 2002 20:54:56 +0100


Hi,

----- Original Message ----- 
From: "peter ross" <suxen_drol@hotmail.com>
To: <xvid-devel@xvid.org>
Sent: Sunday, October 27, 2002 4:05 AM
Subject: [XviD-devel] api changes : colorspace


> 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?

cool
 
> 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)

great!

bye,
Michael