diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-03-04 13:49:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 13:49:50 +0100 |
commit | d2c57e8431a6dd3a279eec9abdd6acd4ba288ca8 (patch) | |
tree | 7c516cd7752f1c8a23e5752d489003239099c1bc /thirdparty/libwebp/src/dsp/cost.c | |
parent | 6e13002034152981efdceed864b4e48d70018a49 (diff) | |
parent | 93f6a065f8e0e083582890a245b7dcc3cd8c7ef6 (diff) |
Merge pull request #26577 from akien-mga/webp-1.0.2
libwebp: Sync with upstream 1.0.2
Diffstat (limited to 'thirdparty/libwebp/src/dsp/cost.c')
-rw-r--r-- | thirdparty/libwebp/src/dsp/cost.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/libwebp/src/dsp/cost.c b/thirdparty/libwebp/src/dsp/cost.c index 634ccc2085..cc681cdd4b 100644 --- a/thirdparty/libwebp/src/dsp/cost.c +++ b/thirdparty/libwebp/src/dsp/cost.c @@ -377,6 +377,7 @@ VP8SetResidualCoeffsFunc VP8SetResidualCoeffs; extern void VP8EncDspCostInitMIPS32(void); extern void VP8EncDspCostInitMIPSdspR2(void); extern void VP8EncDspCostInitSSE2(void); +extern void VP8EncDspCostInitNEON(void); WEBP_DSP_INIT_FUNC(VP8EncDspCostInit) { VP8GetResidualCost = GetResidualCost_C; @@ -399,6 +400,11 @@ WEBP_DSP_INIT_FUNC(VP8EncDspCostInit) { VP8EncDspCostInitSSE2(); } #endif +#if defined(WEBP_USE_NEON) + if (VP8GetCPUInfo(kNEON)) { + VP8EncDspCostInitNEON(); + } +#endif } } |