19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: vop_type_decision.c,v 1.1.2.6 2003-12-04 12:08:03 syskin Exp $ |
* $Id: vop_type_decision.c,v 1.1.2.7 2003-12-05 12:27:48 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
139 |
MB->mode = MODE_INTER; |
MB->mode = MODE_INTER; |
140 |
/* if we skipped some search steps, we have to assume that SAD would be lower with them */ |
/* if we skipped some search steps, we have to assume that SAD would be lower with them */ |
141 |
MB->sad16 = Data->iMinSAD[i+1] - (simplicity<<7); |
MB->sad16 = Data->iMinSAD[i+1] - (simplicity<<7); |
142 |
|
if (MB->sad16 < 0) MB->sad16 = 0; |
143 |
} |
} |
144 |
} |
} |
145 |
|
|