[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.8, Sat May 11 12:28:19 2002 UTC revision 1.13, Wed Jul 24 23:07:45 2002 UTC
# Line 43  Line 43 
43  {  {
44          // decoder/encoder          // decoder/encoder
45          VECTOR mvs[4];          VECTOR mvs[4];
         int32_t sad8[4];                // (signed!) SAD values for inter4v-VECTORs  
         int32_t sad16;                  // (signed!) SAD value for inter-VECTOR  
46    
47      short int pred_values[6][MBPRED_SIZE];      short int pred_values[6][MBPRED_SIZE];
48      int acpred_directions[6];      int acpred_directions[6];
# Line 59  Line 57 
57    
58          // encoder specific          // encoder specific
59    
60            VECTOR mv16;
61          VECTOR pmvs[4];          VECTOR pmvs[4];
62    
63            int32_t sad8[4];                        // SAD values for inter4v-VECTORs
64            int32_t sad16;                          // SAD value for inter-VECTOR
65    
66          int dquant;          int dquant;
67          int cbp;          int cbp;
68    
# Line 68  Line 71 
71          VECTOR b_mvs[4];          VECTOR b_mvs[4];
72          VECTOR b_pmvs[4];          VECTOR b_pmvs[4];
73    
74            // bframe direct mode
75    
76            VECTOR directmv[4];
77            VECTOR deltamv;
78    
79          int mb_type;          int mb_type;
80          int dbquant;          int dbquant;
81    
82  } MACROBLOCK;          // stuff for block based ME (needed for Qpel ME)
83            // backup of last integer ME vectors/sad
84    
85            VECTOR i_mv16;
86            VECTOR i_mvs[4];
87    
88            int32_t i_sad8[4];      // SAD values for inter4v-VECTORs
89            int32_t i_sad16;        // SAD value for inter-VECTOR
90    
91    }
92    MACROBLOCK;
93    
94  static __inline int8_t get_dc_scaler(uint32_t quant, uint32_t lum)  static __inline int8_t
95    get_dc_scaler(uint32_t quant,
96                              uint32_t lum)
97  {  {
98          if(quant < 5)          if(quant < 5)
99          return 8;          return 8;

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

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