[XviD-devel] gme code

elcabesa elcabesa at inwind.it
Thu Nov 13 13:32:00 CET 2003


hi 
i'm still looking gme code becouse sometimes it doesn't work for me.

are these lines right?

if (current->motion_flags & XVID_ME_GME_REFINE) {
			gmcval = GlobalMotionEstRefine(&current->warp,
								current->mbs, pParam,
								current, reference,
								&current->image,
								&reference->image,
								&pEnc->vInterH,
								&pEnc->vInterV,
								&pEnc->vInterHV);
			gmcval += /*current->quant */ 2 * (int)
(pParam->mb_width*pParam->mb_height);
		}

		gmcval = globalSAD(&current->warp, pParam, current->mbs,
							current,
							&reference->image,
							&current->image,
							pEnc->vGMC.y);
		gmcval += /*current->quant*/ 2 * (int)(pParam->mb_width*pParam->mb_height);

shouldn't is be

if() {
gmcval=
}else
{
gmcval=
}

or it doesn't matter?




More information about the XviD-devel mailing list