[XviD-devel] pmvdata,etc

peter ross xvid-devel@xvid.org
Mon, 01 Jul 2002 16:38:33 +1000


found the cause of my get_pmvdata() problem.
psad[3 /* top-right */] appears to be incorrectly caclulated.
gruel, did you intend it this way.

/xvidcore/src/prediction/mbprediction.h:

362c362
<               psad[3] = pMBs[xin3 + yin3 * x_dim].sad8[vec3];
---
>               psad[3] = pMBs[xin2 + yin2 * x_dim].sad8[vec3];


also, why does the initial block (x=0,y=0,block=0) get given a psad[0 /* 
minimum */] = 0 ??  who would setting this to MV_MAX_ERROR affect encoding 
performance??

-- pete


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com