1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef THIRD_PARTY_LIBJPEG_TURBO_JPEGLIBMANGLER_H_ 6 #define THIRD_PARTY_LIBJPEG_TURBO_JPEGLIBMANGLER_H_ 7 8 // Mangle all externally visible function names so we can build our own libjpeg 9 // without system libraries trying to use it. 10 11 #define jpeg_make_c_derived_tbl chromium_jpeg_make_c_derived_tbl 12 #define jpeg_gen_optimal_table chromium_jpeg_gen_optimal_table 13 #define jpeg_make_d_derived_tbl chromium_jpeg_make_d_derived_tbl 14 #define jpeg_fill_bit_buffer chromium_jpeg_fill_bit_buffer 15 #define jpeg_huff_decode chromium_jpeg_huff_decode 16 #define jpeg_fdct_islow chromium_jpeg_fdct_islow 17 #define jpeg_fdct_ifast chromium_jpeg_fdct_ifast 18 #define jpeg_fdct_float chromium_jpeg_fdct_float 19 #define jpeg_idct_islow chromium_jpeg_idct_islow 20 #define jpeg_idct_ifast chromium_jpeg_idct_ifast 21 #define jpeg_idct_float chromium_jpeg_idct_float 22 #define jpeg_idct_16x16 chromium_jpeg_idct_16x16 23 #define jpeg_idct_15x15 chromium_jpeg_idct_15x15 24 #define jpeg_idct_14x14 chromium_jpeg_idct_14x14 25 #define jpeg_idct_13x13 chromium_jpeg_idct_13x13 26 #define jpeg_idct_12x12 chromium_jpeg_idct_12x12 27 #define jpeg_idct_11x11 chromium_jpeg_idct_11x11 28 #define jpeg_idct_10x10 chromium_jpeg_idct_10x10 29 #define jpeg_idct_9x9 chromium_jpeg_idct_9x9 30 #define jpeg_idct_7x7 chromium_jpeg_idct_7x7 31 #define jpeg_idct_6x6 chromium_jpeg_idct_6x6 32 #define jpeg_idct_5x5 chromium_jpeg_idct_5x5 33 #define jpeg_idct_4x4 chromium_jpeg_idct_4x4 34 #define jpeg_idct_3x3 chromium_jpeg_idct_3x3 35 #define jpeg_idct_2x2 chromium_jpeg_idct_2x2 36 #define jpeg_idct_1x1 chromium_jpeg_idct_1x1 37 #define jinit_compress_master chromium_jinit_compress_master 38 #define jinit_c_master_control chromium_jinit_c_master_control 39 #define jinit_c_main_controller chromium_jinit_c_main_controller 40 #define jinit_c_prep_controller chromium_jinit_c_prep_controller 41 #define jinit_c_coef_controller chromium_jinit_c_coef_controller 42 #define jinit_color_converter chromium_jinit_color_converter 43 #define jinit_downsampler chromium_jinit_downsampler 44 #define jinit_forward_dct chromium_jinit_forward_dct 45 #define jinit_huff_encoder chromium_jinit_huff_encoder 46 #define jinit_phuff_encoder chromium_jinit_phuff_encoder 47 #define jinit_marker_writer chromium_jinit_marker_writer 48 #define jinit_master_decompress chromium_jinit_master_decompress 49 #define jinit_d_main_controller chromium_jinit_d_main_controller 50 #define jinit_d_coef_controller chromium_jinit_d_coef_controller 51 #define jinit_d_post_controller chromium_jinit_d_post_controller 52 #define jinit_input_controller chromium_jinit_input_controller 53 #define jinit_marker_reader chromium_jinit_marker_reader 54 #define jinit_huff_decoder chromium_jinit_huff_decoder 55 #define jinit_phuff_decoder chromium_jinit_phuff_decoder 56 #define jinit_inverse_dct chromium_jinit_inverse_dct 57 #define jinit_upsampler chromium_jinit_upsampler 58 #define jinit_color_deconverter chromium_jinit_color_deconverter 59 #define jinit_1pass_quantizer chromium_jinit_1pass_quantizer 60 #define jinit_2pass_quantizer chromium_jinit_2pass_quantizer 61 #define jinit_merged_upsampler chromium_jinit_merged_upsampler 62 #define jinit_memory_mgr chromium_jinit_memory_mgr 63 #define jdiv_round_up chromium_jdiv_round_up 64 #define jround_up chromium_jround_up 65 #define jcopy_sample_rows chromium_jcopy_sample_rows 66 #define jcopy_block_row chromium_jcopy_block_row 67 #define jzero_far chromium_jzero_far 68 #define jpeg_std_error chromium_jpeg_std_error 69 #define jpeg_CreateCompress chromium_jpeg_CreateCompress 70 #define jpeg_CreateDecompress chromium_jpeg_CreateDecompress 71 #define jpeg_destroy_compress chromium_jpeg_destroy_compress 72 #define jpeg_destroy_decompress chromium_jpeg_destroy_decompress 73 #define jpeg_stdio_dest chromium_jpeg_stdio_dest 74 #define jpeg_stdio_src chromium_jpeg_stdio_src 75 #define jpeg_set_defaults chromium_jpeg_set_defaults 76 #define jpeg_set_colorspace chromium_jpeg_set_colorspace 77 #define jpeg_default_colorspace chromium_jpeg_default_colorspace 78 #define jpeg_set_quality chromium_jpeg_set_quality 79 #define jpeg_set_linear_quality chromium_jpeg_set_linear_quality 80 #define jpeg_add_quant_table chromium_jpeg_add_quant_table 81 #define jpeg_quality_scaling chromium_jpeg_quality_scaling 82 #define jpeg_simple_progression chromium_jpeg_simple_progression 83 #define jpeg_suppress_tables chromium_jpeg_suppress_tables 84 #define jpeg_alloc_quant_table chromium_jpeg_alloc_quant_table 85 #define jpeg_alloc_huff_table chromium_jpeg_alloc_huff_table 86 #define jpeg_start_compress chromium_jpeg_start_compress 87 #define jpeg_write_scanlines chromium_jpeg_write_scanlines 88 #define jpeg_finish_compress chromium_jpeg_finish_compress 89 #define jpeg_read_icc_profile chromium_jpeg_read_icc_profile 90 #define jpeg_write_icc_profile chromium_jpeg_write_icc_profile 91 #define jpeg_write_raw_data chromium_jpeg_write_raw_data 92 #define jpeg_write_marker chromium_jpeg_write_marker 93 #define jpeg_write_m_header chromium_jpeg_write_m_header 94 #define jpeg_write_m_byte chromium_jpeg_write_m_byte 95 #define jpeg_write_tables chromium_jpeg_write_tables 96 #define jpeg_read_header chromium_jpeg_read_header 97 #define jpeg_start_decompress chromium_jpeg_start_decompress 98 #define jpeg_read_scanlines chromium_jpeg_read_scanlines 99 #define jpeg_skip_scanlines chromium_jpeg_skip_scanlines 100 #define jpeg_crop_scanline chromium_jpeg_crop_scanline 101 #define jpeg_finish_decompress chromium_jpeg_finish_decompress 102 #define jpeg_read_raw_data chromium_jpeg_read_raw_data 103 #define jpeg_has_multiple_scans chromium_jpeg_has_multiple_scans 104 #define jpeg_start_output chromium_jpeg_start_output 105 #define jpeg_finish_output chromium_jpeg_finish_output 106 #define jpeg_input_complete chromium_jpeg_input_complete 107 #define jpeg_new_colormap chromium_jpeg_new_colormap 108 #define jpeg_consume_input chromium_jpeg_consume_input 109 #define jpeg_calc_output_dimensions chromium_jpeg_calc_output_dimensions 110 #define jpeg_save_markers chromium_jpeg_save_markers 111 #define jpeg_set_marker_processor chromium_jpeg_set_marker_processor 112 #define jpeg_read_coefficients chromium_jpeg_read_coefficients 113 #define jpeg_write_coefficients chromium_jpeg_write_coefficients 114 #define jpeg_copy_critical_parameters chromium_jpeg_copy_critical_parameters 115 #define jpeg_abort_compress chromium_jpeg_abort_compress 116 #define jpeg_abort_decompress chromium_jpeg_abort_decompress 117 #define jpeg_abort chromium_jpeg_abort 118 #define jpeg_destroy chromium_jpeg_destroy 119 #define jpeg_resync_to_restart chromium_jpeg_resync_to_restart 120 #define jpeg_get_small chromium_jpeg_get_small 121 #define jpeg_free_small chromium_jpeg_free_small 122 #define jpeg_get_large chromium_jpeg_get_large 123 #define jpeg_free_large chromium_jpeg_free_large 124 #define jpeg_mem_available chromium_jpeg_mem_available 125 #define jpeg_mem_dest chromium_jpeg_mem_dest 126 #define jpeg_mem_src chromium_jpeg_mem_src 127 #define jpeg_open_backing_store chromium_jpeg_open_backing_store 128 #define jpeg_mem_init chromium_jpeg_mem_init 129 #define jpeg_mem_term chromium_jpeg_mem_term 130 #define jpeg_std_message_table chromium_jpeg_std_message_table 131 #define jpeg_natural_order chromium_jpeg_natural_order 132 133 #endif // THIRD_PARTY_LIBJPEG_TURBO_JPEGLIBMANGLER_H_ 134