Rework motion vector precision limit
This commit enables 1/8 luma component motion vector precision for all motion vector cases. It improves the compression performance of lowres by 0.13% and hdres by 0.49%. Change-Id: Iccfc85e8ee1c0154dfbd18f060344f1e3db5dc18
This commit is contained in:
@@ -243,10 +243,10 @@ void vp10_set_high_precision_mv(VP10_COMP *cpi, int allow_high_precision_mv) {
|
||||
#else
|
||||
if (cpi->common.allow_high_precision_mv) {
|
||||
mb->mvcost = mb->nmvcost_hp;
|
||||
mb->mvsadcost = mb->nmvsadcost_hp;
|
||||
mb->mvsadcost = mb->nmvcost_hp;
|
||||
} else {
|
||||
mb->mvcost = mb->nmvcost;
|
||||
mb->mvsadcost = mb->nmvsadcost;
|
||||
mb->mvsadcost = mb->nmvcost;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user