xref: /aosp_15_r20/external/libjpeg-turbo/jsimd_none.c (revision dfc6aa5c1cfd4bc4e2018dc74aa96e29ee49c6da)
1*dfc6aa5cSAndroid Build Coastguard Worker /*
2*dfc6aa5cSAndroid Build Coastguard Worker  * jsimd_none.c
3*dfc6aa5cSAndroid Build Coastguard Worker  *
4*dfc6aa5cSAndroid Build Coastguard Worker  * Copyright 2009 Pierre Ossman <[email protected]> for Cendio AB
5*dfc6aa5cSAndroid Build Coastguard Worker  * Copyright (C) 2009-2011, 2014, 2022, D. R. Commander.
6*dfc6aa5cSAndroid Build Coastguard Worker  * Copyright (C) 2015-2016, 2018, 2022, Matthieu Darbois.
7*dfc6aa5cSAndroid Build Coastguard Worker  * Copyright (C) 2020, Arm Limited.
8*dfc6aa5cSAndroid Build Coastguard Worker  *
9*dfc6aa5cSAndroid Build Coastguard Worker  * Based on the x86 SIMD extension for IJG JPEG library,
10*dfc6aa5cSAndroid Build Coastguard Worker  * Copyright (C) 1999-2006, MIYASAKA Masaru.
11*dfc6aa5cSAndroid Build Coastguard Worker  * For conditions of distribution and use, see copyright notice in jsimdext.inc
12*dfc6aa5cSAndroid Build Coastguard Worker  *
13*dfc6aa5cSAndroid Build Coastguard Worker  * This file contains stubs for when there is no SIMD support available.
14*dfc6aa5cSAndroid Build Coastguard Worker  */
15*dfc6aa5cSAndroid Build Coastguard Worker 
16*dfc6aa5cSAndroid Build Coastguard Worker #define JPEG_INTERNALS
17*dfc6aa5cSAndroid Build Coastguard Worker #include "jinclude.h"
18*dfc6aa5cSAndroid Build Coastguard Worker #include "jpeglib.h"
19*dfc6aa5cSAndroid Build Coastguard Worker #include "jsimd.h"
20*dfc6aa5cSAndroid Build Coastguard Worker #include "jdct.h"
21*dfc6aa5cSAndroid Build Coastguard Worker #include "jsimddct.h"
22*dfc6aa5cSAndroid Build Coastguard Worker 
23*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_rgb_ycc(void)24*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_rgb_ycc(void)
25*dfc6aa5cSAndroid Build Coastguard Worker {
26*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
27*dfc6aa5cSAndroid Build Coastguard Worker }
28*dfc6aa5cSAndroid Build Coastguard Worker 
29*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_rgb_gray(void)30*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_rgb_gray(void)
31*dfc6aa5cSAndroid Build Coastguard Worker {
32*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
33*dfc6aa5cSAndroid Build Coastguard Worker }
34*dfc6aa5cSAndroid Build Coastguard Worker 
35*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_ycc_rgb(void)36*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_ycc_rgb(void)
37*dfc6aa5cSAndroid Build Coastguard Worker {
38*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
39*dfc6aa5cSAndroid Build Coastguard Worker }
40*dfc6aa5cSAndroid Build Coastguard Worker 
41*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_ycc_rgb565(void)42*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_ycc_rgb565(void)
43*dfc6aa5cSAndroid Build Coastguard Worker {
44*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
45*dfc6aa5cSAndroid Build Coastguard Worker }
46*dfc6aa5cSAndroid Build Coastguard Worker 
47*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_c_can_null_convert(void)48*dfc6aa5cSAndroid Build Coastguard Worker jsimd_c_can_null_convert(void)
49*dfc6aa5cSAndroid Build Coastguard Worker {
50*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
51*dfc6aa5cSAndroid Build Coastguard Worker }
52*dfc6aa5cSAndroid Build Coastguard Worker 
53*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_rgb_ycc_convert(j_compress_ptr cinfo,JSAMPARRAY input_buf,JSAMPIMAGE output_buf,JDIMENSION output_row,int num_rows)54*dfc6aa5cSAndroid Build Coastguard Worker jsimd_rgb_ycc_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf,
55*dfc6aa5cSAndroid Build Coastguard Worker                       JSAMPIMAGE output_buf, JDIMENSION output_row,
56*dfc6aa5cSAndroid Build Coastguard Worker                       int num_rows)
57*dfc6aa5cSAndroid Build Coastguard Worker {
58*dfc6aa5cSAndroid Build Coastguard Worker }
59*dfc6aa5cSAndroid Build Coastguard Worker 
60*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_rgb_gray_convert(j_compress_ptr cinfo,JSAMPARRAY input_buf,JSAMPIMAGE output_buf,JDIMENSION output_row,int num_rows)61*dfc6aa5cSAndroid Build Coastguard Worker jsimd_rgb_gray_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf,
62*dfc6aa5cSAndroid Build Coastguard Worker                        JSAMPIMAGE output_buf, JDIMENSION output_row,
63*dfc6aa5cSAndroid Build Coastguard Worker                        int num_rows)
64*dfc6aa5cSAndroid Build Coastguard Worker {
65*dfc6aa5cSAndroid Build Coastguard Worker }
66*dfc6aa5cSAndroid Build Coastguard Worker 
67*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_ycc_rgb_convert(j_decompress_ptr cinfo,JSAMPIMAGE input_buf,JDIMENSION input_row,JSAMPARRAY output_buf,int num_rows)68*dfc6aa5cSAndroid Build Coastguard Worker jsimd_ycc_rgb_convert(j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
69*dfc6aa5cSAndroid Build Coastguard Worker                       JDIMENSION input_row, JSAMPARRAY output_buf,
70*dfc6aa5cSAndroid Build Coastguard Worker                       int num_rows)
71*dfc6aa5cSAndroid Build Coastguard Worker {
72*dfc6aa5cSAndroid Build Coastguard Worker }
73*dfc6aa5cSAndroid Build Coastguard Worker 
74*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_ycc_rgb565_convert(j_decompress_ptr cinfo,JSAMPIMAGE input_buf,JDIMENSION input_row,JSAMPARRAY output_buf,int num_rows)75*dfc6aa5cSAndroid Build Coastguard Worker jsimd_ycc_rgb565_convert(j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
76*dfc6aa5cSAndroid Build Coastguard Worker                          JDIMENSION input_row, JSAMPARRAY output_buf,
77*dfc6aa5cSAndroid Build Coastguard Worker                          int num_rows)
78*dfc6aa5cSAndroid Build Coastguard Worker {
79*dfc6aa5cSAndroid Build Coastguard Worker }
80*dfc6aa5cSAndroid Build Coastguard Worker 
81*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_c_null_convert(j_compress_ptr cinfo,JSAMPARRAY input_buf,JSAMPIMAGE output_buf,JDIMENSION output_row,int num_rows)82*dfc6aa5cSAndroid Build Coastguard Worker jsimd_c_null_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf,
83*dfc6aa5cSAndroid Build Coastguard Worker                      JSAMPIMAGE output_buf, JDIMENSION output_row,
84*dfc6aa5cSAndroid Build Coastguard Worker                      int num_rows)
85*dfc6aa5cSAndroid Build Coastguard Worker {
86*dfc6aa5cSAndroid Build Coastguard Worker }
87*dfc6aa5cSAndroid Build Coastguard Worker 
88*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v2_downsample(void)89*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v2_downsample(void)
90*dfc6aa5cSAndroid Build Coastguard Worker {
91*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
92*dfc6aa5cSAndroid Build Coastguard Worker }
93*dfc6aa5cSAndroid Build Coastguard Worker 
94*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v1_downsample(void)95*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v1_downsample(void)
96*dfc6aa5cSAndroid Build Coastguard Worker {
97*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
98*dfc6aa5cSAndroid Build Coastguard Worker }
99*dfc6aa5cSAndroid Build Coastguard Worker 
100*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v2_smooth_downsample(void)101*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v2_smooth_downsample(void)
102*dfc6aa5cSAndroid Build Coastguard Worker {
103*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
104*dfc6aa5cSAndroid Build Coastguard Worker }
105*dfc6aa5cSAndroid Build Coastguard Worker 
106*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v2_downsample(j_compress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY output_data)107*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v2_downsample(j_compress_ptr cinfo, jpeg_component_info *compptr,
108*dfc6aa5cSAndroid Build Coastguard Worker                       JSAMPARRAY input_data, JSAMPARRAY output_data)
109*dfc6aa5cSAndroid Build Coastguard Worker {
110*dfc6aa5cSAndroid Build Coastguard Worker }
111*dfc6aa5cSAndroid Build Coastguard Worker 
112*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v2_smooth_downsample(j_compress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY output_data)113*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v2_smooth_downsample(j_compress_ptr cinfo,
114*dfc6aa5cSAndroid Build Coastguard Worker                              jpeg_component_info *compptr,
115*dfc6aa5cSAndroid Build Coastguard Worker                              JSAMPARRAY input_data, JSAMPARRAY output_data)
116*dfc6aa5cSAndroid Build Coastguard Worker {
117*dfc6aa5cSAndroid Build Coastguard Worker }
118*dfc6aa5cSAndroid Build Coastguard Worker 
119*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v1_downsample(j_compress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY output_data)120*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v1_downsample(j_compress_ptr cinfo, jpeg_component_info *compptr,
121*dfc6aa5cSAndroid Build Coastguard Worker                       JSAMPARRAY input_data, JSAMPARRAY output_data)
122*dfc6aa5cSAndroid Build Coastguard Worker {
123*dfc6aa5cSAndroid Build Coastguard Worker }
124*dfc6aa5cSAndroid Build Coastguard Worker 
125*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v2_upsample(void)126*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v2_upsample(void)
127*dfc6aa5cSAndroid Build Coastguard Worker {
128*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
129*dfc6aa5cSAndroid Build Coastguard Worker }
130*dfc6aa5cSAndroid Build Coastguard Worker 
131*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v1_upsample(void)132*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v1_upsample(void)
133*dfc6aa5cSAndroid Build Coastguard Worker {
134*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
135*dfc6aa5cSAndroid Build Coastguard Worker }
136*dfc6aa5cSAndroid Build Coastguard Worker 
137*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_int_upsample(void)138*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_int_upsample(void)
139*dfc6aa5cSAndroid Build Coastguard Worker {
140*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
141*dfc6aa5cSAndroid Build Coastguard Worker }
142*dfc6aa5cSAndroid Build Coastguard Worker 
143*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_int_upsample(j_decompress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY * output_data_ptr)144*dfc6aa5cSAndroid Build Coastguard Worker jsimd_int_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr,
145*dfc6aa5cSAndroid Build Coastguard Worker                    JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
146*dfc6aa5cSAndroid Build Coastguard Worker {
147*dfc6aa5cSAndroid Build Coastguard Worker }
148*dfc6aa5cSAndroid Build Coastguard Worker 
149*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v2_upsample(j_decompress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY * output_data_ptr)150*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v2_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr,
151*dfc6aa5cSAndroid Build Coastguard Worker                     JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
152*dfc6aa5cSAndroid Build Coastguard Worker {
153*dfc6aa5cSAndroid Build Coastguard Worker }
154*dfc6aa5cSAndroid Build Coastguard Worker 
155*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v1_upsample(j_decompress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY * output_data_ptr)156*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v1_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr,
157*dfc6aa5cSAndroid Build Coastguard Worker                     JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
158*dfc6aa5cSAndroid Build Coastguard Worker {
159*dfc6aa5cSAndroid Build Coastguard Worker }
160*dfc6aa5cSAndroid Build Coastguard Worker 
161*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v2_fancy_upsample(void)162*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v2_fancy_upsample(void)
163*dfc6aa5cSAndroid Build Coastguard Worker {
164*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
165*dfc6aa5cSAndroid Build Coastguard Worker }
166*dfc6aa5cSAndroid Build Coastguard Worker 
167*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v1_fancy_upsample(void)168*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v1_fancy_upsample(void)
169*dfc6aa5cSAndroid Build Coastguard Worker {
170*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
171*dfc6aa5cSAndroid Build Coastguard Worker }
172*dfc6aa5cSAndroid Build Coastguard Worker 
173*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h1v2_fancy_upsample(void)174*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h1v2_fancy_upsample(void)
175*dfc6aa5cSAndroid Build Coastguard Worker {
176*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
177*dfc6aa5cSAndroid Build Coastguard Worker }
178*dfc6aa5cSAndroid Build Coastguard Worker 
179*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v2_fancy_upsample(j_decompress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY * output_data_ptr)180*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v2_fancy_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr,
181*dfc6aa5cSAndroid Build Coastguard Worker                           JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
182*dfc6aa5cSAndroid Build Coastguard Worker {
183*dfc6aa5cSAndroid Build Coastguard Worker }
184*dfc6aa5cSAndroid Build Coastguard Worker 
185*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v1_fancy_upsample(j_decompress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY * output_data_ptr)186*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v1_fancy_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr,
187*dfc6aa5cSAndroid Build Coastguard Worker                           JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
188*dfc6aa5cSAndroid Build Coastguard Worker {
189*dfc6aa5cSAndroid Build Coastguard Worker }
190*dfc6aa5cSAndroid Build Coastguard Worker 
191*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h1v2_fancy_upsample(j_decompress_ptr cinfo,jpeg_component_info * compptr,JSAMPARRAY input_data,JSAMPARRAY * output_data_ptr)192*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h1v2_fancy_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr,
193*dfc6aa5cSAndroid Build Coastguard Worker                           JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
194*dfc6aa5cSAndroid Build Coastguard Worker {
195*dfc6aa5cSAndroid Build Coastguard Worker }
196*dfc6aa5cSAndroid Build Coastguard Worker 
197*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v2_merged_upsample(void)198*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v2_merged_upsample(void)
199*dfc6aa5cSAndroid Build Coastguard Worker {
200*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
201*dfc6aa5cSAndroid Build Coastguard Worker }
202*dfc6aa5cSAndroid Build Coastguard Worker 
203*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_h2v1_merged_upsample(void)204*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_h2v1_merged_upsample(void)
205*dfc6aa5cSAndroid Build Coastguard Worker {
206*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
207*dfc6aa5cSAndroid Build Coastguard Worker }
208*dfc6aa5cSAndroid Build Coastguard Worker 
209*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v2_merged_upsample(j_decompress_ptr cinfo,JSAMPIMAGE input_buf,JDIMENSION in_row_group_ctr,JSAMPARRAY output_buf)210*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v2_merged_upsample(j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
211*dfc6aa5cSAndroid Build Coastguard Worker                            JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)
212*dfc6aa5cSAndroid Build Coastguard Worker {
213*dfc6aa5cSAndroid Build Coastguard Worker }
214*dfc6aa5cSAndroid Build Coastguard Worker 
215*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_h2v1_merged_upsample(j_decompress_ptr cinfo,JSAMPIMAGE input_buf,JDIMENSION in_row_group_ctr,JSAMPARRAY output_buf)216*dfc6aa5cSAndroid Build Coastguard Worker jsimd_h2v1_merged_upsample(j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
217*dfc6aa5cSAndroid Build Coastguard Worker                            JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)
218*dfc6aa5cSAndroid Build Coastguard Worker {
219*dfc6aa5cSAndroid Build Coastguard Worker }
220*dfc6aa5cSAndroid Build Coastguard Worker 
221*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_convsamp(void)222*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_convsamp(void)
223*dfc6aa5cSAndroid Build Coastguard Worker {
224*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
225*dfc6aa5cSAndroid Build Coastguard Worker }
226*dfc6aa5cSAndroid Build Coastguard Worker 
227*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_convsamp_float(void)228*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_convsamp_float(void)
229*dfc6aa5cSAndroid Build Coastguard Worker {
230*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
231*dfc6aa5cSAndroid Build Coastguard Worker }
232*dfc6aa5cSAndroid Build Coastguard Worker 
233*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_convsamp(JSAMPARRAY sample_data,JDIMENSION start_col,DCTELEM * workspace)234*dfc6aa5cSAndroid Build Coastguard Worker jsimd_convsamp(JSAMPARRAY sample_data, JDIMENSION start_col,
235*dfc6aa5cSAndroid Build Coastguard Worker                DCTELEM *workspace)
236*dfc6aa5cSAndroid Build Coastguard Worker {
237*dfc6aa5cSAndroid Build Coastguard Worker }
238*dfc6aa5cSAndroid Build Coastguard Worker 
239*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_convsamp_float(JSAMPARRAY sample_data,JDIMENSION start_col,FAST_FLOAT * workspace)240*dfc6aa5cSAndroid Build Coastguard Worker jsimd_convsamp_float(JSAMPARRAY sample_data, JDIMENSION start_col,
241*dfc6aa5cSAndroid Build Coastguard Worker                      FAST_FLOAT *workspace)
242*dfc6aa5cSAndroid Build Coastguard Worker {
243*dfc6aa5cSAndroid Build Coastguard Worker }
244*dfc6aa5cSAndroid Build Coastguard Worker 
245*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_fdct_islow(void)246*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_fdct_islow(void)
247*dfc6aa5cSAndroid Build Coastguard Worker {
248*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
249*dfc6aa5cSAndroid Build Coastguard Worker }
250*dfc6aa5cSAndroid Build Coastguard Worker 
251*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_fdct_ifast(void)252*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_fdct_ifast(void)
253*dfc6aa5cSAndroid Build Coastguard Worker {
254*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
255*dfc6aa5cSAndroid Build Coastguard Worker }
256*dfc6aa5cSAndroid Build Coastguard Worker 
257*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_fdct_float(void)258*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_fdct_float(void)
259*dfc6aa5cSAndroid Build Coastguard Worker {
260*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
261*dfc6aa5cSAndroid Build Coastguard Worker }
262*dfc6aa5cSAndroid Build Coastguard Worker 
263*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_fdct_islow(DCTELEM * data)264*dfc6aa5cSAndroid Build Coastguard Worker jsimd_fdct_islow(DCTELEM *data)
265*dfc6aa5cSAndroid Build Coastguard Worker {
266*dfc6aa5cSAndroid Build Coastguard Worker }
267*dfc6aa5cSAndroid Build Coastguard Worker 
268*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_fdct_ifast(DCTELEM * data)269*dfc6aa5cSAndroid Build Coastguard Worker jsimd_fdct_ifast(DCTELEM *data)
270*dfc6aa5cSAndroid Build Coastguard Worker {
271*dfc6aa5cSAndroid Build Coastguard Worker }
272*dfc6aa5cSAndroid Build Coastguard Worker 
273*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_fdct_float(FAST_FLOAT * data)274*dfc6aa5cSAndroid Build Coastguard Worker jsimd_fdct_float(FAST_FLOAT *data)
275*dfc6aa5cSAndroid Build Coastguard Worker {
276*dfc6aa5cSAndroid Build Coastguard Worker }
277*dfc6aa5cSAndroid Build Coastguard Worker 
278*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_quantize(void)279*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_quantize(void)
280*dfc6aa5cSAndroid Build Coastguard Worker {
281*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
282*dfc6aa5cSAndroid Build Coastguard Worker }
283*dfc6aa5cSAndroid Build Coastguard Worker 
284*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_quantize_float(void)285*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_quantize_float(void)
286*dfc6aa5cSAndroid Build Coastguard Worker {
287*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
288*dfc6aa5cSAndroid Build Coastguard Worker }
289*dfc6aa5cSAndroid Build Coastguard Worker 
290*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_quantize(JCOEFPTR coef_block,DCTELEM * divisors,DCTELEM * workspace)291*dfc6aa5cSAndroid Build Coastguard Worker jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace)
292*dfc6aa5cSAndroid Build Coastguard Worker {
293*dfc6aa5cSAndroid Build Coastguard Worker }
294*dfc6aa5cSAndroid Build Coastguard Worker 
295*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_quantize_float(JCOEFPTR coef_block,FAST_FLOAT * divisors,FAST_FLOAT * workspace)296*dfc6aa5cSAndroid Build Coastguard Worker jsimd_quantize_float(JCOEFPTR coef_block, FAST_FLOAT *divisors,
297*dfc6aa5cSAndroid Build Coastguard Worker                      FAST_FLOAT *workspace)
298*dfc6aa5cSAndroid Build Coastguard Worker {
299*dfc6aa5cSAndroid Build Coastguard Worker }
300*dfc6aa5cSAndroid Build Coastguard Worker 
301*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_2x2(void)302*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_2x2(void)
303*dfc6aa5cSAndroid Build Coastguard Worker {
304*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
305*dfc6aa5cSAndroid Build Coastguard Worker }
306*dfc6aa5cSAndroid Build Coastguard Worker 
307*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_4x4(void)308*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_4x4(void)
309*dfc6aa5cSAndroid Build Coastguard Worker {
310*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
311*dfc6aa5cSAndroid Build Coastguard Worker }
312*dfc6aa5cSAndroid Build Coastguard Worker 
313*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_6x6(void)314*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_6x6(void)
315*dfc6aa5cSAndroid Build Coastguard Worker {
316*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
317*dfc6aa5cSAndroid Build Coastguard Worker }
318*dfc6aa5cSAndroid Build Coastguard Worker 
319*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_12x12(void)320*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_12x12(void)
321*dfc6aa5cSAndroid Build Coastguard Worker {
322*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
323*dfc6aa5cSAndroid Build Coastguard Worker }
324*dfc6aa5cSAndroid Build Coastguard Worker 
325*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_2x2(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)326*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_2x2(j_decompress_ptr cinfo, jpeg_component_info *compptr,
327*dfc6aa5cSAndroid Build Coastguard Worker                JCOEFPTR coef_block, JSAMPARRAY output_buf,
328*dfc6aa5cSAndroid Build Coastguard Worker                JDIMENSION output_col)
329*dfc6aa5cSAndroid Build Coastguard Worker {
330*dfc6aa5cSAndroid Build Coastguard Worker }
331*dfc6aa5cSAndroid Build Coastguard Worker 
332*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_4x4(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)333*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_4x4(j_decompress_ptr cinfo, jpeg_component_info *compptr,
334*dfc6aa5cSAndroid Build Coastguard Worker                JCOEFPTR coef_block, JSAMPARRAY output_buf,
335*dfc6aa5cSAndroid Build Coastguard Worker                JDIMENSION output_col)
336*dfc6aa5cSAndroid Build Coastguard Worker {
337*dfc6aa5cSAndroid Build Coastguard Worker }
338*dfc6aa5cSAndroid Build Coastguard Worker 
339*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_6x6(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)340*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_6x6(j_decompress_ptr cinfo, jpeg_component_info *compptr,
341*dfc6aa5cSAndroid Build Coastguard Worker                JCOEFPTR coef_block, JSAMPARRAY output_buf,
342*dfc6aa5cSAndroid Build Coastguard Worker                JDIMENSION output_col)
343*dfc6aa5cSAndroid Build Coastguard Worker {
344*dfc6aa5cSAndroid Build Coastguard Worker }
345*dfc6aa5cSAndroid Build Coastguard Worker 
346*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_12x12(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)347*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_12x12(j_decompress_ptr cinfo, jpeg_component_info *compptr,
348*dfc6aa5cSAndroid Build Coastguard Worker                  JCOEFPTR coef_block, JSAMPARRAY output_buf,
349*dfc6aa5cSAndroid Build Coastguard Worker                  JDIMENSION output_col)
350*dfc6aa5cSAndroid Build Coastguard Worker {
351*dfc6aa5cSAndroid Build Coastguard Worker }
352*dfc6aa5cSAndroid Build Coastguard Worker 
353*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_islow(void)354*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_islow(void)
355*dfc6aa5cSAndroid Build Coastguard Worker {
356*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
357*dfc6aa5cSAndroid Build Coastguard Worker }
358*dfc6aa5cSAndroid Build Coastguard Worker 
359*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_ifast(void)360*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_ifast(void)
361*dfc6aa5cSAndroid Build Coastguard Worker {
362*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
363*dfc6aa5cSAndroid Build Coastguard Worker }
364*dfc6aa5cSAndroid Build Coastguard Worker 
365*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_idct_float(void)366*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_idct_float(void)
367*dfc6aa5cSAndroid Build Coastguard Worker {
368*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
369*dfc6aa5cSAndroid Build Coastguard Worker }
370*dfc6aa5cSAndroid Build Coastguard Worker 
371*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_islow(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)372*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_islow(j_decompress_ptr cinfo, jpeg_component_info *compptr,
373*dfc6aa5cSAndroid Build Coastguard Worker                  JCOEFPTR coef_block, JSAMPARRAY output_buf,
374*dfc6aa5cSAndroid Build Coastguard Worker                  JDIMENSION output_col)
375*dfc6aa5cSAndroid Build Coastguard Worker {
376*dfc6aa5cSAndroid Build Coastguard Worker }
377*dfc6aa5cSAndroid Build Coastguard Worker 
378*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_ifast(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)379*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_ifast(j_decompress_ptr cinfo, jpeg_component_info *compptr,
380*dfc6aa5cSAndroid Build Coastguard Worker                  JCOEFPTR coef_block, JSAMPARRAY output_buf,
381*dfc6aa5cSAndroid Build Coastguard Worker                  JDIMENSION output_col)
382*dfc6aa5cSAndroid Build Coastguard Worker {
383*dfc6aa5cSAndroid Build Coastguard Worker }
384*dfc6aa5cSAndroid Build Coastguard Worker 
385*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_idct_float(j_decompress_ptr cinfo,jpeg_component_info * compptr,JCOEFPTR coef_block,JSAMPARRAY output_buf,JDIMENSION output_col)386*dfc6aa5cSAndroid Build Coastguard Worker jsimd_idct_float(j_decompress_ptr cinfo, jpeg_component_info *compptr,
387*dfc6aa5cSAndroid Build Coastguard Worker                  JCOEFPTR coef_block, JSAMPARRAY output_buf,
388*dfc6aa5cSAndroid Build Coastguard Worker                  JDIMENSION output_col)
389*dfc6aa5cSAndroid Build Coastguard Worker {
390*dfc6aa5cSAndroid Build Coastguard Worker }
391*dfc6aa5cSAndroid Build Coastguard Worker 
392*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_huff_encode_one_block(void)393*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_huff_encode_one_block(void)
394*dfc6aa5cSAndroid Build Coastguard Worker {
395*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
396*dfc6aa5cSAndroid Build Coastguard Worker }
397*dfc6aa5cSAndroid Build Coastguard Worker 
398*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(JOCTET *)
jsimd_huff_encode_one_block(void * state,JOCTET * buffer,JCOEFPTR block,int last_dc_val,c_derived_tbl * dctbl,c_derived_tbl * actbl)399*dfc6aa5cSAndroid Build Coastguard Worker jsimd_huff_encode_one_block(void *state, JOCTET *buffer, JCOEFPTR block,
400*dfc6aa5cSAndroid Build Coastguard Worker                             int last_dc_val, c_derived_tbl *dctbl,
401*dfc6aa5cSAndroid Build Coastguard Worker                             c_derived_tbl *actbl)
402*dfc6aa5cSAndroid Build Coastguard Worker {
403*dfc6aa5cSAndroid Build Coastguard Worker   return NULL;
404*dfc6aa5cSAndroid Build Coastguard Worker }
405*dfc6aa5cSAndroid Build Coastguard Worker 
406*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_encode_mcu_AC_first_prepare(void)407*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_encode_mcu_AC_first_prepare(void)
408*dfc6aa5cSAndroid Build Coastguard Worker {
409*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
410*dfc6aa5cSAndroid Build Coastguard Worker }
411*dfc6aa5cSAndroid Build Coastguard Worker 
412*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(void)
jsimd_encode_mcu_AC_first_prepare(const JCOEF * block,const int * jpeg_natural_order_start,int Sl,int Al,UJCOEF * values,size_t * zerobits)413*dfc6aa5cSAndroid Build Coastguard Worker jsimd_encode_mcu_AC_first_prepare(const JCOEF *block,
414*dfc6aa5cSAndroid Build Coastguard Worker                                   const int *jpeg_natural_order_start, int Sl,
415*dfc6aa5cSAndroid Build Coastguard Worker                                   int Al, UJCOEF *values, size_t *zerobits)
416*dfc6aa5cSAndroid Build Coastguard Worker {
417*dfc6aa5cSAndroid Build Coastguard Worker }
418*dfc6aa5cSAndroid Build Coastguard Worker 
419*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_can_encode_mcu_AC_refine_prepare(void)420*dfc6aa5cSAndroid Build Coastguard Worker jsimd_can_encode_mcu_AC_refine_prepare(void)
421*dfc6aa5cSAndroid Build Coastguard Worker {
422*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
423*dfc6aa5cSAndroid Build Coastguard Worker }
424*dfc6aa5cSAndroid Build Coastguard Worker 
425*dfc6aa5cSAndroid Build Coastguard Worker GLOBAL(int)
jsimd_encode_mcu_AC_refine_prepare(const JCOEF * block,const int * jpeg_natural_order_start,int Sl,int Al,UJCOEF * absvalues,size_t * bits)426*dfc6aa5cSAndroid Build Coastguard Worker jsimd_encode_mcu_AC_refine_prepare(const JCOEF *block,
427*dfc6aa5cSAndroid Build Coastguard Worker                                    const int *jpeg_natural_order_start, int Sl,
428*dfc6aa5cSAndroid Build Coastguard Worker                                    int Al, UJCOEF *absvalues, size_t *bits)
429*dfc6aa5cSAndroid Build Coastguard Worker {
430*dfc6aa5cSAndroid Build Coastguard Worker   return 0;
431*dfc6aa5cSAndroid Build Coastguard Worker }
432