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 |
114 |
VECTOR * currentMV; |
VECTOR * currentMV; |
115 |
VECTOR * currentQMV; |
VECTOR * currentQMV; |
116 |
int32_t * iMinSAD; |
int32_t * iMinSAD; |
117 |
const uint8_t * Ref; |
const uint8_t * RefP[6]; // N, V, H, HV, cU, cV |
|
const uint8_t * RefH; |
|
|
const uint8_t * RefV; |
|
|
const uint8_t * RefHV; |
|
|
const uint8_t * RefCU; |
|
|
const uint8_t * RefCV; |
|
118 |
const uint8_t * CurU; |
const uint8_t * CurU; |
119 |
const uint8_t * CurV; |
const uint8_t * CurV; |
120 |
uint8_t * RefQ; |
uint8_t * RefQ; |
128 |
int chroma; |
int chroma; |
129 |
int rrv; |
int rrv; |
130 |
//fields for interpolate and direct modes |
//fields for interpolate and direct modes |
131 |
const uint8_t * bRef; |
const uint8_t * b_RefP[6]; // N, V, H, HV, cU, cV |
|
const uint8_t * bRefH; |
|
|
const uint8_t * bRefV; |
|
|
const uint8_t * bRefHV; |
|
|
const uint8_t * b_RefCU; |
|
|
const uint8_t * b_RefCV; |
|
|
|
|
132 |
VECTOR bpredMV; |
VECTOR bpredMV; |
133 |
uint32_t bFcode; |
uint32_t bFcode; |
134 |
// fields for direct mode |
// fields for direct mode |
135 |
VECTOR directmvF[4]; |
VECTOR directmvF[4]; |
136 |
VECTOR directmvB[4]; |
VECTOR directmvB[4]; |
137 |
const VECTOR * referencemv; |
const VECTOR * referencemv; |
138 |
|
// _BITS stuff |
139 |
|
int16_t * dctSpace; |
140 |
|
|
141 |
} SearchData; |
} SearchData; |
142 |
|
|