summaryrefslogtreecommitdiff
path: root/vp8/common/entropymode.c
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2011-05-24 16:01:12 -0400
committerScott LaVarnway <slavarnway@google.com>2011-05-24 16:01:12 -0400
commita39321f37e2eae6aaf07655cd78d7645e7e73e67 (patch)
tree136cbee023ef32cabd3b5ef207cc440117181872 /vp8/common/entropymode.c
parentcfab2caee1d937b1ec34b1a8ea1e8680ad55ad3a (diff)
downloadlibvpx-a39321f37e2eae6aaf07655cd78d7645e7e73e67.tar
libvpx-a39321f37e2eae6aaf07655cd78d7645e7e73e67.tar.gz
libvpx-a39321f37e2eae6aaf07655cd78d7645e7e73e67.tar.bz2
libvpx-a39321f37e2eae6aaf07655cd78d7645e7e73e67.zip
Use int_mv instead of MV in vp8_mv_cont
Less operations. Change-Id: Ibb9cd5ae66b8c7c681c9a654d551c8729c31c3ae
Diffstat (limited to 'vp8/common/entropymode.c')
-rw-r--r--vp8/common/entropymode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vp8/common/entropymode.c b/vp8/common/entropymode.c
index e9dc668b2..930e896ce 100644
--- a/vp8/common/entropymode.c
+++ b/vp8/common/entropymode.c
@@ -33,11 +33,11 @@ typedef enum
SUBMVREF_LEFT_ABOVE_ZED
} sumvfref_t;
-int vp8_mv_cont(const MV *l, const MV *a)
+int vp8_mv_cont(const int_mv *l, const int_mv *a)
{
- int lez = (l->row == 0 && l->col == 0);
- int aez = (a->row == 0 && a->col == 0);
- int lea = (l->row == a->row && l->col == a->col);
+ int lez = (l->as_int == 0);
+ int aez = (a->as_int == 0);
+ int lea = (l->as_int == a->as_int);
if (lea && lez)
return SUBMVREF_LEFT_ABOVE_ZED;