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

Diff of /xvidcore/src/global.h

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

revision 1.13.2.7, Sat Jan 4 06:14:32 2003 UTC revision 1.22, Fri Apr 4 22:16:15 2003 UTC
# Line 25  Line 25 
25    
26  typedef struct  typedef struct
27  {  {
28            VECTOR duv[3];
29    }
30    WARPPOINTS;
31    
32    /* save all warping parameters for GMC once and for all, instead of
33       recalculating for every block. This is needed for encoding&decoding
34       When switching to incremental calculations, this will get much shorter
35    */
36    
37    /*      we don't include WARPPOINTS wp  here, but in FRAMEINFO itself */
38    
39    typedef struct
40    {
41            int num_wp;             //      [input]: 0=none, 1=translation, 2,3 = warping
42                                                            //  a value of -1 means: "structure not initialized!"
43            int s;                                  //  [input]: calc is done with 1/s pel resolution
44    
45            int W;
46            int H;
47    
48            int ss;
49            int smask;
50            int sigma;
51    
52            int r;
53            int rho;
54    
55            int i0s;
56            int j0s;
57            int i1s;
58            int j1s;
59            int i2s;
60            int j2s;
61    
62            int i1ss;
63            int j1ss;
64            int i2ss;
65            int j2ss;
66    
67            int alpha;
68            int beta;
69            int Ws;
70            int Hs;
71    
72            int dxF, dyF, dxG, dyG;
73            int Fo, Go;
74            int cFo, cGo;
75    }
76    GMC_DATA;
77    
78    
79    typedef struct
80    {
81          uint8_t *y;          uint8_t *y;
82          uint8_t *u;          uint8_t *u;
83          uint8_t *v;          uint8_t *v;
# Line 41  Line 94 
94          uint32_t *tail;          uint32_t *tail;
95          uint32_t *start;          uint32_t *start;
96          uint32_t length;          uint32_t length;
97            uint32_t initpos;
98  }  }
99  Bitstream;  Bitstream;
100    
# Line 80  Line 134 
134    
135          VECTOR b_mvs[4];          VECTOR b_mvs[4];
136          VECTOR b_qmvs[4];          VECTOR b_qmvs[4];
 //      VECTOR b_pmvs[1];  
   
         // bframe direct mode  
   
 //      VECTOR directmv[4];  
 //      VECTOR deltamv;  
137    
138          int mb_type;          int mb_type;
         int dbquant;  
139    
140          // stuff for block based ME (needed for Qpel ME)          // stuff for block based ME (needed for Qpel ME)
141          // backup of last integer ME vectors/sad          // backup of last integer ME vectors/sad
142    
143  //      VECTOR i_mv16;          VECTOR amv; // average motion vectors from GMC
144          VECTOR i_mvs[4];          int32_t mcsel;
   
         int32_t i_sad8[4];      // SAD values for inter4v-VECTORs  
 //      int32_t i_sad16;        // SAD value for inter-VECTOR  
145    
146    /* This structure has become way to big! What to do? Split it up?   */
147    
148  }  }
149  MACROBLOCK;  MACROBLOCK;
150    
151  static __inline int8_t  static __inline uint32_t
152  get_dc_scaler(uint32_t quant,  get_dc_scaler(uint32_t quant,
153                            uint32_t lum)                            uint32_t lum)
154  {  {

Legend:
Removed from v.1.13.2.7  
changed lines
  Added in v.1.22

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