[XviD-devel] pMB->pmvs []

Michael Militzer xvid-devel@xvid.org
Wed, 6 Nov 2002 22:52:54 +0100


Hi,

----- Original Message -----
From: "Christoph Lampert" <chl@math.uni-bonn.de>
To: <xvid-devel@xvid.org>
Sent: Monday, November 04, 2002 9:59 PM
Subject: [XviD-devel] pMB->pmvs []


>
> Hi,
>
> after fiddling with ME another time, I decided I'd like to get rid
> of the pMB->pmvs[] field in macroblock structure. Instead, the relative
> MV (pMB->mvs[]-predictor) could be calculated just before MBCoding,
> when it's neede for the first (and only) time.
>
> This means we might have to call get_pmv() another time, but it would save
> us setting the stupid pmvs[0-3] fields every time we change motion vectors
> or encoding type.
>
> When I finally implement a faster get_pmv is might even save us a tiny
> little bit of time.
>
> What do you think?

I think this is a good idea. We would also get rid of all those if
statements in motion_est.c which are needed because the pmvs are calculated
differently in qpel and halfpel mode...

Michael