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

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

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

revision 1.8, Sun Dec 5 13:56:13 2004 UTC revision 1.12.2.1, Fri Dec 9 05:07:31 2005 UTC
# Line 40  Line 40 
40  #define MV16_INTER_BIAS 450  #define MV16_INTER_BIAS 450
41    
42  /* vector map (vlc delta size) smoother parameters ! float !*/  /* vector map (vlc delta size) smoother parameters ! float !*/
43  #define NEIGH_TEND_16X16                10.5  #define NEIGH_TEND_16X16                0.6
44  #define NEIGH_TEND_8X8                  40.0  #define NEIGH_TEND_8X8                  1.5
45    
46  #define NEIGH_8X8_BIAS                  40  #define NEIGH_8X8_BIAS                  40
47    
48  #define BITS_MULT                               16  #define BITS_MULT                               16
# Line 68  Line 69 
69    
70  typedef struct  typedef struct
71  {  {
72            int max_dx, min_dx, max_dy, min_dy; /* maximum search range */
73    
74          /* data modified by CheckCandidates */          /* data modified by CheckCandidates */
75          int32_t iMinSAD[5];                     /* smallest SADs found so far */          int32_t iMinSAD[5];                     /* smallest SADs found so far */
76          VECTOR currentMV[5];            /* best vectors found so far */          VECTOR currentMV[5];            /* best vectors found so far */
# Line 77  Line 80 
80          int chromaX, chromaY, chromaSAD; /* info to make ChromaSAD faster */          int chromaX, chromaY, chromaSAD; /* info to make ChromaSAD faster */
81    
82          /* general fields */          /* general fields */
         int max_dx, min_dx, max_dy, min_dy; /* maximum range */  
83          uint32_t rounding;                      /* rounding type in use */          uint32_t rounding;                      /* rounding type in use */
84          VECTOR predMV;                          /* vector which predicts current vector */          VECTOR predMV;                          /* vector which predicts current vector */
85          const uint8_t * RefP[6];        /* reference pictures - N, V, H, HV, cU, cV */          const uint8_t * RefP[6];        /* reference pictures - N, V, H, HV, cU, cV */
# Line 113  Line 115 
115          const uint16_t * scan_table; /* current scan table */          const uint16_t * scan_table; /* current scan table */
116          const uint16_t * mpeg_quant_matrices;                   /* current MPEG quantization matrices */          const uint16_t * mpeg_quant_matrices;                   /* current MPEG quantization matrices */
117          int lambda[6];                          /* R-D lambdas for all 6 blocks */          int lambda[6];                          /* R-D lambdas for all 6 blocks */
118            unsigned int quant_sq;          /* quant squared - saves many multiplications in VHQ */
119    
120  } SearchData;  } SearchData;
121    
# Line 190  Line 193 
193                                           VECTOR * b_predMV,                                           VECTOR * b_predMV,
194                                           const uint32_t MotionFlags,                                           const uint32_t MotionFlags,
195                                           const MBParam * const pParam,                                           const MBParam * const pParam,
196                                           int x, int y);                                           int x, int y,
197                                             int best_sad);
198    
199    unsigned int
200    getMinFcode(const int MVmax);
201    
202  #endif                                                  /* _ESTIMATION_H_ */  #endif                                                  /* _ESTIMATION_H_ */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.12.2.1

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