diff motion_est.c @ 2065:9e4bebc39ade libavcodec

noise preserving sum of squares comparission function
author michael
date Mon, 07 Jun 2004 03:23:31 +0000
parents c46e203dd698
children 4bfb146e701b
line wrap: on
line diff
--- a/motion_est.c	Sun Jun 06 20:15:53 2004 +0000
+++ b/motion_est.c	Mon Jun 07 03:23:31 2004 +0000
@@ -223,6 +223,7 @@
     switch(type&0xFF){
     default:
     case FF_CMP_SAD:
+    case FF_CMP_NSSE:
         return s->lambda>>FF_LAMBDA_SHIFT;
     case FF_CMP_DCT:
         return (3*s->lambda)>>(FF_LAMBDA_SHIFT+1);