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

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

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

revision 851, Sat Feb 15 15:22:19 2003 UTC revision 973, Sat Apr 5 15:54:59 2003 UTC
# Line 26  Line 26 
26   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
27   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
28   *   *
29   *  $Id: motion_est.h,v 1.2 2003-02-15 15:22:18 edgomez Exp $   *  $Id: motion_est.h,v 1.5 2003-04-05 15:54:58 syskin Exp $
30   *   *
31   ***************************************************************************/   ***************************************************************************/
32    
# Line 90  Line 90 
90          (int)(29.6436*NEIGH_TEND_8X8 + 0.5), (int)(36.4949*NEIGH_TEND_8X8 + 0.5)        };          (int)(29.6436*NEIGH_TEND_8X8 + 0.5), (int)(36.4949*NEIGH_TEND_8X8 + 0.5)        };
91    
92  // mv.length table  // mv.length table
93  static const uint32_t mvtab[33] = {  static const int mvtab[64] = {
94          1, 2, 3, 4, 6, 7, 7, 7,          1, 2, 3, 4, 6, 7, 7, 7,
95          9, 9, 9, 10, 10, 10, 10, 10,          9, 9, 9, 10, 10, 10, 10, 10,
96          10, 10, 10, 10, 10, 10, 10, 10,          10, 10, 10, 10, 10, 10, 10, 10,
97          10, 11, 11, 11, 11, 11, 11, 12, 12                  10, 11, 11, 11, 11, 11, 11, 12,
98  };                  12, 12, 12, 12, 12, 12, 12, 12,
99                    12, 12, 12, 12, 12, 12, 12, 12,
100                    12, 12, 12, 12, 12, 12, 12, 12, 12 };
101    
102  static const int DQtab[4] = {  static const int DQtab[4] = {
103          -1, -2, 1, 2          -1, -2, 1, 2
# Line 103  Line 105 
105    
106  #define RRV_MV_SCALEDOWN(a)     ( (a)>=0 ? (a+1)/2 : (a-1)/2 )  #define RRV_MV_SCALEDOWN(a)     ( (a)>=0 ? (a+1)/2 : (a-1)/2 )
107    
 static const VECTOR zeroMV = {0,0};  
   
108  typedef struct  typedef struct
109  {  {
110  // general fields  // general fields
# Line 146  Line 146 
146          VECTOR directmvF[4];          VECTOR directmvF[4];
147          VECTOR directmvB[4];          VECTOR directmvB[4];
148          const VECTOR * referencemv;          const VECTOR * referencemv;
149    // _BITS stuff
150            int16_t * dctSpace;
151    
152  } SearchData;  } SearchData;
153    

Legend:
Removed from v.851  
changed lines
  Added in v.973

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