Commit 57877f2b authored by Martin Vignali's avatar Martin Vignali

avcodec/huffyuvenc : increase scalar loop count

in order to try to call dsp in aligned mode
(diff_int16 have AVX2 now)
parent 9e1c9633
......@@ -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];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment