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

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

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

revision 1564, Sun Dec 5 04:53:01 2004 UTC revision 1569, Thu Dec 9 04:58:12 2004 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: estimation.h,v 1.7 2004-12-05 04:53:01 syskin Exp $   * $Id: estimation.h,v 1.10 2004-12-09 04:58:12 syskin Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 30  Line 30 
30    
31  #include "../portab.h"  #include "../portab.h"
32  #include "../global.h"  #include "../global.h"
 #include "../image/reduced.h"  
33    
34  /* hard coded motion search parameters */  /* hard coded motion search parameters */
35    
# Line 69  Line 68 
68    
69  typedef struct  typedef struct
70  {  {
71            int max_dx, min_dx, max_dy, min_dy; /* maximum search range */
72    
73          /* data modified by CheckCandidates */          /* data modified by CheckCandidates */
74          int32_t iMinSAD[5];                     /* smallest SADs found so far */          int32_t iMinSAD[5];                     /* smallest SADs found so far */
75          VECTOR currentMV[5];            /* best vectors found so far */          VECTOR currentMV[5];            /* best vectors found so far */
# Line 78  Line 79 
79          int chromaX, chromaY, chromaSAD; /* info to make ChromaSAD faster */          int chromaX, chromaY, chromaSAD; /* info to make ChromaSAD faster */
80    
81          /* general fields */          /* general fields */
         int max_dx, min_dx, max_dy, min_dy; /* maximum range */  
82          uint32_t rounding;                      /* rounding type in use */          uint32_t rounding;                      /* rounding type in use */
83          VECTOR predMV;                          /* vector which predicts current vector */          VECTOR predMV;                          /* vector which predicts current vector */
84          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 114  Line 114 
114          const uint16_t * scan_table; /* current scan table */          const uint16_t * scan_table; /* current scan table */
115          const uint16_t * mpeg_quant_matrices;                   /* current MPEG quantization matrices */          const uint16_t * mpeg_quant_matrices;                   /* current MPEG quantization matrices */
116          int lambda[6];                          /* R-D lambdas for all 6 blocks */          int lambda[6];                          /* R-D lambdas for all 6 blocks */
117            unsigned int quant_sq;          /* quant squared - saves many multiplications in VHQ */
118    
119  } SearchData;  } SearchData;
120    
# Line 193  Line 194 
194                                           const MBParam * const pParam,                                           const MBParam * const pParam,
195                                           int x, int y);                                           int x, int y);
196    
197    unsigned int
198    getMinFcode(const int MVmax);
199    
200  #endif                                                  /* _ESTIMATION_H_ */  #endif                                                  /* _ESTIMATION_H_ */

Legend:
Removed from v.1564  
changed lines
  Added in v.1569

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