#ifndef tuvok_internal_mangle_h
#define tuvok_internal_mangle_h

/* 
 * This header file mangles all symbols exported from the jpeg library.
 * It is included in all files while building the jpeg library.
 *
 * This idea/implementation was taken from GDCM.
 */

#define jcopy_block_row tuvok_internal_jcopy_block_row
#define jcopy_sample_rows tuvok_internal_jcopy_sample_rows
#define jdiv_round_up tuvok_internal_jdiv_round_up
#define jinit_1pass_quantizer tuvok_internal_jinit_1pass_quantizer
#define jinit_2pass_quantizer tuvok_internal_jinit_2pass_quantizer
#define jinit_arith_decoder tuvok_internal_jinit_arith_decoder
#define jinit_arith_encoder tuvok_internal_jinit_arith_encoder
#define jinit_c_codec tuvok_internal_jinit_c_codec
#define jinit_c_coef_controller tuvok_internal_jinit_c_coef_controller
#define jinit_c_diff_controller tuvok_internal_jinit_c_diff_controller
#define jinit_c_main_controller tuvok_internal_jinit_c_main_controller
#define jinit_c_master_control tuvok_internal_jinit_c_master_control
#define jinit_c_prep_controller tuvok_internal_jinit_c_prep_controller
#define jinit_c_scaler tuvok_internal_jinit_c_scaler
#define jinit_color_converter tuvok_internal_jinit_color_converter
#define jinit_color_deconverter tuvok_internal_jinit_color_deconverter
#define jinit_compress_master tuvok_internal_jinit_compress_master
#define jinit_d_codec tuvok_internal_jinit_d_codec
#define jinit_d_coef_controller tuvok_internal_jinit_d_coef_controller
#define jinit_d_diff_controller tuvok_internal_jinit_d_diff_controller
#define jinit_d_main_controller tuvok_internal_jinit_d_main_controller
#define jinit_d_post_controller tuvok_internal_jinit_d_post_controller
#define jinit_d_scaler tuvok_internal_jinit_d_scaler
#define jinit_differencer tuvok_internal_jinit_differencer
#define jinit_downsampler tuvok_internal_jinit_downsampler
#define jinit_forward_dct tuvok_internal_jinit_forward_dct
#define jinit_input_controller tuvok_internal_jinit_input_controller
#define jinit_inverse_dct tuvok_internal_jinit_inverse_dct
#define jinit_lhuff_decoder tuvok_internal_jinit_lhuff_decoder
#define jinit_lhuff_encoder tuvok_internal_jinit_lhuff_encoder
#define jinit_lossless_c_codec tuvok_internal_jinit_lossless_c_codec
#define jinit_lossless_d_codec tuvok_internal_jinit_lossless_d_codec
#define jinit_lossy_c_codec tuvok_internal_jinit_lossy_c_codec
#define jinit_lossy_d_codec tuvok_internal_jinit_lossy_d_codec
#define jinit_marker_reader tuvok_internal_jinit_marker_reader
#define jinit_marker_writer tuvok_internal_jinit_marker_writer
#define jinit_master_decompress tuvok_internal_jinit_master_decompress
#define jinit_memory_mgr tuvok_internal_jinit_memory_mgr
#define jinit_merged_upsampler tuvok_internal_jinit_merged_upsampler
#define jinit_phuff_decoder tuvok_internal_jinit_phuff_decoder
#define jinit_phuff_encoder tuvok_internal_jinit_phuff_encoder
#define jinit_shuff_decoder tuvok_internal_jinit_shuff_decoder
#define jinit_shuff_encoder tuvok_internal_jinit_shuff_encoder
#define jinit_undifferencer tuvok_internal_jinit_undifferencer
#define jinit_upsampler tuvok_internal_jinit_upsampler
#define jpeg_CreateCompress tuvok_internal_jpeg_CreateCompress
#define jpeg_CreateDecompress tuvok_internal_jpeg_CreateDecompress
#define jpeg_abort tuvok_internal_jpeg_abort
#define jpeg_abort_compress tuvok_internal_jpeg_abort_compress
#define jpeg_abort_decompress tuvok_internal_jpeg_abort_decompress
#define jpeg_add_quant_table tuvok_internal_jpeg_add_quant_table
#define jpeg_alloc_huff_table tuvok_internal_jpeg_alloc_huff_table
#define jpeg_alloc_quant_table tuvok_internal_jpeg_alloc_quant_table
#define jpeg_calc_output_dimensions tuvok_internal_jpeg_calc_output_dimensions
#define jpeg_consume_input tuvok_internal_jpeg_consume_input
#define jpeg_copy_critical_parameters tuvok_internal_jpeg_copy_critical_parameters
#define jpeg_default_colorspace tuvok_internal_jpeg_default_colorspace
#define jpeg_destroy tuvok_internal_jpeg_destroy
#define jpeg_destroy_compress tuvok_internal_jpeg_destroy_compress
#define jpeg_destroy_decompress tuvok_internal_jpeg_destroy_decompress
#define jpeg_fdct_float tuvok_internal_jpeg_fdct_float
#define jpeg_fdct_ifast tuvok_internal_jpeg_fdct_ifast
#define jpeg_fdct_islow tuvok_internal_jpeg_fdct_islow
#define jpeg_fill_bit_buffer tuvok_internal_jpeg_fill_bit_buffer
#define jpeg_finish_compress tuvok_internal_jpeg_finish_compress
#define jpeg_finish_decompress tuvok_internal_jpeg_finish_decompress
#define jpeg_finish_output tuvok_internal_jpeg_finish_output
#define jpeg_free_large tuvok_internal_jpeg_free_large
#define jpeg_free_small tuvok_internal_jpeg_free_small
#define jpeg_gen_optimal_table tuvok_internal_jpeg_gen_optimal_table
#define jpeg_get_large tuvok_internal_jpeg_get_large
#define jpeg_get_small tuvok_internal_jpeg_get_small
#define jpeg_has_multiple_scans tuvok_internal_jpeg_has_multiple_scans
#define jpeg_huff_decode tuvok_internal_jpeg_huff_decode
#define jpeg_idct_1x1 tuvok_internal_jpeg_idct_1x1
#define jpeg_idct_2x2 tuvok_internal_jpeg_idct_2x2
#define jpeg_idct_4x4 tuvok_internal_jpeg_idct_4x4
#define jpeg_idct_float tuvok_internal_jpeg_idct_float
#define jpeg_idct_ifast tuvok_internal_jpeg_idct_ifast
#define jpeg_idct_islow tuvok_internal_jpeg_idct_islow
#define jpeg_input_complete tuvok_internal_jpeg_input_complete
#define jpeg_make_c_derived_tbl tuvok_internal_jpeg_make_c_derived_tbl
#define jpeg_make_d_derived_tbl tuvok_internal_jpeg_make_d_derived_tbl
#define jpeg_mem_available tuvok_internal_jpeg_mem_available
#define jpeg_mem_init tuvok_internal_jpeg_mem_init
#define jpeg_mem_term tuvok_internal_jpeg_mem_term
#define jpeg_natural_order tuvok_internal_jpeg_natural_order
#define jpeg_new_colormap tuvok_internal_jpeg_new_colormap
#define jpeg_open_backing_store tuvok_internal_jpeg_open_backing_store
#define jpeg_quality_scaling tuvok_internal_jpeg_quality_scaling
#define jpeg_read_coefficients tuvok_internal_jpeg_read_coefficients
#define jpeg_read_header tuvok_internal_jpeg_read_header
#define jpeg_read_raw_data tuvok_internal_jpeg_read_raw_data
#define jpeg_read_scanlines tuvok_internal_jpeg_read_scanlines
#define jpeg_resync_to_restart tuvok_internal_jpeg_resync_to_restart
#define jpeg_save_markers tuvok_internal_jpeg_save_markers
#define jpeg_set_colorspace tuvok_internal_jpeg_set_colorspace
#define jpeg_set_defaults tuvok_internal_jpeg_set_defaults
#define jpeg_set_linear_quality tuvok_internal_jpeg_set_linear_quality
#define jpeg_set_marker_processor tuvok_internal_jpeg_set_marker_processor
#define jpeg_set_quality tuvok_internal_jpeg_set_quality
#define jpeg_simple_lossless tuvok_internal_jpeg_simple_lossless
#define jpeg_simple_progression tuvok_internal_jpeg_simple_progression
#define jpeg_start_compress tuvok_internal_jpeg_start_compress
#define jpeg_start_decompress tuvok_internal_jpeg_start_decompress
#define jpeg_start_output tuvok_internal_jpeg_start_output
#define jpeg_std_error tuvok_internal_jpeg_std_error
#define jpeg_std_message_table tuvok_internal_jpeg_std_message_table
#define jpeg_stdio_dest tuvok_internal_jpeg_stdio_dest
#define jpeg_stdio_src tuvok_internal_jpeg_stdio_src
#define jpeg_suppress_tables tuvok_internal_jpeg_suppress_tables
#define jpeg_write_coefficients tuvok_internal_jpeg_write_coefficients
#define jpeg_write_m_byte tuvok_internal_jpeg_write_m_byte
#define jpeg_write_m_header tuvok_internal_jpeg_write_m_header
#define jpeg_write_marker tuvok_internal_jpeg_write_marker
#define jpeg_write_raw_data tuvok_internal_jpeg_write_raw_data
#define jpeg_write_scanlines tuvok_internal_jpeg_write_scanlines
#define jpeg_write_tables tuvok_internal_jpeg_write_tables
#define jround_up tuvok_internal_jround_up
#define jzero_far tuvok_internal_jzero_far

#define first_marker tuvok_internal_first_marker
#define read_markers tuvok_internal_read_markers
#define consume_markers tuvok_internal_consume_markers

#endif // tuvok_internal_mangle_h
