Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: libvpx/source/libvpx/vp8/common/entropymode.c

Issue 7624054: Revert r97185 "Update libvpx snapshot to v0.9.7-p1 (Cayuga)." (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libvpx/source/libvpx/vp8/common/entropymode.h ('k') | libvpx/source/libvpx/vp8/common/entropymv.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx/source/libvpx/vp8/common/entropymode.c
diff --git a/libvpx/source/libvpx/vp8/common/entropymode.c b/libvpx/source/libvpx/vp8/common/entropymode.c
index 930e896ce0b5d47a83963b96349bd720288f78d9..e9dc668b2c9b42dda41f33a98fe4898c27ebab51 100644
--- a/libvpx/source/libvpx/vp8/common/entropymode.c
+++ b/libvpx/source/libvpx/vp8/common/entropymode.c
@@ -33,11 +33,11 @@ typedef enum
SUBMVREF_LEFT_ABOVE_ZED
} sumvfref_t;
-int vp8_mv_cont(const int_mv *l, const int_mv *a)
+int vp8_mv_cont(const MV *l, const MV *a)
{
- int lez = (l->as_int == 0);
- int aez = (a->as_int == 0);
- int lea = (l->as_int == a->as_int);
+ 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);
if (lea && lez)
return SUBMVREF_LEFT_ABOVE_ZED;
« no previous file with comments | « libvpx/source/libvpx/vp8/common/entropymode.h ('k') | libvpx/source/libvpx/vp8/common/entropymv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698