| Index: source/libvpx/vp8/encoder/mr_dissim.c
|
| diff --git a/source/libvpx/vp8/encoder/mr_dissim.c b/source/libvpx/vp8/encoder/mr_dissim.c
|
| index 8d96445f53ce71c90be48660df20579fc069b81d..7d05d932436d92a4b73eab6b8189553133b78c6b 100644
|
| --- a/source/libvpx/vp8/encoder/mr_dissim.c
|
| +++ b/source/libvpx/vp8/encoder/mr_dissim.c
|
| @@ -192,11 +192,13 @@ void vp8_cal_dissimilarity(VP8_COMP *cpi)
|
| }
|
| }
|
|
|
| - mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row),
|
| - abs(max_mvx - here->mbmi.mv.as_mv.row));
|
| - mmvy = MAX(abs(min_mvy - here->mbmi.mv.as_mv.col),
|
| - abs(max_mvy - here->mbmi.mv.as_mv.col));
|
| - dissim = MAX(mmvx, mmvy);
|
| + mmvx = VPXMAX(
|
| + abs(min_mvx - here->mbmi.mv.as_mv.row),
|
| + abs(max_mvx - here->mbmi.mv.as_mv.row));
|
| + mmvy = VPXMAX(
|
| + abs(min_mvy - here->mbmi.mv.as_mv.col),
|
| + abs(max_mvy - here->mbmi.mv.as_mv.col));
|
| + dissim = VPXMAX(mmvx, mmvy);
|
| }
|
| }
|
|
|
|
|