21 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: estimation_bvop.c,v 1.1.2.13 2003-12-20 15:30:03 edgomez Exp $ |
* $Id: estimation_bvop.c,v 1.1.2.14 2004-02-28 07:15:39 syskin Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
672 |
CheckCandidate(0, 0, Data, 255); |
CheckCandidate(0, 0, Data, 255); |
673 |
|
|
674 |
/* initial (fast) skip decision */ |
/* initial (fast) skip decision */ |
675 |
if (*Data->iMinSAD < (int)Data->iQuant * INITIAL_SKIP_THRESH * (Data->chroma?3:2)) { |
if (*Data->iMinSAD < (int)Data->iQuant * INITIAL_SKIP_THRESH) { |
676 |
/* possible skip */ |
/* possible skip */ |
677 |
SkipDecisionB(pCur, f_Ref, b_Ref, pMB, x, y, Data); |
SkipDecisionB(pCur, f_Ref, b_Ref, pMB, x, y, Data); |
678 |
if (pMB->mode == MODE_DIRECT_NONE_MV) return *Data->iMinSAD; /* skipped */ |
if (pMB->mode == MODE_DIRECT_NONE_MV) return *Data->iMinSAD; /* skipped */ |