summaryrefslogtreecommitdiffstats
path: root/contrib/libs/libwebp/src/dsp/lossless_neon.c
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-07-24 10:07:25 +0300
committerrobot-piglet <[email protected]>2025-07-24 10:16:27 +0300
commit1c295121fa6a70a55c0ed79beb993761eac1fadc (patch)
tree0a3af4cf839ddc14d3d2829c3b224c1da409d80c /contrib/libs/libwebp/src/dsp/lossless_neon.c
parent026ffc40392187f03308f5ae7445365ad4a1ef7f (diff)
Intermediate changes
commit_hash:9e9c04347de10235f77fcdaf62119e9b89e8bc59
Diffstat (limited to 'contrib/libs/libwebp/src/dsp/lossless_neon.c')
-rw-r--r--contrib/libs/libwebp/src/dsp/lossless_neon.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/libs/libwebp/src/dsp/lossless_neon.c b/contrib/libs/libwebp/src/dsp/lossless_neon.c
index 93f41cef7f7..0a85edd4b81 100644
--- a/contrib/libs/libwebp/src/dsp/lossless_neon.c
+++ b/contrib/libs/libwebp/src/dsp/lossless_neon.c
@@ -19,6 +19,7 @@
#include "src/dsp/lossless.h"
#include "src/dsp/neon.h"
+#include "src/webp/format_constants.h"
//------------------------------------------------------------------------------
// Colorspace conversion functions
@@ -551,15 +552,15 @@ static void TransformColorInverse_NEON(const VP8LMultipliers* const m,
// sign-extended multiplying constants, pre-shifted by 6.
#define CST(X) (((int16_t)(m->X << 8)) >> 6)
const int16_t rb[8] = {
- CST(green_to_blue_), CST(green_to_red_),
- CST(green_to_blue_), CST(green_to_red_),
- CST(green_to_blue_), CST(green_to_red_),
- CST(green_to_blue_), CST(green_to_red_)
+ CST(green_to_blue), CST(green_to_red),
+ CST(green_to_blue), CST(green_to_red),
+ CST(green_to_blue), CST(green_to_red),
+ CST(green_to_blue), CST(green_to_red)
};
const int16x8_t mults_rb = vld1q_s16(rb);
const int16_t b2[8] = {
- 0, CST(red_to_blue_), 0, CST(red_to_blue_),
- 0, CST(red_to_blue_), 0, CST(red_to_blue_),
+ 0, CST(red_to_blue), 0, CST(red_to_blue),
+ 0, CST(red_to_blue), 0, CST(red_to_blue),
};
const int16x8_t mults_b2 = vld1q_s16(b2);
#undef CST