mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
9e1c9633cc
commit
57877f2b44
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue