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

Unified Diff: libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.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
Index: libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.c
diff --git a/libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.c b/libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.c
index 6ce471217d3cdf75b6a86369458bb1c8c7b3f77f..51e901d79a0454d912a380fa85443eb949918c2b 100644
--- a/libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.c
+++ b/libvpx/source/libvpx/vp8/decoder/arm/arm_dsystemdependent.c
@@ -13,6 +13,7 @@
#include "vpx_ports/arm.h"
#include "vp8/common/blockd.h"
#include "vp8/common/pragmas.h"
+#include "vp8/common/postproc.h"
#include "vp8/decoder/dequantize.h"
#include "vp8/decoder/onyxd_int.h"
@@ -20,15 +21,12 @@ void vp8_arch_arm_decode_init(VP8D_COMP *pbi)
{
#if CONFIG_RUNTIME_CPU_DETECT
int flags = pbi->common.rtcd.flags;
-
-#if HAVE_ARMV5TE
- if (flags & HAS_EDSP)
- {
- }
-#endif
+ int has_edsp = flags & HAS_EDSP;
+ int has_media = flags & HAS_MEDIA;
+ int has_neon = flags & HAS_NEON;
#if HAVE_ARMV6
- if (flags & HAS_MEDIA)
+ if (has_media)
{
pbi->dequant.block = vp8_dequantize_b_v6;
pbi->dequant.idct_add = vp8_dequant_idct_add_v6;
@@ -40,7 +38,7 @@ void vp8_arch_arm_decode_init(VP8D_COMP *pbi)
#endif
#if HAVE_ARMV7
- if (flags & HAS_NEON)
+ if (has_neon)
{
pbi->dequant.block = vp8_dequantize_b_neon;
pbi->dequant.idct_add = vp8_dequant_idct_add_neon;

Powered by Google App Engine
This is Rietveld 408576698