avcodec/huffyuvenc : increase scalar loop count

in order to try to call dsp in aligned mode
(diff_int16 have AVX2 now)
This commit is contained in:
Martin Vignali 2017-12-02 18:30:26 +01:00
parent 9e1c9633cc
commit 57877f2b44
1 changed files with 2 additions and 2 deletions

View File

@ -80,12 +80,12 @@ static inline int sub_left_prediction(HYuvContext *s, uint8_t *dst,
}
return left;
} else {
for (i = 0; i < 16; i++) {
for (i = 0; i < 32; i++) {
const int temp = src16[i];
dst16[i] = temp - left;
left = temp;
}
s->hencdsp.diff_int16(dst16 + 16, src16 + 16, src16 + 15, s->n - 1, w - 16);
s->hencdsp.diff_int16(dst16 + 32, src16 + 32, src16 + 31, s->n - 1, w - 32);
return src16[w-1];
}
}