[XviD-devel] [Commit] devapi4 -- Splitted motion_est.c/h

Edouard Gomez ed.gomez at free.fr
Thu Sep 11 01:28:22 CEST 2003


Radek Czyz (syskin at ihug.com.au) wrote:
> blablabla again

Commited, see complete log

2003-09-10 21:57:12 GMT	Edouard Gomez <ed.gomez at free.fr>	patch-42

    Summary:
      Motion Estimation module splitting.
    Revision:
      xvidcore--devapi4--1.0--patch-42

    The motion estimation module was the biggest file of the source
    tree. After some previous attempts, sysKin decided to split it
    up again. This time he's done it right.
    
    This split up just changes the organization of ME functions
    inside different files. This should help a bit in keeping the
    motion estimation being manageable by a normal human ;-)
    
    Here is the splitting logic quoted from sysKin's email to
    xvid-devel:
     - estimation.h: header files #included in all ME modules:
                     + deftypes,
                     + macros
                     + constants
                     NB: no code.
     - estimation_bvop.c: motion estimation for b-vops.
                          everything in it :)
     - estimation_common.c: functions shared among all ME
                            modules:
                            + diamonds
                            + subpel
                            + refinement
                            + picture
                            + manipulation
                            + tables
                            + ...  etc.
     - estimation_gmc.c: gruel's GME code
     - estimation_pvop.c: ME for p-vops. Also SAD-based mode
                          decision
     - estimation_rd_based.c: everything R-D-based: mode
                              decison (including _Fast) and ME.
     - gmc.c, gmc.h: no change.

    new files:
     src/motion/estimation.h src/motion/estimation_bvop.c
     src/motion/estimation_common.c src/motion/estimation_gmc.c
     src/motion/estimation_pvop.c src/motion/estimation_rd_based.c
     src/motion/motion_inlines.h src/motion/vop_type_decision.c

    removed files:
     src/motion/motion_est.c src/motion/motion_est.h
     src/motion/smp_motion_est.c src/motion/smp_motion_est.h

    modified files:
     build/generic/sources.inc build/win32/libxvidcore.dsp
     src/bitstream/mbcoding.h src/motion/gmc.c src/motion/gmc.h
     src/motion/motion.h src/motion/motion_comp.c src/motion/sad.c
     src/motion/sad.h src/prediction/mbprediction.c
     src/prediction/mbprediction.h src/utils/mbfunctions.h

-- 
Edouard Gomez


More information about the XviD-devel mailing list