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: source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h

Issue 394353005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 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: source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h
===================================================================
--- source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h (revision 284462)
+++ source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h (working copy)
@@ -398,7 +398,8 @@
#define vp9_refining_search_sad vp9_refining_search_sad_c
unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
-#define vp9_sad16x16 vp9_sad16x16_c
+unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
+RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
#define vp9_sad16x16_avg vp9_sad16x16_avg_c
@@ -446,7 +447,8 @@
#define vp9_sad32x16x4d vp9_sad32x16x4d_c
unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
-#define vp9_sad32x32 vp9_sad32x32_c
+unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
+RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
#define vp9_sad32x32_avg vp9_sad32x32_avg_c
@@ -506,7 +508,8 @@
#define vp9_sad64x32x4d vp9_sad64x32x4d_c
unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
-#define vp9_sad64x64 vp9_sad64x64_c
+unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
+RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
#define vp9_sad64x64_avg vp9_sad64x64_avg_c
@@ -801,6 +804,12 @@
if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon;
vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon;
+ vp9_sad16x16 = vp9_sad16x16_c;
+ if (flags & HAS_NEON) vp9_sad16x16 = vp9_sad16x16_neon;
+ vp9_sad32x32 = vp9_sad32x32_c;
+ if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon;
+ vp9_sad64x64 = vp9_sad64x64_c;
+ if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon;
vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c;
if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon;
vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c;
« no previous file with comments | « source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h ('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