Mercurial > libavcodec.hg
comparison 8bps.c @ 11272:aa9317d124fc libavcodec
Replace mvd>2 + mvd>32 by MIN((mvd+28)*17>>9, 2)
same speed as far as i can meassure but it might have fewer branches on some
archs.
Idea from x264 / jason
author | michael |
---|---|
date | Wed, 24 Feb 2010 16:16:08 +0000 |
parents | d7ed9dcc78e3 |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
11271:bf3436efe037 | 11272:aa9317d124fc |
---|