mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Fix non-C90 code.
Thank you OpenCV: https://github.com/opencv/opencv/blob/ 1e54e5657927996e86b155d89f51c7b5a73461d2/3rdparty/libwebp/ CMakeLists.txt#L24 Change-Id: Ic79f6309951f96c380e44b3167c1a36aae6d8903
This commit is contained in:
parent
433c7dca11
commit
ac17ffffcb
@ -36,8 +36,9 @@ static WEBP_INLINE int IsFlat(const int16_t* levels, int num_blocks,
|
||||
int thresh) {
|
||||
const int16x8_t tst_ones = vdupq_n_s16(-1);
|
||||
uint32x4_t sum = vdupq_n_u32(0);
|
||||
int i;
|
||||
|
||||
for (int i = 0; i < num_blocks; ++i) {
|
||||
for (i = 0; i < num_blocks; ++i) {
|
||||
// Set DC to zero.
|
||||
const int16x8_t a_0 = vsetq_lane_s16(0, vld1q_s16(levels), 0);
|
||||
const int16x8_t a_1 = vld1q_s16(levels + 8);
|
||||
|
Loading…
Reference in New Issue
Block a user