| OLD | NEW |
| 1 /* | 1 /* |
| 2 * jsimd.h | 2 * jsimd.h |
| 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 2011 D. R. Commander | 5 * Copyright 2011, 2014 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 * For conditions of distribution and use, see copyright notice in jsimdext.inc |
| 10 * | 10 * |
| 11 */ | 11 */ |
| 12 | 12 |
| 13 /* Short forms of external names for systems with brain-damaged linkers. */ | 13 /* Short forms of external names for systems with brain-damaged linkers. */ |
| 14 | 14 |
| 15 #ifdef NEED_SHORT_EXTERNAL_NAMES | 15 #ifdef NEED_SHORT_EXTERNAL_NAMES |
| (...skipping 17 matching lines...) Expand all Loading... |
| 33 #define jsimd_h2v1_fancy_upsample jSH2V1FUp | 33 #define jsimd_h2v1_fancy_upsample jSH2V1FUp |
| 34 #define jsimd_can_h2v2_merged_upsample jSCanH2V2MUp | 34 #define jsimd_can_h2v2_merged_upsample jSCanH2V2MUp |
| 35 #define jsimd_can_h2v1_merged_upsample jSCanH2V1MUp | 35 #define jsimd_can_h2v1_merged_upsample jSCanH2V1MUp |
| 36 #define jsimd_h2v2_merged_upsample jSH2V2MUp | 36 #define jsimd_h2v2_merged_upsample jSH2V2MUp |
| 37 #define jsimd_h2v1_merged_upsample jSH2V1MUp | 37 #define jsimd_h2v1_merged_upsample jSH2V1MUp |
| 38 #endif /* NEED_SHORT_EXTERNAL_NAMES */ | 38 #endif /* NEED_SHORT_EXTERNAL_NAMES */ |
| 39 | 39 |
| 40 EXTERN(int) jsimd_can_rgb_ycc JPP((void)); | 40 EXTERN(int) jsimd_can_rgb_ycc JPP((void)); |
| 41 EXTERN(int) jsimd_can_rgb_gray JPP((void)); | 41 EXTERN(int) jsimd_can_rgb_gray JPP((void)); |
| 42 EXTERN(int) jsimd_can_ycc_rgb JPP((void)); | 42 EXTERN(int) jsimd_can_ycc_rgb JPP((void)); |
| 43 EXTERN(int) jsimd_can_ycc_rgb565 JPP((void)); |
| 43 | 44 |
| 44 EXTERN(void) jsimd_rgb_ycc_convert | 45 EXTERN(void) jsimd_rgb_ycc_convert |
| 45 JPP((j_compress_ptr cinfo, | 46 JPP((j_compress_ptr cinfo, |
| 46 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, | 47 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, |
| 47 JDIMENSION output_row, int num_rows)); | 48 JDIMENSION output_row, int num_rows)); |
| 48 EXTERN(void) jsimd_rgb_gray_convert | 49 EXTERN(void) jsimd_rgb_gray_convert |
| 49 JPP((j_compress_ptr cinfo, | 50 JPP((j_compress_ptr cinfo, |
| 50 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, | 51 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, |
| 51 JDIMENSION output_row, int num_rows)); | 52 JDIMENSION output_row, int num_rows)); |
| 52 EXTERN(void) jsimd_ycc_rgb_convert | 53 EXTERN(void) jsimd_ycc_rgb_convert |
| 53 JPP((j_decompress_ptr cinfo, | 54 JPP((j_decompress_ptr cinfo, |
| 54 JSAMPIMAGE input_buf, JDIMENSION input_row, | 55 JSAMPIMAGE input_buf, JDIMENSION input_row, |
| 55 JSAMPARRAY output_buf, int num_rows)); | 56 JSAMPARRAY output_buf, int num_rows)); |
| 57 EXTERN(void) jsimd_ycc_rgb565_convert |
| 58 JPP((j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, |
| 59 JSAMPARRAY output_buf, int num_rows)); |
| 56 | 60 |
| 57 EXTERN(int) jsimd_can_h2v2_downsample JPP((void)); | 61 EXTERN(int) jsimd_can_h2v2_downsample JPP((void)); |
| 58 EXTERN(int) jsimd_can_h2v1_downsample JPP((void)); | 62 EXTERN(int) jsimd_can_h2v1_downsample JPP((void)); |
| 59 | 63 |
| 60 EXTERN(void) jsimd_h2v2_downsample | 64 EXTERN(void) jsimd_h2v2_downsample |
| 61 JPP((j_compress_ptr cinfo, jpeg_component_info * compptr, | 65 JPP((j_compress_ptr cinfo, jpeg_component_info * compptr, |
| 62 JSAMPARRAY input_data, JSAMPARRAY output_data)); | 66 JSAMPARRAY input_data, JSAMPARRAY output_data)); |
| 63 EXTERN(void) jsimd_h2v1_downsample | 67 EXTERN(void) jsimd_h2v1_downsample |
| 64 JPP((j_compress_ptr cinfo, jpeg_component_info * compptr, | 68 JPP((j_compress_ptr cinfo, jpeg_component_info * compptr, |
| 65 JSAMPARRAY input_data, JSAMPARRAY output_data)); | 69 JSAMPARRAY input_data, JSAMPARRAY output_data)); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 89 | 93 |
| 90 EXTERN(void) jsimd_h2v2_merged_upsample | 94 EXTERN(void) jsimd_h2v2_merged_upsample |
| 91 JPP((j_decompress_ptr cinfo, | 95 JPP((j_decompress_ptr cinfo, |
| 92 JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, | 96 JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, |
| 93 JSAMPARRAY output_buf)); | 97 JSAMPARRAY output_buf)); |
| 94 EXTERN(void) jsimd_h2v1_merged_upsample | 98 EXTERN(void) jsimd_h2v1_merged_upsample |
| 95 JPP((j_decompress_ptr cinfo, | 99 JPP((j_decompress_ptr cinfo, |
| 96 JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, | 100 JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, |
| 97 JSAMPARRAY output_buf)); | 101 JSAMPARRAY output_buf)); |
| 98 | 102 |
| OLD | NEW |