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

Unified Diff: third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h

Issue 2005893002: Roll src/third_party/libvpx/source/libvpx/ 57566ff24..4f774ac50 (29 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h
diff --git a/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h b/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h
index f79818911e07470b08b52befdddd6a2e16f3deea..f72e439836ca0625a7c71ae725cf55d08b8722a2 100644
--- a/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h
+++ b/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h
@@ -305,7 +305,8 @@ void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coef
#define vpx_hadamard_16x16 vpx_hadamard_16x16_c
void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
-#define vpx_hadamard_8x8 vpx_hadamard_8x8_c
+void vpx_hadamard_8x8_neon(const int16_t *src_diff, int src_stride, int16_t *coeff);
+RTCD_EXTERN void (*vpx_hadamard_8x8)(const int16_t *src_diff, int src_stride, int16_t *coeff);
void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
#define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
@@ -923,6 +924,8 @@ static void setup_rtcd_internal(void)
if (flags & HAS_NEON) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_neon;
vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c;
if (flags & HAS_NEON) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_neon;
+ vpx_hadamard_8x8 = vpx_hadamard_8x8_c;
+ if (flags & HAS_NEON) vpx_hadamard_8x8 = vpx_hadamard_8x8_neon;
vpx_idct16x16_10_add = vpx_idct16x16_10_add_c;
if (flags & HAS_NEON) vpx_idct16x16_10_add = vpx_idct16x16_10_add_neon;
vpx_idct16x16_1_add = vpx_idct16x16_1_add_c;
« no previous file with comments | « third_party/libvpx/libvpx_srcs_x86_64.gypi ('k') | third_party/libvpx/source/config/linux/arm-neon/vpx_dsp_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698