swscale/x86/range_convert: add missing AVX2 preprocessor wrapper

Fixes compilation with old yasm.

Signed-off-by: James Almer <jamrial@gmail.com>
release/7.1
James Almer 8 months ago
parent 7c95c7de4a
commit fcf72966a5
  1. 2
      libswscale/x86/range_convert.asm

@ -127,8 +127,10 @@ CHRCONVERTRANGE chrRangeToJpeg, chr_to_mult, chr_to_offset, chr_to_shift
LUMCONVERTRANGE lumRangeFromJpeg, lum_from_mult, lum_from_offset, lum_from_shift
CHRCONVERTRANGE chrRangeFromJpeg, chr_from_mult, chr_from_offset, chr_from_shift
%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
LUMCONVERTRANGE lumRangeToJpeg, lum_to_mult, lum_to_offset, lum_to_shift
CHRCONVERTRANGE chrRangeToJpeg, chr_to_mult, chr_to_offset, chr_to_shift
LUMCONVERTRANGE lumRangeFromJpeg, lum_from_mult, lum_from_offset, lum_from_shift
CHRCONVERTRANGE chrRangeFromJpeg, chr_from_mult, chr_from_offset, chr_from_shift
%endif

Loading…
Cancel
Save