Mercurial > libavcodec.hg
changeset 11268:e817a3c2ec2e libavcodec
Replace /2 by faster >>1 as the mvd values are now all positive.
author | michael |
---|---|
date | Wed, 24 Feb 2010 01:57:31 +0000 |
parents | e9163a5b650f |
children | fc001a3aa390 |
files | h264.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.h Wed Feb 24 01:56:27 2010 +0000 +++ b/h264.h Wed Feb 24 01:57:31 2010 +0000 @@ -1132,7 +1132,7 @@ if(!IS_INTERLACED(mb_type) && h->ref_cache[list][idx] >= 0){\ h->ref_cache[list][idx] <<= 1;\ h->mv_cache[list][idx][1] /= 2;\ - h->mvd_cache[list][idx][1] /= 2;\ + h->mvd_cache[list][idx][1] >>=1;\ } MAP_MVS #undef MAP_F2F