alpha_processing: fix visual studio warnings

similar to '* const', __restrict needs to be included in the
declaration to avoid warnings like:
src\dsp\alpha_processing.c(429): warning C4028: formal parameter 1
different from declaration

this change also moves WEBP_RESTRICT to dsp.h to avoid a circular
dependency between it and utils.h which already includes dsp.h

Change-Id: Ib070d358a372e76fae4be5445ab288940b9baac0
This commit is contained in:
James Zern
2021-07-09 11:33:50 -07:00
parent 298d26eac2
commit 8f5946634e
6 changed files with 59 additions and 49 deletions

View File

@ -16,7 +16,6 @@
#if defined(WEBP_USE_NEON)
#include "src/dsp/neon.h"
#include "src/utils/utils.h"
//------------------------------------------------------------------------------