summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libwebp/src/dsp/lossless_common.h
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2021-02-18 15:58:00 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-01 16:15:36 +0000
commitf67ef5b323f992a81bc20260db3dfbc1de4dfe71 (patch)
tree8a5cf1b27099f1a198a2591d21fdc1cb09bac817 /src/3rdparty/libwebp/src/dsp/lossless_common.h
parenta6218b4abc16aa75874c968dc2d6a89ca5c997af (diff)
Update bundled libwebp to version 1.2.0
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.2.0 Change-Id: Idb95b278c613361d82ea32bd9f591fbe87bfe66f Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 59aaed8409c1f3da2df426eba06d682d6bd7ec9b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/3rdparty/libwebp/src/dsp/lossless_common.h')
-rw-r--r--src/3rdparty/libwebp/src/dsp/lossless_common.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/3rdparty/libwebp/src/dsp/lossless_common.h b/src/3rdparty/libwebp/src/dsp/lossless_common.h
index 9c2ebe6..96a106f 100644
--- a/src/3rdparty/libwebp/src/dsp/lossless_common.h
+++ b/src/3rdparty/libwebp/src/dsp/lossless_common.h
@@ -184,19 +184,6 @@ static void PREDICTOR_ADD(const uint32_t* in, const uint32_t* upper, \
} \
}
-// It subtracts the prediction from the input pixel and stores the residual
-// in the output pixel.
-#define GENERATE_PREDICTOR_SUB(PREDICTOR, PREDICTOR_SUB) \
-static void PREDICTOR_SUB(const uint32_t* in, const uint32_t* upper, \
- int num_pixels, uint32_t* out) { \
- int x; \
- assert(upper != NULL); \
- for (x = 0; x < num_pixels; ++x) { \
- const uint32_t pred = (PREDICTOR)(in[x - 1], upper + x); \
- out[x] = VP8LSubPixels(in[x], pred); \
- } \
-}
-
#ifdef __cplusplus
} // extern "C"
#endif