media/libjpeg/simd/jsimd.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /*
michael@0 2 * simd/jsimd.h
michael@0 3 *
michael@0 4 * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
michael@0 5 * Copyright 2011 D. R. Commander
michael@0 6 *
michael@0 7 * Based on the x86 SIMD extension for IJG JPEG library,
michael@0 8 * Copyright (C) 1999-2006, MIYASAKA Masaru.
michael@0 9 * For conditions of distribution and use, see copyright notice in jsimdext.inc
michael@0 10 *
michael@0 11 */
michael@0 12
michael@0 13 /* Bitmask for supported acceleration methods */
michael@0 14
michael@0 15 #define JSIMD_NONE 0x00
michael@0 16 #define JSIMD_MMX 0x01
michael@0 17 #define JSIMD_3DNOW 0x02
michael@0 18 #define JSIMD_SSE 0x04
michael@0 19 #define JSIMD_SSE2 0x08
michael@0 20 #define JSIMD_ARM_NEON 0x10
michael@0 21
michael@0 22 /* Short forms of external names for systems with brain-damaged linkers. */
michael@0 23
michael@0 24 #ifdef NEED_SHORT_EXTERNAL_NAMES
michael@0 25 #define jpeg_simd_cpu_support jSiCpuSupport
michael@0 26 #define jsimd_rgb_ycc_convert_mmx jSRGBYCCM
michael@0 27 #define jsimd_extrgb_ycc_convert_mmx jSEXTRGBYCCM
michael@0 28 #define jsimd_extrgbx_ycc_convert_mmx jSEXTRGBXYCCM
michael@0 29 #define jsimd_extbgr_ycc_convert_mmx jSEXTBGRYCCM
michael@0 30 #define jsimd_extbgrx_ycc_convert_mmx jSEXTBGRXYCCM
michael@0 31 #define jsimd_extxbgr_ycc_convert_mmx jSEXTXBGRYCCM
michael@0 32 #define jsimd_extxrgb_ycc_convert_mmx jSEXTXRGBYCCM
michael@0 33 #define jsimd_rgb_gray_convert_mmx jSRGBGRYM
michael@0 34 #define jsimd_extrgb_gray_convert_mmx jSEXTRGBGRYM
michael@0 35 #define jsimd_extrgbx_gray_convert_mmx jSEXTRGBXGRYM
michael@0 36 #define jsimd_extbgr_gray_convert_mmx jSEXTBGRGRYM
michael@0 37 #define jsimd_extbgrx_gray_convert_mmx jSEXTBGRXGRYM
michael@0 38 #define jsimd_extxbgr_gray_convert_mmx jSEXTXBGRGRYM
michael@0 39 #define jsimd_extxrgb_gray_convert_mmx jSEXTXRGBGRYM
michael@0 40 #define jsimd_ycc_rgb_convert_mmx jSYCCRGBM
michael@0 41 #define jsimd_ycc_extrgb_convert_mmx jSYCCEXTRGBM
michael@0 42 #define jsimd_ycc_extrgbx_convert_mmx jSYCCEXTRGBXM
michael@0 43 #define jsimd_ycc_extbgr_convert_mmx jSYCCEXTBGRM
michael@0 44 #define jsimd_ycc_extbgrx_convert_mmx jSYCCEXTBGRXM
michael@0 45 #define jsimd_ycc_extxbgr_convert_mmx jSYCCEXTXBGRM
michael@0 46 #define jsimd_ycc_extxrgb_convert_mmx jSYCCEXTXRGBM
michael@0 47 #define jconst_rgb_ycc_convert_sse2 jSCRGBYCCS2
michael@0 48 #define jsimd_rgb_ycc_convert_sse2 jSRGBYCCS2
michael@0 49 #define jsimd_extrgb_ycc_convert_sse2 jSEXTRGBYCCS2
michael@0 50 #define jsimd_extrgbx_ycc_convert_sse2 jSEXTRGBXYCCS2
michael@0 51 #define jsimd_extbgr_ycc_convert_sse2 jSEXTBGRYCCS2
michael@0 52 #define jsimd_extbgrx_ycc_convert_sse2 jSEXTBGRXYCCS2
michael@0 53 #define jsimd_extxbgr_ycc_convert_sse2 jSEXTXBGRYCCS2
michael@0 54 #define jsimd_extxrgb_ycc_convert_sse2 jSEXTXRGBYCCS2
michael@0 55 #define jconst_rgb_gray_convert_sse2 jSCRGBGRYS2
michael@0 56 #define jsimd_rgb_gray_convert_sse2 jSRGBGRYS2
michael@0 57 #define jsimd_extrgb_gray_convert_sse2 jSEXTRGBGRYS2
michael@0 58 #define jsimd_extrgbx_gray_convert_sse2 jSEXTRGBXGRYS2
michael@0 59 #define jsimd_extbgr_gray_convert_sse2 jSEXTBGRGRYS2
michael@0 60 #define jsimd_extbgrx_gray_convert_sse2 jSEXTBGRXGRYS2
michael@0 61 #define jsimd_extxbgr_gray_convert_sse2 jSEXTXBGRGRYS2
michael@0 62 #define jsimd_extxrgb_gray_convert_sse2 jSEXTXRGBGRYS2
michael@0 63 #define jconst_ycc_rgb_convert_sse2 jSCYCCRGBS2
michael@0 64 #define jsimd_ycc_rgb_convert_sse2 jSYCCRGBS2
michael@0 65 #define jsimd_ycc_extrgb_convert_sse2 jSYCCEXTRGBS2
michael@0 66 #define jsimd_ycc_extrgbx_convert_sse2 jSYCCEXTRGBXS2
michael@0 67 #define jsimd_ycc_extbgr_convert_sse2 jSYCCEXTBGRS2
michael@0 68 #define jsimd_ycc_extbgrx_convert_sse2 jSYCCEXTBGRXS2
michael@0 69 #define jsimd_ycc_extxbgr_convert_sse2 jSYCCEXTXBGRS2
michael@0 70 #define jsimd_ycc_extxrgb_convert_sse2 jSYCCEXTXRGBS2
michael@0 71 #define jsimd_h2v2_downsample_mmx jSDnH2V2M
michael@0 72 #define jsimd_h2v1_downsample_mmx jSDnH2V1M
michael@0 73 #define jsimd_h2v2_downsample_sse2 jSDnH2V2S2
michael@0 74 #define jsimd_h2v1_downsample_sse2 jSDnH2V1S2
michael@0 75 #define jsimd_h2v2_upsample_mmx jSUpH2V2M
michael@0 76 #define jsimd_h2v1_upsample_mmx jSUpH2V1M
michael@0 77 #define jsimd_h2v2_fancy_upsample_mmx jSFUpH2V2M
michael@0 78 #define jsimd_h2v1_fancy_upsample_mmx jSFUpH2V1M
michael@0 79 #define jsimd_h2v2_merged_upsample_mmx jSMUpH2V2M
michael@0 80 #define jsimd_h2v2_extrgb_merged_upsample_mmx jSMUpH2V2EXTRGBM
michael@0 81 #define jsimd_h2v2_extrgbx_merged_upsample_mmx jSMUpH2V2EXTRGBXM
michael@0 82 #define jsimd_h2v2_extbgr_merged_upsample_mmx jSMUpH2V2EXTBGRM
michael@0 83 #define jsimd_h2v2_extbgrx_merged_upsample_mmx jSMUpH2V2EXTBGRXM
michael@0 84 #define jsimd_h2v2_extxbgr_merged_upsample_mmx jSMUpH2V2EXTXBGRM
michael@0 85 #define jsimd_h2v2_extxrgb_merged_upsample_mmx jSMUpH2V2EXTXRGBM
michael@0 86 #define jsimd_h2v1_merged_upsample_mmx jSMUpH2V1M
michael@0 87 #define jsimd_h2v1_extrgb_merged_upsample_mmx jSMUpH2V1EXTRGBM
michael@0 88 #define jsimd_h2v1_extrgbx_merged_upsample_mmx jSMUpH2V1EXTRGBXM
michael@0 89 #define jsimd_h2v1_extbgr_merged_upsample_mmx jSMUpH2V1EXTBGRM
michael@0 90 #define jsimd_h2v1_extbgrx_merged_upsample_mmx jSMUpH2V1EXTBGRXM
michael@0 91 #define jsimd_h2v1_extxbgr_merged_upsample_mmx jSMUpH2V1EXTXBGRM
michael@0 92 #define jsimd_h2v1_extxrgb_merged_upsample_mmx jSMUpH2V1EXTXRGBM
michael@0 93 #define jsimd_h2v2_upsample_sse2 jSUpH2V2S2
michael@0 94 #define jsimd_h2v1_upsample_sse2 jSUpH2V1S2
michael@0 95 #define jconst_fancy_upsample_sse2 jSCFUpS2
michael@0 96 #define jsimd_h2v2_fancy_upsample_sse2 jSFUpH2V2S2
michael@0 97 #define jsimd_h2v1_fancy_upsample_sse2 jSFUpH2V1S2
michael@0 98 #define jconst_merged_upsample_sse2 jSCMUpS2
michael@0 99 #define jsimd_h2v2_merged_upsample_sse2 jSMUpH2V2S2
michael@0 100 #define jsimd_h2v2_extrgb_merged_upsample_sse2 jSMUpH2V2EXTRGBS2
michael@0 101 #define jsimd_h2v2_extrgbx_merged_upsample_sse2 jSMUpH2V2EXTRGBXS2
michael@0 102 #define jsimd_h2v2_extbgr_merged_upsample_sse2 jSMUpH2V2EXTBGRS2
michael@0 103 #define jsimd_h2v2_extbgrx_merged_upsample_sse2 jSMUpH2V2EXTBGRXS2
michael@0 104 #define jsimd_h2v2_extxbgr_merged_upsample_sse2 jSMUpH2V2EXTXBGRS2
michael@0 105 #define jsimd_h2v2_extxrgb_merged_upsample_sse2 jSMUpH2V2EXTXRGBS2
michael@0 106 #define jsimd_h2v1_merged_upsample_sse2 jSMUpH2V1S2
michael@0 107 #define jsimd_h2v1_extrgb_merged_upsample_sse2 jSMUpH2V1EXTRGBS2
michael@0 108 #define jsimd_h2v1_extrgbx_merged_upsample_sse2 jSMUpH2V1EXTRGBXS2
michael@0 109 #define jsimd_h2v1_extbgr_merged_upsample_sse2 jSMUpH2V1EXTBGRS2
michael@0 110 #define jsimd_h2v1_extbgrx_merged_upsample_sse2 jSMUpH2V1EXTBGRXS2
michael@0 111 #define jsimd_h2v1_extxbgr_merged_upsample_sse2 jSMUpH2V1EXTXBGRS2
michael@0 112 #define jsimd_h2v1_extxrgb_merged_upsample_sse2 jSMUpH2V1EXTXRGBS2
michael@0 113 #define jsimd_convsamp_mmx jSConvM
michael@0 114 #define jsimd_convsamp_sse2 jSConvS2
michael@0 115 #define jsimd_convsamp_float_3dnow jSConvF3D
michael@0 116 #define jsimd_convsamp_float_sse jSConvFS
michael@0 117 #define jsimd_convsamp_float_sse2 jSConvFS2
michael@0 118 #define jsimd_fdct_islow_mmx jSFDMIS
michael@0 119 #define jsimd_fdct_ifast_mmx jSFDMIF
michael@0 120 #define jconst_fdct_islow_sse2 jSCFDS2IS
michael@0 121 #define jsimd_fdct_islow_sse2 jSFDS2IS
michael@0 122 #define jconst_fdct_ifast_sse2 jSCFDS2IF
michael@0 123 #define jsimd_fdct_ifast_sse2 jSFDS2IF
michael@0 124 #define jsimd_fdct_float_3dnow jSFD3DF
michael@0 125 #define jconst_fdct_float_sse jSCFDSF
michael@0 126 #define jsimd_fdct_float_sse jSFDSF
michael@0 127 #define jsimd_quantize_mmx jSQuantM
michael@0 128 #define jsimd_quantize_sse2 jSQuantS2
michael@0 129 #define jsimd_quantize_float_3dnow jSQuantF3D
michael@0 130 #define jsimd_quantize_float_sse jSQuantFS
michael@0 131 #define jsimd_quantize_float_sse2 jSQuantFS2
michael@0 132 #define jsimd_idct_2x2_mmx jSIDM22
michael@0 133 #define jsimd_idct_4x4_mmx jSIDM44
michael@0 134 #define jconst_idct_red_sse2 jSCIDS2R
michael@0 135 #define jsimd_idct_2x2_sse2 jSIDS222
michael@0 136 #define jsimd_idct_4x4_sse2 jSIDS244
michael@0 137 #define jsimd_idct_islow_mmx jSIDMIS
michael@0 138 #define jsimd_idct_ifast_mmx jSIDMIF
michael@0 139 #define jconst_idct_islow_sse2 jSCIDS2IS
michael@0 140 #define jsimd_idct_islow_sse2 jSIDS2IS
michael@0 141 #define jconst_idct_ifast_sse2 jSCIDS2IF
michael@0 142 #define jsimd_idct_ifast_sse2 jSIDS2IF
michael@0 143 #define jsimd_idct_float_3dnow jSID3DF
michael@0 144 #define jconst_fdct_float_sse jSCIDSF
michael@0 145 #define jsimd_idct_float_sse jSIDSF
michael@0 146 #define jconst_fdct_float_sse2 jSCIDS2F
michael@0 147 #define jsimd_idct_float_sse2 jSIDS2F
michael@0 148 #endif /* NEED_SHORT_EXTERNAL_NAMES */
michael@0 149
michael@0 150 /* SIMD Ext: retrieve SIMD/CPU information */
michael@0 151 EXTERN(unsigned int) jpeg_simd_cpu_support JPP((void));
michael@0 152
michael@0 153 /* SIMD Color Space Conversion */
michael@0 154 EXTERN(void) jsimd_rgb_ycc_convert_mmx
michael@0 155 JPP((JDIMENSION img_width,
michael@0 156 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 157 JDIMENSION output_row, int num_rows));
michael@0 158 EXTERN(void) jsimd_extrgb_ycc_convert_mmx
michael@0 159 JPP((JDIMENSION img_width,
michael@0 160 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 161 JDIMENSION output_row, int num_rows));
michael@0 162 EXTERN(void) jsimd_extrgbx_ycc_convert_mmx
michael@0 163 JPP((JDIMENSION img_width,
michael@0 164 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 165 JDIMENSION output_row, int num_rows));
michael@0 166 EXTERN(void) jsimd_extbgr_ycc_convert_mmx
michael@0 167 JPP((JDIMENSION img_width,
michael@0 168 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 169 JDIMENSION output_row, int num_rows));
michael@0 170 EXTERN(void) jsimd_extbgrx_ycc_convert_mmx
michael@0 171 JPP((JDIMENSION img_width,
michael@0 172 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 173 JDIMENSION output_row, int num_rows));
michael@0 174 EXTERN(void) jsimd_extxbgr_ycc_convert_mmx
michael@0 175 JPP((JDIMENSION img_width,
michael@0 176 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 177 JDIMENSION output_row, int num_rows));
michael@0 178 EXTERN(void) jsimd_extxrgb_ycc_convert_mmx
michael@0 179 JPP((JDIMENSION img_width,
michael@0 180 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 181 JDIMENSION output_row, int num_rows));
michael@0 182
michael@0 183 EXTERN(void) jsimd_rgb_gray_convert_mmx
michael@0 184 JPP((JDIMENSION img_width,
michael@0 185 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 186 JDIMENSION output_row, int num_rows));
michael@0 187 EXTERN(void) jsimd_extrgb_gray_convert_mmx
michael@0 188 JPP((JDIMENSION img_width,
michael@0 189 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 190 JDIMENSION output_row, int num_rows));
michael@0 191 EXTERN(void) jsimd_extrgbx_gray_convert_mmx
michael@0 192 JPP((JDIMENSION img_width,
michael@0 193 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 194 JDIMENSION output_row, int num_rows));
michael@0 195 EXTERN(void) jsimd_extbgr_gray_convert_mmx
michael@0 196 JPP((JDIMENSION img_width,
michael@0 197 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 198 JDIMENSION output_row, int num_rows));
michael@0 199 EXTERN(void) jsimd_extbgrx_gray_convert_mmx
michael@0 200 JPP((JDIMENSION img_width,
michael@0 201 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 202 JDIMENSION output_row, int num_rows));
michael@0 203 EXTERN(void) jsimd_extxbgr_gray_convert_mmx
michael@0 204 JPP((JDIMENSION img_width,
michael@0 205 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 206 JDIMENSION output_row, int num_rows));
michael@0 207 EXTERN(void) jsimd_extxrgb_gray_convert_mmx
michael@0 208 JPP((JDIMENSION img_width,
michael@0 209 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 210 JDIMENSION output_row, int num_rows));
michael@0 211
michael@0 212 EXTERN(void) jsimd_ycc_rgb_convert_mmx
michael@0 213 JPP((JDIMENSION out_width,
michael@0 214 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 215 JSAMPARRAY output_buf, int num_rows));
michael@0 216 EXTERN(void) jsimd_ycc_extrgb_convert_mmx
michael@0 217 JPP((JDIMENSION out_width,
michael@0 218 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 219 JSAMPARRAY output_buf, int num_rows));
michael@0 220 EXTERN(void) jsimd_ycc_extrgbx_convert_mmx
michael@0 221 JPP((JDIMENSION out_width,
michael@0 222 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 223 JSAMPARRAY output_buf, int num_rows));
michael@0 224 EXTERN(void) jsimd_ycc_extbgr_convert_mmx
michael@0 225 JPP((JDIMENSION out_width,
michael@0 226 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 227 JSAMPARRAY output_buf, int num_rows));
michael@0 228 EXTERN(void) jsimd_ycc_extbgrx_convert_mmx
michael@0 229 JPP((JDIMENSION out_width,
michael@0 230 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 231 JSAMPARRAY output_buf, int num_rows));
michael@0 232 EXTERN(void) jsimd_ycc_extxbgr_convert_mmx
michael@0 233 JPP((JDIMENSION out_width,
michael@0 234 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 235 JSAMPARRAY output_buf, int num_rows));
michael@0 236 EXTERN(void) jsimd_ycc_extxrgb_convert_mmx
michael@0 237 JPP((JDIMENSION out_width,
michael@0 238 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 239 JSAMPARRAY output_buf, int num_rows));
michael@0 240
michael@0 241 extern const int jconst_rgb_ycc_convert_sse2[];
michael@0 242 EXTERN(void) jsimd_rgb_ycc_convert_sse2
michael@0 243 JPP((JDIMENSION img_width,
michael@0 244 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 245 JDIMENSION output_row, int num_rows));
michael@0 246 EXTERN(void) jsimd_extrgb_ycc_convert_sse2
michael@0 247 JPP((JDIMENSION img_width,
michael@0 248 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 249 JDIMENSION output_row, int num_rows));
michael@0 250 EXTERN(void) jsimd_extrgbx_ycc_convert_sse2
michael@0 251 JPP((JDIMENSION img_width,
michael@0 252 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 253 JDIMENSION output_row, int num_rows));
michael@0 254 EXTERN(void) jsimd_extbgr_ycc_convert_sse2
michael@0 255 JPP((JDIMENSION img_width,
michael@0 256 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 257 JDIMENSION output_row, int num_rows));
michael@0 258 EXTERN(void) jsimd_extbgrx_ycc_convert_sse2
michael@0 259 JPP((JDIMENSION img_width,
michael@0 260 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 261 JDIMENSION output_row, int num_rows));
michael@0 262 EXTERN(void) jsimd_extxbgr_ycc_convert_sse2
michael@0 263 JPP((JDIMENSION img_width,
michael@0 264 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 265 JDIMENSION output_row, int num_rows));
michael@0 266 EXTERN(void) jsimd_extxrgb_ycc_convert_sse2
michael@0 267 JPP((JDIMENSION img_width,
michael@0 268 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 269 JDIMENSION output_row, int num_rows));
michael@0 270
michael@0 271 extern const int jconst_rgb_gray_convert_sse2[];
michael@0 272 EXTERN(void) jsimd_rgb_gray_convert_sse2
michael@0 273 JPP((JDIMENSION img_width,
michael@0 274 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 275 JDIMENSION output_row, int num_rows));
michael@0 276 EXTERN(void) jsimd_extrgb_gray_convert_sse2
michael@0 277 JPP((JDIMENSION img_width,
michael@0 278 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 279 JDIMENSION output_row, int num_rows));
michael@0 280 EXTERN(void) jsimd_extrgbx_gray_convert_sse2
michael@0 281 JPP((JDIMENSION img_width,
michael@0 282 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 283 JDIMENSION output_row, int num_rows));
michael@0 284 EXTERN(void) jsimd_extbgr_gray_convert_sse2
michael@0 285 JPP((JDIMENSION img_width,
michael@0 286 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 287 JDIMENSION output_row, int num_rows));
michael@0 288 EXTERN(void) jsimd_extbgrx_gray_convert_sse2
michael@0 289 JPP((JDIMENSION img_width,
michael@0 290 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 291 JDIMENSION output_row, int num_rows));
michael@0 292 EXTERN(void) jsimd_extxbgr_gray_convert_sse2
michael@0 293 JPP((JDIMENSION img_width,
michael@0 294 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 295 JDIMENSION output_row, int num_rows));
michael@0 296 EXTERN(void) jsimd_extxrgb_gray_convert_sse2
michael@0 297 JPP((JDIMENSION img_width,
michael@0 298 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 299 JDIMENSION output_row, int num_rows));
michael@0 300
michael@0 301 extern const int jconst_ycc_rgb_convert_sse2[];
michael@0 302 EXTERN(void) jsimd_ycc_rgb_convert_sse2
michael@0 303 JPP((JDIMENSION out_width,
michael@0 304 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 305 JSAMPARRAY output_buf, int num_rows));
michael@0 306 EXTERN(void) jsimd_ycc_extrgb_convert_sse2
michael@0 307 JPP((JDIMENSION out_width,
michael@0 308 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 309 JSAMPARRAY output_buf, int num_rows));
michael@0 310 EXTERN(void) jsimd_ycc_extrgbx_convert_sse2
michael@0 311 JPP((JDIMENSION out_width,
michael@0 312 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 313 JSAMPARRAY output_buf, int num_rows));
michael@0 314 EXTERN(void) jsimd_ycc_extbgr_convert_sse2
michael@0 315 JPP((JDIMENSION out_width,
michael@0 316 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 317 JSAMPARRAY output_buf, int num_rows));
michael@0 318 EXTERN(void) jsimd_ycc_extbgrx_convert_sse2
michael@0 319 JPP((JDIMENSION out_width,
michael@0 320 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 321 JSAMPARRAY output_buf, int num_rows));
michael@0 322 EXTERN(void) jsimd_ycc_extxbgr_convert_sse2
michael@0 323 JPP((JDIMENSION out_width,
michael@0 324 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 325 JSAMPARRAY output_buf, int num_rows));
michael@0 326 EXTERN(void) jsimd_ycc_extxrgb_convert_sse2
michael@0 327 JPP((JDIMENSION out_width,
michael@0 328 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 329 JSAMPARRAY output_buf, int num_rows));
michael@0 330
michael@0 331 EXTERN(void) jsimd_rgb_ycc_convert_neon
michael@0 332 JPP((JDIMENSION img_width,
michael@0 333 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 334 JDIMENSION output_row, int num_rows));
michael@0 335 EXTERN(void) jsimd_extrgb_ycc_convert_neon
michael@0 336 JPP((JDIMENSION img_width,
michael@0 337 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 338 JDIMENSION output_row, int num_rows));
michael@0 339 EXTERN(void) jsimd_extrgbx_ycc_convert_neon
michael@0 340 JPP((JDIMENSION img_width,
michael@0 341 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 342 JDIMENSION output_row, int num_rows));
michael@0 343 EXTERN(void) jsimd_extbgr_ycc_convert_neon
michael@0 344 JPP((JDIMENSION img_width,
michael@0 345 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 346 JDIMENSION output_row, int num_rows));
michael@0 347 EXTERN(void) jsimd_extbgrx_ycc_convert_neon
michael@0 348 JPP((JDIMENSION img_width,
michael@0 349 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 350 JDIMENSION output_row, int num_rows));
michael@0 351 EXTERN(void) jsimd_extxbgr_ycc_convert_neon
michael@0 352 JPP((JDIMENSION img_width,
michael@0 353 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 354 JDIMENSION output_row, int num_rows));
michael@0 355 EXTERN(void) jsimd_extxrgb_ycc_convert_neon
michael@0 356 JPP((JDIMENSION img_width,
michael@0 357 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
michael@0 358 JDIMENSION output_row, int num_rows));
michael@0 359
michael@0 360 EXTERN(void) jsimd_ycc_rgb_convert_neon
michael@0 361 JPP((JDIMENSION out_width,
michael@0 362 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 363 JSAMPARRAY output_buf, int num_rows));
michael@0 364 EXTERN(void) jsimd_ycc_extrgb_convert_neon
michael@0 365 JPP((JDIMENSION out_width,
michael@0 366 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 367 JSAMPARRAY output_buf, int num_rows));
michael@0 368 EXTERN(void) jsimd_ycc_extrgbx_convert_neon
michael@0 369 JPP((JDIMENSION out_width,
michael@0 370 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 371 JSAMPARRAY output_buf, int num_rows));
michael@0 372 EXTERN(void) jsimd_ycc_extbgr_convert_neon
michael@0 373 JPP((JDIMENSION out_width,
michael@0 374 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 375 JSAMPARRAY output_buf, int num_rows));
michael@0 376 EXTERN(void) jsimd_ycc_extbgrx_convert_neon
michael@0 377 JPP((JDIMENSION out_width,
michael@0 378 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 379 JSAMPARRAY output_buf, int num_rows));
michael@0 380 EXTERN(void) jsimd_ycc_extxbgr_convert_neon
michael@0 381 JPP((JDIMENSION out_width,
michael@0 382 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 383 JSAMPARRAY output_buf, int num_rows));
michael@0 384 EXTERN(void) jsimd_ycc_extxrgb_convert_neon
michael@0 385 JPP((JDIMENSION out_width,
michael@0 386 JSAMPIMAGE input_buf, JDIMENSION input_row,
michael@0 387 JSAMPARRAY output_buf, int num_rows));
michael@0 388
michael@0 389 /* SIMD Downsample */
michael@0 390 EXTERN(void) jsimd_h2v2_downsample_mmx
michael@0 391 JPP((JDIMENSION image_width, int max_v_samp_factor,
michael@0 392 JDIMENSION v_samp_factor, JDIMENSION width_blocks,
michael@0 393 JSAMPARRAY input_data, JSAMPARRAY output_data));
michael@0 394 EXTERN(void) jsimd_h2v1_downsample_mmx
michael@0 395 JPP((JDIMENSION image_width, int max_v_samp_factor,
michael@0 396 JDIMENSION v_samp_factor, JDIMENSION width_blocks,
michael@0 397 JSAMPARRAY input_data, JSAMPARRAY output_data));
michael@0 398
michael@0 399 EXTERN(void) jsimd_h2v2_downsample_sse2
michael@0 400 JPP((JDIMENSION image_width, int max_v_samp_factor,
michael@0 401 JDIMENSION v_samp_factor, JDIMENSION width_blocks,
michael@0 402 JSAMPARRAY input_data, JSAMPARRAY output_data));
michael@0 403 EXTERN(void) jsimd_h2v1_downsample_sse2
michael@0 404 JPP((JDIMENSION image_width, int max_v_samp_factor,
michael@0 405 JDIMENSION v_samp_factor, JDIMENSION width_blocks,
michael@0 406 JSAMPARRAY input_data, JSAMPARRAY output_data));
michael@0 407
michael@0 408 /* SIMD Upsample */
michael@0 409 EXTERN(void) jsimd_h2v2_upsample_mmx
michael@0 410 JPP((int max_v_samp_factor, JDIMENSION output_width,
michael@0 411 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 412 EXTERN(void) jsimd_h2v1_upsample_mmx
michael@0 413 JPP((int max_v_samp_factor, JDIMENSION output_width,
michael@0 414 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 415
michael@0 416 EXTERN(void) jsimd_h2v2_fancy_upsample_mmx
michael@0 417 JPP((int max_v_samp_factor, JDIMENSION downsampled_width,
michael@0 418 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 419 EXTERN(void) jsimd_h2v1_fancy_upsample_mmx
michael@0 420 JPP((int max_v_samp_factor, JDIMENSION downsampled_width,
michael@0 421 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 422
michael@0 423 EXTERN(void) jsimd_h2v2_merged_upsample_mmx
michael@0 424 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 425 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 426 EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_mmx
michael@0 427 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 428 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 429 EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_mmx
michael@0 430 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 431 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 432 EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_mmx
michael@0 433 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 434 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 435 EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_mmx
michael@0 436 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 437 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 438 EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_mmx
michael@0 439 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 440 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 441 EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_mmx
michael@0 442 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 443 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 444 EXTERN(void) jsimd_h2v1_merged_upsample_mmx
michael@0 445 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 446 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 447 EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_mmx
michael@0 448 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 449 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 450 EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_mmx
michael@0 451 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 452 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 453 EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_mmx
michael@0 454 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 455 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 456 EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_mmx
michael@0 457 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 458 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 459 EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_mmx
michael@0 460 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 461 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 462 EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_mmx
michael@0 463 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 464 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 465
michael@0 466 EXTERN(void) jsimd_h2v2_upsample_sse2
michael@0 467 JPP((int max_v_samp_factor, JDIMENSION output_width,
michael@0 468 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 469 EXTERN(void) jsimd_h2v1_upsample_sse2
michael@0 470 JPP((int max_v_samp_factor, JDIMENSION output_width,
michael@0 471 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 472
michael@0 473 extern const int jconst_fancy_upsample_sse2[];
michael@0 474 EXTERN(void) jsimd_h2v2_fancy_upsample_sse2
michael@0 475 JPP((int max_v_samp_factor, JDIMENSION downsampled_width,
michael@0 476 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 477 EXTERN(void) jsimd_h2v1_fancy_upsample_sse2
michael@0 478 JPP((int max_v_samp_factor, JDIMENSION downsampled_width,
michael@0 479 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 480
michael@0 481 extern const int jconst_merged_upsample_sse2[];
michael@0 482 EXTERN(void) jsimd_h2v2_merged_upsample_sse2
michael@0 483 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 484 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 485 EXTERN(void) jsimd_h2v2_extrgb_merged_upsample_sse2
michael@0 486 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 487 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 488 EXTERN(void) jsimd_h2v2_extrgbx_merged_upsample_sse2
michael@0 489 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 490 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 491 EXTERN(void) jsimd_h2v2_extbgr_merged_upsample_sse2
michael@0 492 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 493 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 494 EXTERN(void) jsimd_h2v2_extbgrx_merged_upsample_sse2
michael@0 495 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 496 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 497 EXTERN(void) jsimd_h2v2_extxbgr_merged_upsample_sse2
michael@0 498 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 499 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 500 EXTERN(void) jsimd_h2v2_extxrgb_merged_upsample_sse2
michael@0 501 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 502 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 503 EXTERN(void) jsimd_h2v1_merged_upsample_sse2
michael@0 504 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 505 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 506 EXTERN(void) jsimd_h2v1_extrgb_merged_upsample_sse2
michael@0 507 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 508 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 509 EXTERN(void) jsimd_h2v1_extrgbx_merged_upsample_sse2
michael@0 510 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 511 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 512 EXTERN(void) jsimd_h2v1_extbgr_merged_upsample_sse2
michael@0 513 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 514 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 515 EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_sse2
michael@0 516 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 517 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 518 EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_sse2
michael@0 519 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 520 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 521 EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_sse2
michael@0 522 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf,
michael@0 523 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf));
michael@0 524
michael@0 525 EXTERN(void) jsimd_h2v1_fancy_upsample_neon
michael@0 526 JPP((int max_v_samp_factor, JDIMENSION downsampled_width,
michael@0 527 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr));
michael@0 528
michael@0 529 /* SIMD Sample Conversion */
michael@0 530 EXTERN(void) jsimd_convsamp_mmx JPP((JSAMPARRAY sample_data,
michael@0 531 JDIMENSION start_col,
michael@0 532 DCTELEM * workspace));
michael@0 533
michael@0 534 EXTERN(void) jsimd_convsamp_sse2 JPP((JSAMPARRAY sample_data,
michael@0 535 JDIMENSION start_col,
michael@0 536 DCTELEM * workspace));
michael@0 537
michael@0 538 EXTERN(void) jsimd_convsamp_neon JPP((JSAMPARRAY sample_data,
michael@0 539 JDIMENSION start_col,
michael@0 540 DCTELEM * workspace));
michael@0 541
michael@0 542 EXTERN(void) jsimd_convsamp_float_3dnow JPP((JSAMPARRAY sample_data,
michael@0 543 JDIMENSION start_col,
michael@0 544 FAST_FLOAT * workspace));
michael@0 545
michael@0 546 EXTERN(void) jsimd_convsamp_float_sse JPP((JSAMPARRAY sample_data,
michael@0 547 JDIMENSION start_col,
michael@0 548 FAST_FLOAT * workspace));
michael@0 549
michael@0 550 EXTERN(void) jsimd_convsamp_float_sse2 JPP((JSAMPARRAY sample_data,
michael@0 551 JDIMENSION start_col,
michael@0 552 FAST_FLOAT * workspace));
michael@0 553
michael@0 554 /* SIMD Forward DCT */
michael@0 555 EXTERN(void) jsimd_fdct_islow_mmx JPP((DCTELEM * data));
michael@0 556 EXTERN(void) jsimd_fdct_ifast_mmx JPP((DCTELEM * data));
michael@0 557
michael@0 558 extern const int jconst_fdct_ifast_sse2[];
michael@0 559 EXTERN(void) jsimd_fdct_islow_sse2 JPP((DCTELEM * data));
michael@0 560 extern const int jconst_fdct_islow_sse2[];
michael@0 561 EXTERN(void) jsimd_fdct_ifast_sse2 JPP((DCTELEM * data));
michael@0 562
michael@0 563 EXTERN(void) jsimd_fdct_ifast_neon JPP((DCTELEM * data));
michael@0 564
michael@0 565 EXTERN(void) jsimd_fdct_float_3dnow JPP((FAST_FLOAT * data));
michael@0 566
michael@0 567 extern const int jconst_fdct_float_sse[];
michael@0 568 EXTERN(void) jsimd_fdct_float_sse JPP((FAST_FLOAT * data));
michael@0 569
michael@0 570 /* SIMD Quantization */
michael@0 571 EXTERN(void) jsimd_quantize_mmx JPP((JCOEFPTR coef_block,
michael@0 572 DCTELEM * divisors,
michael@0 573 DCTELEM * workspace));
michael@0 574
michael@0 575 EXTERN(void) jsimd_quantize_sse2 JPP((JCOEFPTR coef_block,
michael@0 576 DCTELEM * divisors,
michael@0 577 DCTELEM * workspace));
michael@0 578
michael@0 579 EXTERN(void) jsimd_quantize_neon JPP((JCOEFPTR coef_block,
michael@0 580 DCTELEM * divisors,
michael@0 581 DCTELEM * workspace));
michael@0 582
michael@0 583 EXTERN(void) jsimd_quantize_float_3dnow JPP((JCOEFPTR coef_block,
michael@0 584 FAST_FLOAT * divisors,
michael@0 585 FAST_FLOAT * workspace));
michael@0 586
michael@0 587 EXTERN(void) jsimd_quantize_float_sse JPP((JCOEFPTR coef_block,
michael@0 588 FAST_FLOAT * divisors,
michael@0 589 FAST_FLOAT * workspace));
michael@0 590
michael@0 591 EXTERN(void) jsimd_quantize_float_sse2 JPP((JCOEFPTR coef_block,
michael@0 592 FAST_FLOAT * divisors,
michael@0 593 FAST_FLOAT * workspace));
michael@0 594
michael@0 595 /* SIMD Reduced Inverse DCT */
michael@0 596 EXTERN(void) jsimd_idct_2x2_mmx JPP((void * dct_table,
michael@0 597 JCOEFPTR coef_block,
michael@0 598 JSAMPARRAY output_buf,
michael@0 599 JDIMENSION output_col));
michael@0 600 EXTERN(void) jsimd_idct_4x4_mmx JPP((void * dct_table,
michael@0 601 JCOEFPTR coef_block,
michael@0 602 JSAMPARRAY output_buf,
michael@0 603 JDIMENSION output_col));
michael@0 604
michael@0 605 extern const int jconst_idct_red_sse2[];
michael@0 606 EXTERN(void) jsimd_idct_2x2_sse2 JPP((void * dct_table,
michael@0 607 JCOEFPTR coef_block,
michael@0 608 JSAMPARRAY output_buf,
michael@0 609 JDIMENSION output_col));
michael@0 610 EXTERN(void) jsimd_idct_4x4_sse2 JPP((void * dct_table,
michael@0 611 JCOEFPTR coef_block,
michael@0 612 JSAMPARRAY output_buf,
michael@0 613 JDIMENSION output_col));
michael@0 614
michael@0 615 EXTERN(void) jsimd_idct_2x2_neon JPP((void * dct_table,
michael@0 616 JCOEFPTR coef_block,
michael@0 617 JSAMPARRAY output_buf,
michael@0 618 JDIMENSION output_col));
michael@0 619 EXTERN(void) jsimd_idct_4x4_neon JPP((void * dct_table,
michael@0 620 JCOEFPTR coef_block,
michael@0 621 JSAMPARRAY output_buf,
michael@0 622 JDIMENSION output_col));
michael@0 623
michael@0 624 /* SIMD Inverse DCT */
michael@0 625 EXTERN(void) jsimd_idct_islow_mmx JPP((void * dct_table,
michael@0 626 JCOEFPTR coef_block,
michael@0 627 JSAMPARRAY output_buf,
michael@0 628 JDIMENSION output_col));
michael@0 629 EXTERN(void) jsimd_idct_ifast_mmx JPP((void * dct_table,
michael@0 630 JCOEFPTR coef_block,
michael@0 631 JSAMPARRAY output_buf,
michael@0 632 JDIMENSION output_col));
michael@0 633
michael@0 634 extern const int jconst_idct_islow_sse2[];
michael@0 635 EXTERN(void) jsimd_idct_islow_sse2 JPP((void * dct_table,
michael@0 636 JCOEFPTR coef_block,
michael@0 637 JSAMPARRAY output_buf,
michael@0 638 JDIMENSION output_col));
michael@0 639 extern const int jconst_idct_ifast_sse2[];
michael@0 640 EXTERN(void) jsimd_idct_ifast_sse2 JPP((void * dct_table,
michael@0 641 JCOEFPTR coef_block,
michael@0 642 JSAMPARRAY output_buf,
michael@0 643 JDIMENSION output_col));
michael@0 644
michael@0 645 EXTERN(void) jsimd_idct_islow_neon JPP((void * dct_table,
michael@0 646 JCOEFPTR coef_block,
michael@0 647 JSAMPARRAY output_buf,
michael@0 648 JDIMENSION output_col));
michael@0 649 EXTERN(void) jsimd_idct_ifast_neon JPP((void * dct_table,
michael@0 650 JCOEFPTR coef_block,
michael@0 651 JSAMPARRAY output_buf,
michael@0 652 JDIMENSION output_col));
michael@0 653
michael@0 654 EXTERN(void) jsimd_idct_float_3dnow JPP((void * dct_table,
michael@0 655 JCOEFPTR coef_block,
michael@0 656 JSAMPARRAY output_buf,
michael@0 657 JDIMENSION output_col));
michael@0 658
michael@0 659 extern const int jconst_idct_float_sse[];
michael@0 660 EXTERN(void) jsimd_idct_float_sse JPP((void * dct_table,
michael@0 661 JCOEFPTR coef_block,
michael@0 662 JSAMPARRAY output_buf,
michael@0 663 JDIMENSION output_col));
michael@0 664
michael@0 665 extern const int jconst_idct_float_sse2[];
michael@0 666 EXTERN(void) jsimd_idct_float_sse2 JPP((void * dct_table,
michael@0 667 JCOEFPTR coef_block,
michael@0 668 JSAMPARRAY output_buf,
michael@0 669 JDIMENSION output_col));
michael@0 670

mercurial