michael@0: /* michael@0: * jsimd_none.c michael@0: * michael@0: * Copyright 2009 Pierre Ossman for Cendio AB michael@0: * Copyright 2009-2011 D. R. Commander michael@0: * michael@0: * Based on the x86 SIMD extension for IJG JPEG library, michael@0: * Copyright (C) 1999-2006, MIYASAKA Masaru. michael@0: * For conditions of distribution and use, see copyright notice in jsimdext.inc michael@0: * michael@0: * This file contains stubs for when there is no SIMD support available. michael@0: */ michael@0: michael@0: #define JPEG_INTERNALS michael@0: #include "jinclude.h" michael@0: #include "jpeglib.h" michael@0: #include "jsimd.h" michael@0: #include "jdct.h" michael@0: #include "jsimddct.h" michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_rgb_ycc (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_rgb_gray (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_ycc_rgb (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_rgb_ycc_convert (j_compress_ptr cinfo, michael@0: JSAMPARRAY input_buf, JSAMPIMAGE output_buf, michael@0: JDIMENSION output_row, int num_rows) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_rgb_gray_convert (j_compress_ptr cinfo, michael@0: JSAMPARRAY input_buf, JSAMPIMAGE output_buf, michael@0: JDIMENSION output_row, int num_rows) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_ycc_rgb_convert (j_decompress_ptr cinfo, michael@0: JSAMPIMAGE input_buf, JDIMENSION input_row, michael@0: JSAMPARRAY output_buf, int num_rows) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v2_downsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v1_downsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v2_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, michael@0: JSAMPARRAY input_data, JSAMPARRAY output_data) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v1_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, michael@0: JSAMPARRAY input_data, JSAMPARRAY output_data) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v2_upsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v1_upsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v2_upsample (j_decompress_ptr cinfo, michael@0: jpeg_component_info * compptr, michael@0: JSAMPARRAY input_data, michael@0: JSAMPARRAY * output_data_ptr) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v1_upsample (j_decompress_ptr cinfo, michael@0: jpeg_component_info * compptr, michael@0: JSAMPARRAY input_data, michael@0: JSAMPARRAY * output_data_ptr) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v2_fancy_upsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v1_fancy_upsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v2_fancy_upsample (j_decompress_ptr cinfo, michael@0: jpeg_component_info * compptr, michael@0: JSAMPARRAY input_data, michael@0: JSAMPARRAY * output_data_ptr) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v1_fancy_upsample (j_decompress_ptr cinfo, michael@0: jpeg_component_info * compptr, michael@0: JSAMPARRAY input_data, michael@0: JSAMPARRAY * output_data_ptr) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v2_merged_upsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_h2v1_merged_upsample (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v2_merged_upsample (j_decompress_ptr cinfo, michael@0: JSAMPIMAGE input_buf, michael@0: JDIMENSION in_row_group_ctr, michael@0: JSAMPARRAY output_buf) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_h2v1_merged_upsample (j_decompress_ptr cinfo, michael@0: JSAMPIMAGE input_buf, michael@0: JDIMENSION in_row_group_ctr, michael@0: JSAMPARRAY output_buf) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_convsamp (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_convsamp_float (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_convsamp (JSAMPARRAY sample_data, JDIMENSION start_col, michael@0: DCTELEM * workspace) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_convsamp_float (JSAMPARRAY sample_data, JDIMENSION start_col, michael@0: FAST_FLOAT * workspace) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_fdct_islow (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_fdct_ifast (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_fdct_float (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_fdct_islow (DCTELEM * data) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_fdct_ifast (DCTELEM * data) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_fdct_float (FAST_FLOAT * data) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_quantize (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_quantize_float (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, michael@0: DCTELEM * workspace) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, michael@0: FAST_FLOAT * workspace) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_idct_2x2 (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_idct_4x4 (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_idct_2x2 (j_decompress_ptr cinfo, jpeg_component_info * compptr, michael@0: JCOEFPTR coef_block, JSAMPARRAY output_buf, michael@0: JDIMENSION output_col) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_idct_4x4 (j_decompress_ptr cinfo, jpeg_component_info * compptr, michael@0: JCOEFPTR coef_block, JSAMPARRAY output_buf, michael@0: JDIMENSION output_col) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_idct_islow (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_idct_ifast (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(int) michael@0: jsimd_can_idct_float (void) michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_idct_islow (j_decompress_ptr cinfo, jpeg_component_info * compptr, michael@0: JCOEFPTR coef_block, JSAMPARRAY output_buf, michael@0: JDIMENSION output_col) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_idct_ifast (j_decompress_ptr cinfo, jpeg_component_info * compptr, michael@0: JCOEFPTR coef_block, JSAMPARRAY output_buf, michael@0: JDIMENSION output_col) michael@0: { michael@0: } michael@0: michael@0: GLOBAL(void) michael@0: jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr, michael@0: JCOEFPTR coef_block, JSAMPARRAY output_buf, michael@0: JDIMENSION output_col) michael@0: { michael@0: } michael@0: