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

@@ -542,6 +542,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
s->mv[1][0][0] = s->last_mv[1][0][0];
s->mv[1][0][1] = s->last_mv[1][0][1];
}
s->mb_skiped = 1;
return 0;
}