20 #ifndef AVCODEC_H263_H
21 #define AVCODEC_H263_H
29 #if !FF_API_ASPECT_EXTENDED
30 #define FF_ASPECT_EXTENDED 15
37 #define INTRA_MCBPC_VLC_BITS 6
38 #define INTER_MCBPC_VLC_BITS 7
39 #define CBPY_VLC_BITS 6
40 #define TEX_VLC_BITS 9
82 void *
data,
int *got_frame,
87 int motion_x,
int motion_y);
112 int16_t
block[6][64]);
128 int l, bit_size, code;
133 bit_size = f_code - 1;
135 l= INT_BIT - 6 - bit_size;
138 code = (val >> bit_size) + 1;
140 return ff_mvtab[code][1] + 1 + bit_size;
156 int16_t
block[6][64],
157 int motion_x,
int motion_y){
161 int best_cbpy_score= INT_MAX;
162 int best_cbpc_score= INT_MAX;
163 int cbpc = (-1), cbpy= (-1);
172 if(score < best_cbpc_score){
173 best_cbpc_score= score;
185 if(score < best_cbpy_score){
186 best_cbpy_score= score;
192 if(best_cbpy_score + best_cbpc_score + 2*lambda >= 0)
196 for (i = 0; i < 6; i++) {
204 for (i = 0; i < 6; i++) {