Commit 4d6b51b9 authored by michael's avatar michael

avoid 2 additions (1 cpu cycle) per MB


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9843 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 242d510c
...@@ -1776,8 +1776,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y, ...@@ -1776,8 +1776,8 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
} }
s->dest[0] += 16 >> lowres; s->dest[0] += 16 >> lowres;
s->dest[1] += 16 >> (s->chroma_x_shift + lowres); s->dest[1] +=(16 >> lowres) >> s->chroma_x_shift;
s->dest[2] += 16 >> (s->chroma_x_shift + lowres); s->dest[2] +=(16 >> lowres) >> s->chroma_x_shift;
MPV_decode_mb(s, s->block); MPV_decode_mb(s, s->block);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment