845 |
/* finally, intra decision */ |
/* finally, intra decision */ |
846 |
|
|
847 |
InterBias = MV16_INTER_BIAS; |
InterBias = MV16_INTER_BIAS; |
848 |
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 |
849 |
if (y != 0) |
if (y != 0) |
850 |
if ((pMB - pParam->mb_width)->mode == MODE_INTER ) InterBias -= 80; |
if ((pMB - pParam->mb_width)->mode == MODE_INTRA ) InterBias -= 80; |
851 |
if (x != 0) |
if (x != 0) |
852 |
if ((pMB - 1)->mode == MODE_INTER ) InterBias -= 80; |
if ((pMB - 1)->mode == MODE_INTRA ) InterBias -= 80; |
853 |
|
|
854 |
if (Data.chroma) InterBias += 50; // to compensate bigger SAD |
if (Data.chroma) InterBias += 50; // to compensate bigger SAD |
855 |
|
|