diff options
author | James Zern <jzern@google.com> | 2018-01-11 19:59:28 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2018-01-17 20:38:46 +0000 |
commit | a187300ff9a8a7c10b1fb2ec84223fdd14e6d47b (patch) | |
tree | 6ff243c2fa83888c50ddbdfd9cfd401a71c0bf6f /src/dsp/rescaler_mips_dsp_r2.c | |
parent | 41b7acf653a14bf61375bbda10a77825ccc08e3b (diff) | |
download | webp-a187300ff9a8a7c10b1fb2ec84223fdd14e6d47b.tar.gz |
webp: update to v0.6.1
relevant entries from the NEWS file:
This is a binary compatible release.
* lossless performance and compression improvements + a new 'cruncher' mode
(-m 6 -q 100)
* ARM performance improvements with clang (15-20% w/ndk r15c, issue #339)
* miscellaneous bug & build fixes (issue #329, #332, #343, #353, #360, #361,
#363)
Test: aosp_arm-eng,aosp_arm64-eng,aosp_x86-eng,aosp_x86_64-eng,aosp_sailfish-userdebug build
Change-Id: I3f4d8b50e2d251ab69be21059d23ac8a983a990e
Diffstat (limited to 'src/dsp/rescaler_mips_dsp_r2.c')
-rw-r--r-- | src/dsp/rescaler_mips_dsp_r2.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dsp/rescaler_mips_dsp_r2.c b/src/dsp/rescaler_mips_dsp_r2.c index 2308d645..b78aac15 100644 --- a/src/dsp/rescaler_mips_dsp_r2.c +++ b/src/dsp/rescaler_mips_dsp_r2.c @@ -11,12 +11,12 @@ // // Author(s): Djordje Pesut (djordje.pesut@imgtec.com) -#include "./dsp.h" +#include "src/dsp/dsp.h" -#if defined(WEBP_USE_MIPS_DSP_R2) +#if defined(WEBP_USE_MIPS_DSP_R2) && !defined(WEBP_REDUCE_SIZE) #include <assert.h> -#include "../utils/rescaler_utils.h" +#include "src/utils/rescaler_utils.h" #define ROUNDER (WEBP_RESCALER_ONE >> 1) #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) @@ -24,7 +24,7 @@ //------------------------------------------------------------------------------ // Row export -static void ExportRowShrink(WebPRescaler* const wrk) { +static void ExportRowShrink_MIPSdspR2(WebPRescaler* const wrk) { int i; const int x_out_max = wrk->dst_width * wrk->num_channels; uint8_t* dst = wrk->dst; @@ -162,7 +162,7 @@ static void ExportRowShrink(WebPRescaler* const wrk) { } } -static void ExportRowExpand(WebPRescaler* const wrk) { +static void ExportRowExpand_MIPSdspR2(WebPRescaler* const wrk) { int i; uint8_t* dst = wrk->dst; rescaler_t* irow = wrk->irow; @@ -303,8 +303,8 @@ static void ExportRowExpand(WebPRescaler* const wrk) { extern void WebPRescalerDspInitMIPSdspR2(void); WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitMIPSdspR2(void) { - WebPRescalerExportRowExpand = ExportRowExpand; - WebPRescalerExportRowShrink = ExportRowShrink; + WebPRescalerExportRowExpand = ExportRowExpand_MIPSdspR2; + WebPRescalerExportRowShrink = ExportRowShrink_MIPSdspR2; } #else // !WEBP_USE_MIPS_DSP_R2 |