[cvs] / xvidcore / src / motion / motion.h Repository:
ViewVC logotype

Diff of /xvidcore/src/motion/motion.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13.2.1, Mon Sep 23 20:36:01 2002 UTC revision 1.13.2.5, Sat Nov 2 15:52:31 2002 UTC
# Line 42  Line 42 
42  #define MVzero(A) ( ((A).x)==(0) && ((A).y)==(0) )  #define MVzero(A) ( ((A).x)==(0) && ((A).y)==(0) )
43  #define MVequal(A,B) ( ((A).x)==((B).x) && ((A).y)==((B).y) )  #define MVequal(A,B) ( ((A).x)==((B).x) && ((A).y)==((B).y) )
44    
45    static const uint32_t roundtab[16] =
46                    { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 };
47    
48    /*
49     * modified rounding tables
50     * original tables see ISO spec tables 7-6 -> 7-9
51     */
52    
53    /* K = 4 */
54    static const uint32_t roundtab_76[16] = { 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1 };
55    /* K = 2 */
56    static const uint32_t roundtab_78[8] = { 0, 0, 1, 1, 0, 0, 0, 1  };
57    /* K = 1 */
58    static const uint32_t roundtab_79[4] = { 0, 1, 0, 0 };
59    
60    
61  /*  /*
62   * getref: calculate reference image pointer   * getref: calculate reference image pointer
63   * the decision to use interpolation h/v/hv or the normal image is   * the decision to use interpolation h/v/hv or the normal image is
# Line 154  Line 170 
170                                                  const IMAGE * const pRefV,                                                  const IMAGE * const pRefV,
171                                                  const IMAGE * const pRefHV);                                                  const IMAGE * const pRefHV);
172    
173    int
174    MEanalysis(     const IMAGE * const pRef,
175                            const IMAGE * const pCurrent,
176                            MBParam * const pParam,
177                            MACROBLOCK * const pMBs,
178                            const uint32_t iFcode);
179    
180    int
181    FindFcode(      const MBParam * const pParam,
182                            const FRAMEINFO * const current);
183    
184    /* used internally only */
185    
186    static VECTOR
187    GlobalMotionEst(const MACROBLOCK * const pMBs,
188                                    const MBParam * const pParam, const uint32_t iFcode);
189    
190    
191  #endif                                                  /* _MOTION_H_ */  #endif                                                  /* _MOTION_H_ */

Legend:
Removed from v.1.13.2.1  
changed lines
  Added in v.1.13.2.5

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4