Lines Matching defs:code
251 int code, val, sign, shift;
252 code = get_vlc2(&s->gb, mv_vlc.table, MV_VLC_BITS, 2);
254 if (code == 0)
256 if (code < 0)
261 val = code;
289 int code = 0, sign;
294 code = 2 + get_bits1(&s->gb);
298 code <<= 1;
299 code += get_bits1(&s->gb);
301 sign = code & 1;
302 code >>= 1;
304 code = (sign) ? (pred - code) : (pred + code);
305 av_dlog(s->avctx,"H.263+ UMV Motion = %d\n", code);
306 return code;
421 int code, level, i, j, last, run;
483 code = get_vlc2(&s->gb, rl->vlc.table, TEX_VLC_BITS, 2);
484 if (code < 0){
485 av_log(s->avctx, AV_LOG_ERROR, "illegal ac vlc code at %dx%d\n", s->mb_x, s->mb_y);
488 if (code == rl->n) {
507 run = rl->table_run[code];
508 level = rl->table_level[code];
509 last = code >= rl->last;
868 av_log(s->avctx, AV_LOG_ERROR, "Bad picture start code\n");
962 skip_bits(&s->gb, 1); /* Prevent start code emulation */