diff --git a/src/enc/near_lossless_enc.c b/src/enc/near_lossless_enc.c index 1bef62b7..634f1df1 100644 --- a/src/enc/near_lossless_enc.c +++ b/src/enc/near_lossless_enc.c @@ -19,7 +19,7 @@ #include "../dsp/lossless_common.h" #include "../utils/utils.h" -#include "./vp8i_enc.h" +#include "./vp8li_enc.h" #define MIN_DIM_FOR_NEAR_LOSSLESS 64 #define MAX_LIMIT_BITS 5 diff --git a/src/enc/vp8i_enc.h b/src/enc/vp8i_enc.h index b0666b0d..018faac7 100644 --- a/src/enc/vp8i_enc.h +++ b/src/enc/vp8i_enc.h @@ -502,10 +502,6 @@ int WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height); // compressibility (no guarantee, though). Assumes that pic->use_argb is true. void WebPCleanupTransparentAreaLossless(WebPPicture* const pic); - // in near_lossless.c -// Near lossless preprocessing in RGB color-space. -int VP8ApplyNearLossless(const WebPPicture* const picture, int quality, - uint32_t* const argb_dst); //------------------------------------------------------------------------------ #ifdef __cplusplus diff --git a/src/enc/vp8li_enc.h b/src/enc/vp8li_enc.h index b88bcc7e..6368985d 100644 --- a/src/enc/vp8li_enc.h +++ b/src/enc/vp8li_enc.h @@ -82,6 +82,11 @@ WebPEncodingError VP8LEncodeStream(const WebPConfig* const config, const WebPPicture* const picture, VP8LBitWriter* const bw, int use_cache); +// in near_lossless.c +// Near lossless preprocessing in RGB color-space. +int VP8ApplyNearLossless(const WebPPicture* const picture, int quality, + uint32_t* const argb_dst); + //------------------------------------------------------------------------------ // Image transforms in predictor.c.