added skip macroblock optimization (big perf win on black regions for example)

Originally committed as revision 13 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard
2001-07-24 20:43:41 +00:00
parent fb16b7e7b3
commit 3bb4e23a8a
5 changed files with 38 additions and 0 deletions

View File

@@ -694,6 +694,7 @@ int msmpeg4_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;
}
}