[Ffmpeg-cvslog] r7327 - trunk/libavcodec/vp6.c
aurel
subversion
Sun Dec 17 16:26:50 CET 2006
Author: aurel
Date: Sun Dec 17 16:26:50 2006
New Revision: 7327
Modified:
trunk/libavcodec/vp6.c
Log:
small optimization
Modified: trunk/libavcodec/vp6.c
==============================================================================
--- trunk/libavcodec/vp6.c (original)
+++ trunk/libavcodec/vp6.c Sun Dec 17 16:26:50 2006
@@ -343,7 +343,7 @@
}
src += 2*stride;
}
- return (16*square_sum - sum*sum) / (16*16);
+ return (16*square_sum - sum*sum) >> 8;
}
static void vp6_filter_hv2(vp56_context_t *s, uint8_t *dst, uint8_t *src,
More information about the ffmpeg-cvslog
mailing list