[XviD-devel] Win32 SMP build fails
Dirk Knop
xvid-devel@xvid.org
Sun, 18 Aug 2002 18:28:01 +0200
Ahoy,
I fiddled around for over an hour now, but I can't get _SMP on win32 to
compile (compiler changes, include changes(just to make sure that this
isn't the cause),...).
It seems something changed in the code... here the error messages:
D:\data\PROGTEMP\XviD-18082002\xvid\xvidcore\src\motion\smp_motion_est.c(178):
error #165: too few arguments in function call
&pMB->pmvs[0]);
D:\data\PROGTEMP\XviD-18082002\xvid\xvidcore\src\motion\smp_motion_est.c(213):
error #165: too few arguments in function call
&pMB->pmvs[0]);
D:\data\PROGTEMP\XviD-18082002\xvid\xvidcore\src\motion\smp_motion_est.c(222):
error #165: too few arguments in function call
&pMB->pmvs[1]);
D:\data\PROGTEMP\XviD-18082002\xvid\xvidcore\src\motion\smp_motion_est.c(231):
error #165: too few arguments in function call
&pMB->pmvs[2]);
D:\data\PROGTEMP\XviD-18082002\xvid\xvidcore\src\motion\smp_motion_est.c(240):
error #165: too few arguments in function call
&pMB->mvs[3], &pMB->pmvs[3]);
The first is this function:
pMB->sad16 =
SEARCH16(pRef->y, pRefH->y, pRefV->y, pRefHV->y, pCurrent,
x, y, current->motion_flags, current->quant,
current->fcode, pParam, pMBs, prevMBs, &pMB->mv16,
&pMB->pmvs[0]);
The rest are all these functions:
if (sad8 < pMB->sad16)
sad8 += pMB->sad8[3] =
SEARCH8(pRef->y, pRefH->y, pRefV->y, pRefHV->y,
pCurrent, 2 * x + 1, 2 * y + 1,
pMB->mv16.x, pMB->mv16.y,
current->motion_flags, current->quant,
current->fcode, pParam, pMBs, prevMBs,
&pMB->mvs[3], &pMB->pmvs[3]);
I'm not sure if I missed something very obvious, I _think_ my
(pthreads-)setup is correct. The last time I checked some weeks ago all
worked fine with this setup at least.
I don't know if this is a known issue, I just wanted to let you know.
Best regards,
Dirk