From 4b779e89cf3e4586bd438ceab379f1f9a97dac53 Mon Sep 17 00:00:00 2001 From: Yermalayeu Ihar Date: Wed, 27 Nov 2024 13:26:42 +0300 Subject: [PATCH] *fix bug in SSE4.1 optimizations of class ImageJpegLoader. --- src/Simd/SimdAvx512bwImageLoad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simd/SimdAvx512bwImageLoad.cpp b/src/Simd/SimdAvx512bwImageLoad.cpp index 0fbec36f07..266aa7f76b 100644 --- a/src/Simd/SimdAvx512bwImageLoad.cpp +++ b/src/Simd/SimdAvx512bwImageLoad.cpp @@ -129,7 +129,7 @@ namespace Simd case SimdImageFilePpmTxt: return new ImagePpmTxtLoader(param); case SimdImageFilePpmBin: return new ImagePpmBinLoader(param); case SimdImageFilePng: return new Sse41::ImagePngLoader(param); - case SimdImageFileJpeg: return new Sse41::ImageJpegLoader(param); + case SimdImageFileJpeg: return new Avx2::ImageJpegLoader(param); default: return NULL; }