OLD | NEW |
1 /* | 1 /* |
2 * jsimd_none.c | 2 * jsimd_none.c |
3 * | 3 * |
4 * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB | 4 * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB |
5 * Copyright 2009 D. R. Commander | 5 * Copyright 2009-2011 D. R. Commander |
6 * | 6 * |
7 * Based on the x86 SIMD extension for IJG JPEG library, | 7 * Based on the x86 SIMD extension for IJG JPEG library, |
8 * Copyright (C) 1999-2006, MIYASAKA Masaru. | 8 * Copyright (C) 1999-2006, MIYASAKA Masaru. |
| 9 * For conditions of distribution and use, see copyright notice in jsimdext.inc |
9 * | 10 * |
10 * This file contains stubs for when there is no SIMD support available. | 11 * This file contains stubs for when there is no SIMD support available. |
11 */ | 12 */ |
12 | 13 |
13 #define JPEG_INTERNALS | 14 #define JPEG_INTERNALS |
14 #include "jinclude.h" | 15 #include "jinclude.h" |
15 #include "jpeglib.h" | 16 #include "jpeglib.h" |
16 #include "jsimd.h" | 17 #include "jsimd.h" |
17 #include "jdct.h" | 18 #include "jdct.h" |
18 #include "jsimddct.h" | 19 #include "jsimddct.h" |
19 | 20 |
20 GLOBAL(int) | 21 GLOBAL(int) |
21 jsimd_can_rgb_ycc (void) | 22 jsimd_can_rgb_ycc (void) |
22 { | 23 { |
23 return 0; | 24 return 0; |
24 } | 25 } |
25 | 26 |
26 GLOBAL(int) | 27 GLOBAL(int) |
| 28 jsimd_can_rgb_gray (void) |
| 29 { |
| 30 return 0; |
| 31 } |
| 32 |
| 33 GLOBAL(int) |
27 jsimd_can_ycc_rgb (void) | 34 jsimd_can_ycc_rgb (void) |
28 { | 35 { |
29 return 0; | 36 return 0; |
30 } | 37 } |
31 | 38 |
32 GLOBAL(void) | 39 GLOBAL(void) |
33 jsimd_rgb_ycc_convert (j_compress_ptr cinfo, | 40 jsimd_rgb_ycc_convert (j_compress_ptr cinfo, |
34 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, | 41 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, |
35 JDIMENSION output_row, int num_rows) | 42 JDIMENSION output_row, int num_rows) |
36 { | 43 { |
37 } | 44 } |
38 | 45 |
39 GLOBAL(void) | 46 GLOBAL(void) |
| 47 jsimd_rgb_gray_convert (j_compress_ptr cinfo, |
| 48 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, |
| 49 JDIMENSION output_row, int num_rows) |
| 50 { |
| 51 } |
| 52 |
| 53 GLOBAL(void) |
40 jsimd_ycc_rgb_convert (j_decompress_ptr cinfo, | 54 jsimd_ycc_rgb_convert (j_decompress_ptr cinfo, |
41 JSAMPIMAGE input_buf, JDIMENSION input_row, | 55 JSAMPIMAGE input_buf, JDIMENSION input_row, |
42 JSAMPARRAY output_buf, int num_rows) | 56 JSAMPARRAY output_buf, int num_rows) |
43 { | 57 { |
44 } | 58 } |
45 | 59 |
46 GLOBAL(int) | 60 GLOBAL(int) |
47 jsimd_can_h2v2_downsample (void) | 61 jsimd_can_h2v2_downsample (void) |
48 { | 62 { |
49 return 0; | 63 return 0; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 { | 304 { |
291 } | 305 } |
292 | 306 |
293 GLOBAL(void) | 307 GLOBAL(void) |
294 jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr, | 308 jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr, |
295 JCOEFPTR coef_block, JSAMPARRAY output_buf, | 309 JCOEFPTR coef_block, JSAMPARRAY output_buf, |
296 JDIMENSION output_col) | 310 JDIMENSION output_col) |
297 { | 311 { |
298 } | 312 } |
299 | 313 |
OLD | NEW |