diff options
author | Urvang Joshi <urvang@google.com> | 2016-07-14 12:33:48 -0700 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2016-09-27 12:05:01 -0700 |
commit | 0aa3e2564fd7ae2b63984b6bf993f57c4b436073 (patch) | |
tree | c6d44cbf1b26f0433fae3a7fc6116307e809e62e /vpx_dsp/arm/vpx_convolve8_neon.c | |
parent | 70240a77b8decede28132fd4dbf1fa48713edea4 (diff) | |
download | libvpx-0aa3e2564fd7ae2b63984b6bf993f57c4b436073.tar libvpx-0aa3e2564fd7ae2b63984b6bf993f57c4b436073.tar.gz libvpx-0aa3e2564fd7ae2b63984b6bf993f57c4b436073.tar.bz2 libvpx-0aa3e2564fd7ae2b63984b6bf993f57c4b436073.zip |
Add compiler warning flag -Wextra and fix related warnings.
Note: some of these warnings are enabled by a combination of -Wunused
(added earlier) and -Wextra.
Cherry-picked from AOM 4790a69faaec8f03d65f64ff070f6ab4307dbb16
Expands use of (void)x; on unused variables. AOM only supports one codec
in codec_factory.h
Does not include changes to HandleDecodeResult. AOM removed
invalid_file_test.cc which does use the video parameter.
Does not enable -Wextra yet. There are more issues to fix.
BUG=webm:1069
Change-Id: I322a1366bd4fd6c0dec9e758c2d5e88e003b1cbf
Diffstat (limited to 'vpx_dsp/arm/vpx_convolve8_neon.c')
-rw-r--r-- | vpx_dsp/arm/vpx_convolve8_neon.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vpx_dsp/arm/vpx_convolve8_neon.c b/vpx_dsp/arm/vpx_convolve8_neon.c index 514525696..951c425e2 100644 --- a/vpx_dsp/arm/vpx_convolve8_neon.c +++ b/vpx_dsp/arm/vpx_convolve8_neon.c @@ -64,6 +64,10 @@ void vpx_convolve8_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, assert(x_step_q4 == 16); + (void)x_step_q4; + (void)y_step_q4; + (void)filter_y; + q0s16 = vld1q_s16(filter_x); src -= 3; // adjust for taps @@ -224,6 +228,10 @@ void vpx_convolve8_vert_neon(const uint8_t *src, ptrdiff_t src_stride, assert(y_step_q4 == 16); + (void)x_step_q4; + (void)y_step_q4; + (void)filter_x; + src -= src_stride * 3; q0s16 = vld1q_s16(filter_y); for (; w > 0; w -= 4, src += 4, dst += 4) { // loop_vert_h |