mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avoid 2 additions (1 cpu cycle) per MB
Originally committed as revision 9843 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5bfbf0a54f
commit
7ceab4af35
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user