diff options
author | Scott LaVarnway <slavarnway@google.com> | 2011-05-26 07:01:38 -0700 |
---|---|---|
committer | Code Review <code-review@webmproject.org> | 2011-05-26 07:01:38 -0700 |
commit | 40b850b4586189ab075f3123ec4f8f303667634f (patch) | |
tree | b09a45996529c07b9811ac12a0efeca18d99570f /vp8/common | |
parent | 13b56eeb7a6a61c599c397a3b8cd5b6f77c2f07b (diff) | |
parent | a39321f37e2eae6aaf07655cd78d7645e7e73e67 (diff) | |
download | libvpx-40b850b4586189ab075f3123ec4f8f303667634f.tar libvpx-40b850b4586189ab075f3123ec4f8f303667634f.tar.gz libvpx-40b850b4586189ab075f3123ec4f8f303667634f.tar.bz2 libvpx-40b850b4586189ab075f3123ec4f8f303667634f.zip |
Merge "Use int_mv instead of MV in vp8_mv_cont"
Diffstat (limited to 'vp8/common')
-rw-r--r-- | vp8/common/entropymode.c | 8 | ||||
-rw-r--r-- | vp8/common/entropymode.h | 2 |
2 files changed, 5 insertions, 5 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; diff --git a/vp8/common/entropymode.h b/vp8/common/entropymode.h index da6ae8ead..fdb170df3 100644 --- a/vp8/common/entropymode.h +++ b/vp8/common/entropymode.h @@ -25,7 +25,7 @@ extern const int vp8_mbsplit_count [VP8_NUMMBSPLITS]; /* # of subsets */ extern const vp8_prob vp8_mbsplit_probs [VP8_NUMMBSPLITS-1]; -extern int vp8_mv_cont(const MV *l, const MV *a); +extern int vp8_mv_cont(const int_mv *l, const int_mv *a); #define SUBMVREF_COUNT 5 extern const vp8_prob vp8_sub_mv_ref_prob2 [SUBMVREF_COUNT][VP8_SUBMVREFS-1]; |