[svn] / trunk / xvidcore / src / motion / estimation_rd_based.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/motion/estimation_rd_based.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1659, Fri Dec 9 04:39:49 2005 UTC revision 1660, Fri Dec 9 04:45:35 2005 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: estimation_rd_based.c,v 1.13 2005-11-22 10:23:01 suxen_drol Exp $   * $Id: estimation_rd_based.c,v 1.14 2005-12-09 04:45:35 syskin Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 655  Line 655 
655          }          }
656    
657          for (i = 0; i < 6; i++) {          for (i = 0; i < 6; i++) {
658                  /* HVS models, anyone ? */                  Data->lambda[i] = (LAMBDA*pMB->lambda[i])>>LAMBDA_EXP;
                 Data->lambda[i] = LAMBDA;  
659          }          }
660    
661          min_rd = findRD_inter(Data, x, y, pParam, MotionFlags);          min_rd = findRD_inter(Data, x, y, pParam, MotionFlags);
# Line 762  Line 761 
761          Data->quant_sq = iQuant*iQuant;          Data->quant_sq = iQuant*iQuant;
762    
763          for (i = 0; i < 6; i++) {          for (i = 0; i < 6; i++) {
764                  /* HVS models, anyone ? */                  Data->lambda[i] = (LAMBDA*pMB->lambda[i])>>LAMBDA_EXP;
                 Data->lambda[i] = LAMBDA;  
765          }          }
766    
767          /* INTER <-> INTER4V decision */          /* INTER <-> INTER4V decision */

Legend:
Removed from v.1659  
changed lines
  Added in v.1660

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4