--- motion_est.c 2002/11/04 10:58:24 1.44.2.14 +++ motion_est.c 2002/11/11 08:42:35 1.44.2.16 @@ -756,7 +756,6 @@ const IMAGE *const pCurrent = ¤t->image; const IMAGE *const pRef = &reference->image; - FILE * debug; const VECTOR zeroMV = { 0, 0 }; uint32_t x, y; @@ -846,11 +845,11 @@ /* finally, intra decision */ InterBias = MV16_INTER_BIAS; - if (pMB->quant > 8) InterBias += 80 * (pMB->quant - 8); // to make high quants work + if (pMB->quant > 8) InterBias += 100 * (pMB->quant - 8); // to make high quants work if (y != 0) - if ((pMB - pParam->mb_width)->mode == MODE_INTER ) InterBias -= 80; + if ((pMB - pParam->mb_width)->mode == MODE_INTRA ) InterBias -= 80; if (x != 0) - if ((pMB - 1)->mode == MODE_INTER ) InterBias -= 80; + if ((pMB - 1)->mode == MODE_INTRA ) InterBias -= 80; if (Data.chroma) InterBias += 50; // to compensate bigger SAD