[XviD-devel] b-frames motion estimation commited

Christoph Lampert xvid-devel@xvid.org
Sun, 28 Jul 2002 15:07:45 +0200 (CEST)


On Sun, 28 Jul 2002, Christoph Lampert wrote:
> Also, I fixed a problem with direct mode. The last thing to do (as far as
> I see) from feature point of view is reactivate SKIP mode in combination 
> with B-frames, which needs the previously discussed feature of checking 
> all intermediate B-frames before SKIPping a P-frame macroblock.

This is now done, too. P_frame MBs are only SKIPed if B-frames inbetween
are close enough (SAD < BFRAME_SKIP_THRESHHOLD which is 16!).
The check for SKIP is now performed in encode_pframe. If the block is
skiped, MBCoding() is not called at all, only MBSkip().

Please test!

gruel

-- 
Christoph H. Lampert chl@math.uni-bonn.de | Diese Signature wurde maschi-     
Beringstr. 6, Raum 14 Tel. (0228) 73-2948 | nell erstellt und bedarf
Sprechstunden: keine, aber meistens da    | keiner Unterschrift. AZ 27B-6