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
72 void *
data,
int *got_frame,
77 int motion_x,
int motion_y);
119 int l, bit_size, code;
124 bit_size = f_code - 1;
129 code = (val >> bit_size) + 1;
131 return ff_mvtab[code][1] + 1 + bit_size;
148 int motion_x,
int motion_y){
152 int best_cbpy_score= INT_MAX;
153 int best_cbpc_score= INT_MAX;
154 int cbpc = (-1), cbpy= (-1);
163 if(score < best_cbpc_score){
164 best_cbpc_score= score;
176 if(score < best_cbpy_score){
177 best_cbpy_score= score;
183 if(best_cbpy_score + best_cbpc_score + 2*lambda >= 0)
187 for (i = 0; i < 6; i++) {
195 for (i = 0; i < 6; i++) {