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

Unified Diff: source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 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_srcs_x86_64.gypi ('k') | source/config/linux/arm-neon-cpu-detect/vpx_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
diff --git a/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h b/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
index b664b187c8b3e34e2e99d24f2400b285454f16bd..7d69b4c9720a2135eb5ebdcce13138efa5ddce7e 100644
--- a/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
+++ b/source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
@@ -131,7 +131,8 @@ void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
#define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl);
-#define vp9_vector_var vp9_vector_var_c
+int vp9_vector_var_neon(int16_t const *ref, int16_t const *src, const int bwl);
+RTCD_EXTERN int (*vp9_vector_var)(int16_t const *ref, int16_t const *src, const int bwl);
void vp9_rtcd(void);
@@ -161,6 +162,8 @@ static void setup_rtcd_internal(void)
if (flags & HAS_NEON) vp9_int_pro_row = vp9_int_pro_row_neon;
vp9_quantize_fp = vp9_quantize_fp_c;
if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon;
+ vp9_vector_var = vp9_vector_var_c;
+ if (flags & HAS_NEON) vp9_vector_var = vp9_vector_var_neon;
}
#endif
« no previous file with comments | « libvpx_srcs_x86_64.gypi ('k') | source/config/linux/arm-neon-cpu-detect/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698