Roll src/third_party/skia 2440fcd:4de8c3a
[chromium-blink-merge.git] / third_party / libjpeg / jpeglibmangler.h
blobb87983b02ebc4358e94d65ce9477dd02e3e926af
1 // Copyright (c) 2012 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.
5 #ifndef THIRD_PARTY_LIBJPEG_JPEGLIBMANGLER_H_
6 #define THIRD_PARTY_LIBJPEG_JPEGLIBMANGLER_H_
8 // Mangle all externally visible function names so we can build our own libjpeg
9 // without system libraries trying to use it.
11 #define jcopy_block_row chromium_ijg_jcopy_block_row
12 #define jcopy_sample_rows chromium_ijg_jcopy_sample_rows
13 #define jdiv_round_up chromium_ijg_jdiv_round_up
14 #define jinit_1pass_quantizer chromium_ijg_jinit_1pass_quantizer
15 #define jinit_2pass_quantizer chromium_ijg_jinit_2pass_quantizer
16 #define jinit_c_coef_controller chromium_ijg_jinit_c_coef_controller
17 #define jinit_c_main_controller chromium_ijg_jinit_c_main_controller
18 #define jinit_c_master_control chromium_ijg_jinit_c_master_control
19 #define jinit_color_converter chromium_ijg_jinit_color_converter
20 #define jinit_color_deconverter chromium_ijg_jinit_color_deconverter
21 #define jinit_compress_master chromium_ijg_jinit_compress_master
22 #define jinit_c_prep_controller chromium_ijg_jinit_c_prep_controller
23 #define jinit_d_coef_controller chromium_ijg_jinit_d_coef_controller
24 #define jinit_d_main_controller chromium_ijg_jinit_d_main_controller
25 #define jinit_downsampler chromium_ijg_jinit_downsampler
26 #define jinit_d_post_controller chromium_ijg_jinit_d_post_controller
27 #define jinit_forward_dct chromium_ijg_jinit_forward_dct
28 #define jinit_huff_decoder chromium_ijg_jinit_huff_decoder
29 #define jinit_huff_encoder chromium_ijg_jinit_huff_encoder
30 #define jinit_input_controller chromium_ijg_jinit_input_controller
31 #define jinit_inverse_dct chromium_ijg_jinit_inverse_dct
32 #define jinit_marker_reader chromium_ijg_jinit_marker_reader
33 #define jinit_marker_writer chromium_ijg_jinit_marker_writer
34 #define jinit_master_decompress chromium_ijg_jinit_master_decompress
35 #define jinit_memory_mgr chromium_ijg_jinit_memory_mgr
36 #define jinit_merged_upsampler chromium_ijg_jinit_merged_upsampler
37 #define jinit_phuff_decoder chromium_ijg_jinit_phuff_decoder
38 #define jinit_phuff_encoder chromium_ijg_jinit_phuff_encoder
39 #define jinit_upsampler chromium_ijg_jinit_upsampler
40 #define jpeg_abort chromium_ijg_jpeg_abort
41 #define jpeg_abort_compress chromium_ijg_jpeg_abort_compress
42 #define jpeg_abort_decompress chromium_ijg_jpeg_abort_decompress
43 #define jpeg_add_quant_table chromium_ijg_jpeg_add_quant_table
44 #define jpeg_alloc_huff_table chromium_ijg_jpeg_alloc_huff_table
45 #define jpeg_alloc_quant_table chromium_ijg_jpeg_alloc_quant_table
46 #define jpeg_calc_output_dimensions chromium_ijg_jpeg_calc_output_dimensions
47 #define jpeg_consume_input chromium_ijg_jpeg_consume_input
48 #define jpeg_copy_critical_parameters chromium_ijg_jpeg_copy_critical_parameters
49 #define jpeg_CreateCompress chromium_ijg_jpeg_CreateCompress
50 #define jpeg_CreateDecompress chromium_ijg_jpeg_CreateDecompress
51 #define jpeg_default_colorspace chromium_ijg_jpeg_default_colorspace
52 #define jpeg_destroy chromium_ijg_jpeg_destroy
53 #define jpeg_destroy_compress chromium_ijg_jpeg_destroy_compress
54 #define jpeg_destroy_decompress chromium_ijg_jpeg_destroy_decompress
55 #define jpeg_fdct_float chromium_ijg_jpeg_fdct_float
56 #define jpeg_fdct_ifast chromium_ijg_jpeg_fdct_ifast
57 #define jpeg_fdct_islow chromium_ijg_jpeg_fdct_islow
58 #define jpeg_fill_bit_buffer chromium_ijg_jpeg_fill_bit_buffer
59 #define jpeg_finish_compress chromium_ijg_jpeg_finish_compress
60 #define jpeg_finish_decompress chromium_ijg_jpeg_finish_decompress
61 #define jpeg_finish_output chromium_ijg_jpeg_finish_output
62 #define jpeg_free_large chromium_ijg_jpeg_free_large
63 #define jpeg_free_small chromium_ijg_jpeg_free_small
64 #define jpeg_gen_optimal_table chromium_ijg_jpeg_gen_optimal_table
65 #define jpeg_get_large chromium_ijg_jpeg_get_large
66 #define jpeg_get_small chromium_ijg_jpeg_get_small
67 #define jpeg_has_multiple_scans chromium_ijg_jpeg_has_multiple_scans
68 #define jpeg_huff_decode chromium_ijg_jpeg_huff_decode
69 #define jpeg_idct_1x1 chromium_ijg_jpeg_idct_1x1
70 #define jpeg_idct_2x2 chromium_ijg_jpeg_idct_2x2
71 #define jpeg_idct_4x4 chromium_ijg_jpeg_idct_4x4
72 #define jpeg_idct_float chromium_ijg_jpeg_idct_float
73 #define jpeg_idct_ifast chromium_ijg_jpeg_idct_ifast
74 #define jpeg_idct_islow chromium_ijg_jpeg_idct_islow
75 #define jpeg_input_complete chromium_ijg_jpeg_input_complete
76 #define jpeg_make_c_derived_tbl chromium_ijg_jpeg_make_c_derived_tbl
77 #define jpeg_make_d_derived_tbl chromium_ijg_jpeg_make_d_derived_tbl
78 #define jpeg_mem_available chromium_ijg_jpeg_mem_available
79 #define jpeg_mem_init chromium_ijg_jpeg_mem_init
80 #define jpeg_mem_term chromium_ijg_jpeg_mem_term
81 #define jpeg_natural_order chromium_ijg_jpeg_natural_order
82 #define jpeg_new_colormap chromium_ijg_jpeg_new_colormap
83 #define jpeg_open_backing_store chromium_ijg_jpeg_open_backing_store
84 #define jpeg_quality_scaling chromium_ijg_jpeg_quality_scaling
85 #define jpeg_read_coefficients chromium_ijg_jpeg_read_coefficients
86 #define jpeg_read_header chromium_ijg_jpeg_read_header
87 #define jpeg_read_raw_data chromium_ijg_jpeg_read_raw_data
88 #define jpeg_read_scanlines chromium_ijg_jpeg_read_scanlines
89 #define jpeg_resync_to_restart chromium_ijg_jpeg_resync_to_restart
90 #define jpeg_save_markers chromium_ijg_jpeg_save_markers
91 #define jpeg_set_colorspace chromium_ijg_jpeg_set_colorspace
92 #define jpeg_set_defaults chromium_ijg_jpeg_set_defaults
93 #define jpeg_set_linear_quality chromium_ijg_jpeg_set_linear_quality
94 #define jpeg_set_marker_processor chromium_ijg_jpeg_set_marker_processor
95 #define jpeg_set_quality chromium_ijg_jpeg_set_quality
96 #define jpeg_simple_progression chromium_ijg_jpeg_simple_progression
97 #define jpeg_start_compress chromium_ijg_jpeg_start_compress
98 #define jpeg_start_decompress chromium_ijg_jpeg_start_decompress
99 #define jpeg_start_output chromium_ijg_jpeg_start_output
100 #define jpeg_std_error chromium_ijg_jpeg_std_error
101 #define jpeg_stdio_dest chromium_ijg_jpeg_stdio_dest
102 #define jpeg_stdio_src chromium_ijg_jpeg_stdio_src
103 #define jpeg_std_message_table chromium_ijg_jpeg_std_message_table
104 #define jpeg_suppress_tables chromium_ijg_jpeg_suppress_tables
105 #define jpeg_write_coefficients chromium_ijg_jpeg_write_coefficients
106 #define jpeg_write_marker chromium_ijg_jpeg_write_marker
107 #define jpeg_write_m_byte chromium_ijg_jpeg_write_m_byte
108 #define jpeg_write_m_header chromium_ijg_jpeg_write_m_header
109 #define jpeg_write_raw_data chromium_ijg_jpeg_write_raw_data
110 #define jpeg_write_scanlines chromium_ijg_jpeg_write_scanlines
111 #define jpeg_write_tables chromium_ijg_jpeg_write_tables
112 #define jround_up chromium_ijg_jround_up
113 #define jzero_far chromium_ijg_jzero_far
115 #endif // THIRD_PARTY_LIBJPEG_JPEGLIBMANGLER_H_