Mercurial > libavcodec.hg
comparison msmpeg4.c @ 7:1d3ac9654178 libavcodec
added skip macroblock optimization (big perf win on black regions for example)
author | glantau |
---|---|
date | Tue, 24 Jul 2001 20:43:41 +0000 |
parents | 986e461dc072 |
children | 20e680e7a490 |
comparison
equal
deleted
inserted
replaced
6:ec4642daa6fe | 7:1d3ac9654178 |
---|---|
692 s->block_last_index[i] = -1; | 692 s->block_last_index[i] = -1; |
693 s->mv_dir = MV_DIR_FORWARD; | 693 s->mv_dir = MV_DIR_FORWARD; |
694 s->mv_type = MV_TYPE_16X16; | 694 s->mv_type = MV_TYPE_16X16; |
695 s->mv[0][0][0] = 0; | 695 s->mv[0][0][0] = 0; |
696 s->mv[0][0][1] = 0; | 696 s->mv[0][0][1] = 0; |
697 s->mb_skiped = 1; | |
697 return 0; | 698 return 0; |
698 } | 699 } |
699 } | 700 } |
700 | 701 |
701 code = get_vlc(&s->gb, &mb_non_intra_vlc); | 702 code = get_vlc(&s->gb, &mb_non_intra_vlc); |