diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-07-24 20:43:41 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-07-24 20:43:41 +0000 |
commit | 3bb4e23a8aa15fc93b91b92d8c6437358fd71113 (patch) | |
tree | 88d1c70067e443197f377cf563fb459990bae3db /libavcodec/h263.c | |
parent | fb16b7e7b33ec84765d9bb9b36e0859a7b2c0b05 (diff) | |
download | ffmpeg-3bb4e23a8aa15fc93b91b92d8c6437358fd71113.tar.gz |
added skip macroblock optimization (big perf win on black regions for example)
Originally committed as revision 13 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 35ecb15c2e..03e4aa381b 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -738,6 +738,7 @@ int h263_decode_mb(MpegEncContext *s, s->mv_type = MV_TYPE_16X16; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; + s->mb_skiped = 1; return 0; } cbpc = get_vlc(&s->gb, &inter_MCBPC_vlc); |