[XviD-devel] DivX5.03 rounding?
Radek Czyz
radoslaw at syskin.cjb.net
Fri Feb 7 00:13:54 CET 2003
Hello Christoph,
> Are we sure that XVID does correct direct mode Qpel? I may have asked
> earlier, but I remember something that direct mode always uses 8x8 blocks,
> not 16x16 as we do, even if collocated block is INTER, not INTER4V.
> For halfpel this doesn't matter, but for qpel it does.
That's OK, we do it in 8x8 as well. MODE_DIRECT_NO4V is not set in
qpel mode, so motion compensation to be performed on 8x8 blocks.
[code]
if (Data->qpel || b_mb->mode == MODE_INTER4V) pMB->mode = MODE_DIRECT;
else pMB->mode = MODE_DIRECT_NO4V; //for faster compensation
[/code]
Radek
More information about the XviD-devel
mailing list