20 #ifndef AVCODEC_H263_H
21 #define AVCODEC_H263_H
33 #define INTRA_MCBPC_VLC_BITS 6
34 #define INTER_MCBPC_VLC_BITS 7
35 #define CBPY_VLC_BITS 6
36 #define TEX_VLC_BITS 9
78 void *
data,
int *got_frame,
83 int motion_x,
int motion_y);
108 int16_t
block[6][64]);
125 int l, bit_size, code;
130 bit_size = f_code - 1;
135 code = (val >> bit_size) + 1;
137 return ff_mvtab[code][1] + 1 + bit_size;
153 int16_t
block[6][64],
154 int motion_x,
int motion_y){
158 int best_cbpy_score= INT_MAX;
159 int best_cbpc_score= INT_MAX;
160 int cbpc = (-1), cbpy= (-1);
169 if(score < best_cbpc_score){
170 best_cbpc_score= score;
182 if(score < best_cbpy_score){
183 best_cbpy_score= score;
189 if(best_cbpy_score + best_cbpc_score + 2*lambda >= 0)
193 for (i = 0; i < 6; i++) {
201 for (i = 0; i < 6; i++) {