Mercurial > libavcodec.hg
comparison h263.c @ 1542:576861d6343a libavcodec
emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set
author | michael |
---|---|
date | Fri, 17 Oct 2003 18:56:01 +0000 |
parents | 39efe24058ad |
children | dd544554ed42 |
comparison
equal
deleted
inserted
replaced
1541:9c4921a51392 | 1542:576861d6343a |
---|---|
4271 /* OPPTYPE */ | 4271 /* OPPTYPE */ |
4272 format = get_bits(&s->gb, 3); | 4272 format = get_bits(&s->gb, 3); |
4273 dprintf("ufep=1, format: %d\n", format); | 4273 dprintf("ufep=1, format: %d\n", format); |
4274 skip_bits(&s->gb,1); /* Custom PCF */ | 4274 skip_bits(&s->gb,1); /* Custom PCF */ |
4275 s->umvplus = get_bits(&s->gb, 1); /* Unrestricted Motion Vector */ | 4275 s->umvplus = get_bits(&s->gb, 1); /* Unrestricted Motion Vector */ |
4276 s->unrestricted_mv = s->umvplus; | |
4276 skip_bits1(&s->gb); /* Syntax-based Arithmetic Coding (SAC) */ | 4277 skip_bits1(&s->gb); /* Syntax-based Arithmetic Coding (SAC) */ |
4277 if (get_bits1(&s->gb) != 0) { | 4278 if (get_bits1(&s->gb) != 0) { |
4278 s->mv_type = MV_TYPE_8X8; /* Advanced prediction mode */ | 4279 s->mv_type = MV_TYPE_8X8; /* Advanced prediction mode */ |
4279 } | 4280 } |
4280 if (get_bits1(&s->gb) != 0) { /* Advanced Intra Coding (AIC) */ | 4281 if (get_bits1(&s->gb) != 0) { /* Advanced Intra Coding (AIC) */ |