Lines Matching defs:cost
72 float cost;
1481 * Functions developed from template function and optimized for getting the band cost
1491 float cost = 0;
1494 cost += in[i ] * in[i ];
1495 cost += in[i+1] * in[i+1];
1496 cost += in[i+2] * in[i+2];
1497 cost += in[i+3] * in[i+3];
1503 return cost * lambda;
1525 float cost = 0;
1624 cost += di0 * di0 + di1 * di1
1632 return cost * lambda + curbits;
1644 float cost = 0;
1732 cost += di0 * di0 + di1 * di1
1740 return cost * lambda + curbits;
1752 float cost = 0;
1856 cost += di0 * di0 + di1 * di1
1864 return cost * lambda + curbits;
1876 float cost = 0;
1995 cost += di0 * di0 + di1 * di1
2003 return cost * lambda + curbits;
2015 float cost = 0;
2134 cost += di0 * di0 + di1 * di1
2142 return cost * lambda + curbits;
2155 float cost = 0;
2287 cost += di1 * di1 + di2 * di2
2293 return cost * lambda + curbits;