Skip to content

Commit 36c94e0

Browse files
committed
Add missing init_simd() call
1 parent 934bc2e commit 36c94e0

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

simd/jsimd_arm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,8 @@ jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr,
713713
GLOBAL(int)
714714
jsimd_can_chuff_encode_one_block (void)
715715
{
716+
init_simd();
717+
716718
if (DCTSIZE != 8)
717719
return 0;
718720
if (sizeof(JCOEF) != 2)

simd/jsimd_arm64.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr,
549549
GLOBAL(int)
550550
jsimd_can_chuff_encode_one_block (void)
551551
{
552+
init_simd();
553+
552554
if (DCTSIZE != 8)
553555
return 0;
554556
if (sizeof(JCOEF) != 2)

simd/jsimd_i386.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,8 @@ jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr,
10651065
GLOBAL(int)
10661066
jsimd_can_chuff_encode_one_block (void)
10671067
{
1068+
init_simd();
1069+
10681070
if (DCTSIZE != 8)
10691071
return 0;
10701072
if (sizeof(JCOEF) != 2)

0 commit comments

Comments
 (0)