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.7 2004-07-18 11:48:08 syskin Exp $ |
* $Id: estimation_rd_based.c,v 1.8 2004-07-18 12:23:45 syskin Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
736 |
|
|
737 |
pMB->mcsel = 0; |
pMB->mcsel = 0; |
738 |
|
|
739 |
|
for (i = 0; i < 6; i++) { |
740 |
|
/* HVS models, anyone ? */ |
741 |
|
Data->lambda[i] = LAMBDA; |
742 |
|
} |
743 |
|
|
744 |
/* INTER <-> INTER4V decision */ |
/* INTER <-> INTER4V decision */ |
745 |
if ((Data->iMinSAD[0] + 75 < Data->iMinSAD[1] + |
if ((Data->iMinSAD[0] + 75 < Data->iMinSAD[1] + |
746 |
Data->iMinSAD[2] + Data->iMinSAD[3] + Data->iMinSAD[4])) { /* normal, fast, SAD-based mode decision */ |
Data->iMinSAD[2] + Data->iMinSAD[3] + Data->iMinSAD[4])) { /* normal, fast, SAD-based mode decision */ |