Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: core/include/thirdparties/libjpeg/jpeglib.h

Issue 1409243004: Add FPDFAPIJPEG_ prefix to more libjpeg functions (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/libjpeg/jpeglib.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * jpeglib.h 2 * jpeglib.h
3 * 3 *
4 * Copyright (C) 1991-1998, Thomas G. Lane. 4 * Copyright (C) 1991-1998, Thomas G. Lane.
5 * This file is part of the Independent JPEG Group's software. 5 * This file is part of the Independent JPEG Group's software.
6 * For conditions of distribution and use, see the accompanying README file. 6 * For conditions of distribution and use, see the accompanying README file.
7 * 7 *
8 * This file defines the application interface for the JPEG library. 8 * This file defines the application interface for the JPEG library.
9 * Most applications using the library need only include this file, 9 * Most applications using the library need only include this file,
10 * and perhaps jerror.h if they want to know the exact error codes. 10 * and perhaps jerror.h if they want to know the exact error codes.
11 */ 11 */
12 12
13 #ifndef JPEGLIB_H 13 #ifndef JPEGLIB_H
14 #define JPEGLIB_H 14 #define JPEGLIB_H
15 15
16 #define FOXIT_PREFIX(origName) FPDFAPIJPEG_##origName 16 #define FOXIT_PREFIX(origName) FPDFAPIJPEG_##origName
17 17
18 #define jcopy_block_row FOXIT_PREFIX(jcopy_block_row) 18 #define jcopy_block_row FOXIT_PREFIX(jcopy_block_row)
19 #define jcopy_sample_rows FOXIT_PREFIX(jcopy_sample_rows) 19 #define jcopy_sample_rows FOXIT_PREFIX(jcopy_sample_rows)
20 #define jdiv_round_up FOXIT_PREFIX(jdiv_round_up) 20 #define jdiv_round_up FOXIT_PREFIX(jdiv_round_up)
21 #define jinit_1pass_quantizer FOXIT_PREFIX(jinit_1pass_quantizer) 21 #define jinit_1pass_quantizer FOXIT_PREFIX(jinit_1pass_quantizer)
22 #define jinit_2pass_quantizer FOXIT_PREFIX(jinit_2pass_quantizer) 22 #define jinit_2pass_quantizer FOXIT_PREFIX(jinit_2pass_quantizer)
23 #define jinit_c_coef_controller FOXIT_PREFIX(jinit_c_coef_controller)
24 #define jinit_c_main_controller FOXIT_PREFIX(jinit_c_main_controller)
25 #define jinit_c_master_control FOXIT_PREFIX(jinit_c_master_control)
26 #define jinit_c_prep_controller FOXIT_PREFIX(jinit_c_prep_controller)
27 #define jinit_color_converter FOXIT_PREFIX(jinit_color_converter)
23 #define jinit_color_deconverter FOXIT_PREFIX(jinit_color_deconverter) 28 #define jinit_color_deconverter FOXIT_PREFIX(jinit_color_deconverter)
29 #define jinit_compress_master FOXIT_PREFIX(jinit_compress_master)
24 #define jinit_d_coef_controller FOXIT_PREFIX(jinit_d_coef_controller) 30 #define jinit_d_coef_controller FOXIT_PREFIX(jinit_d_coef_controller)
25 #define jinit_d_main_controller FOXIT_PREFIX(jinit_d_main_controller) 31 #define jinit_d_main_controller FOXIT_PREFIX(jinit_d_main_controller)
26 #define jinit_d_post_controller FOXIT_PREFIX(jinit_d_post_controller) 32 #define jinit_d_post_controller FOXIT_PREFIX(jinit_d_post_controller)
33 #define jinit_downsampler FOXIT_PREFIX(jinit_downsampler)
34 #define jinit_forward_dct FOXIT_PREFIX(jinit_forward_dct)
27 #define jinit_huff_decoder FOXIT_PREFIX(jinit_huff_decoder) 35 #define jinit_huff_decoder FOXIT_PREFIX(jinit_huff_decoder)
36 #define jinit_huff_encoder FOXIT_PREFIX(jinit_huff_encoder)
28 #define jinit_input_controller FOXIT_PREFIX(jinit_input_controller) 37 #define jinit_input_controller FOXIT_PREFIX(jinit_input_controller)
29 #define jinit_inverse_dct FOXIT_PREFIX(jinit_inverse_dct) 38 #define jinit_inverse_dct FOXIT_PREFIX(jinit_inverse_dct)
30 #define jinit_marker_reader FOXIT_PREFIX(jinit_marker_reader) 39 #define jinit_marker_reader FOXIT_PREFIX(jinit_marker_reader)
40 #define jinit_marker_writer FOXIT_PREFIX(jinit_marker_writer)
31 #define jinit_master_decompress FOXIT_PREFIX(jinit_master_decompress) 41 #define jinit_master_decompress FOXIT_PREFIX(jinit_master_decompress)
32 #define jinit_memory_mgr FOXIT_PREFIX(jinit_memory_mgr) 42 #define jinit_memory_mgr FOXIT_PREFIX(jinit_memory_mgr)
33 #define jinit_merged_upsampler FOXIT_PREFIX(jinit_merged_upsampler) 43 #define jinit_merged_upsampler FOXIT_PREFIX(jinit_merged_upsampler)
34 #define jinit_phuff_decoder FOXIT_PREFIX(jinit_phuff_decoder) 44 #define jinit_phuff_decoder FOXIT_PREFIX(jinit_phuff_decoder)
45 #define jinit_phuff_encoder FOXIT_PREFIX(jinit_phuff_encoder)
35 #define jinit_upsampler FOXIT_PREFIX(jinit_upsampler) 46 #define jinit_upsampler FOXIT_PREFIX(jinit_upsampler)
47 #define jpeg_CreateCompress FOXIT_PREFIX(jpeg_CreateCompress)
36 #define jpeg_CreateDecompress FOXIT_PREFIX(jpeg_CreateDecompress) 48 #define jpeg_CreateDecompress FOXIT_PREFIX(jpeg_CreateDecompress)
37 #define jpeg_abort FOXIT_PREFIX(jpeg_abort) 49 #define jpeg_abort FOXIT_PREFIX(jpeg_abort)
50 #define jpeg_abort_compress FOXIT_PREFIX(jpeg_abort_compress)
38 #define jpeg_abort_decompress FOXIT_PREFIX(jpeg_abort_decompress) 51 #define jpeg_abort_decompress FOXIT_PREFIX(jpeg_abort_decompress)
52 #define jpeg_add_quant_table FOXIT_PREFIX(jpeg_add_quant_table)
39 #define jpeg_alloc_huff_table FOXIT_PREFIX(jpeg_alloc_huff_table) 53 #define jpeg_alloc_huff_table FOXIT_PREFIX(jpeg_alloc_huff_table)
40 #define jpeg_alloc_quant_table FOXIT_PREFIX(jpeg_alloc_quant_table) 54 #define jpeg_alloc_quant_table FOXIT_PREFIX(jpeg_alloc_quant_table)
41 #define jpeg_calc_output_dimensions FOXIT_PREFIX(jpeg_calc_output_dimensions) 55 #define jpeg_calc_output_dimensions FOXIT_PREFIX(jpeg_calc_output_dimensions)
42 #define jpeg_consume_input FOXIT_PREFIX(jpeg_consume_input) 56 #define jpeg_consume_input FOXIT_PREFIX(jpeg_consume_input)
57 #define jpeg_default_colorspace FOXIT_PREFIX(jpeg_default_colorspace)
43 #define jpeg_destroy FOXIT_PREFIX(jpeg_destroy) 58 #define jpeg_destroy FOXIT_PREFIX(jpeg_destroy)
59 #define jpeg_destroy_compress FOXIT_PREFIX(jpeg_destroy_compress)
44 #define jpeg_destroy_decompress FOXIT_PREFIX(jpeg_destroy_decompress) 60 #define jpeg_destroy_decompress FOXIT_PREFIX(jpeg_destroy_decompress)
61 #define jpeg_fdct_ifast FOXIT_PREFIX(jpeg_fdct_ifast)
62 #define jpeg_fdct_islow FOXIT_PREFIX(jpeg_fdct_islow)
45 #define jpeg_fill_bit_buffer FOXIT_PREFIX(jpeg_fill_bit_buffer) 63 #define jpeg_fill_bit_buffer FOXIT_PREFIX(jpeg_fill_bit_buffer)
64 #define jpeg_finish_compress FOXIT_PREFIX(jpeg_finish_compress)
46 #define jpeg_finish_decompress FOXIT_PREFIX(jpeg_finish_decompress) 65 #define jpeg_finish_decompress FOXIT_PREFIX(jpeg_finish_decompress)
47 #define jpeg_finish_output FOXIT_PREFIX(jpeg_finish_output) 66 #define jpeg_finish_output FOXIT_PREFIX(jpeg_finish_output)
48 #define jpeg_free_large FOXIT_PREFIX(jpeg_free_large) 67 #define jpeg_free_large FOXIT_PREFIX(jpeg_free_large)
49 #define jpeg_free_small FOXIT_PREFIX(jpeg_free_small) 68 #define jpeg_free_small FOXIT_PREFIX(jpeg_free_small)
69 #define jpeg_gen_optimal_table FOXIT_PREFIX(jpeg_gen_optimal_table)
50 #define jpeg_get_large FOXIT_PREFIX(jpeg_get_large) 70 #define jpeg_get_large FOXIT_PREFIX(jpeg_get_large)
51 #define jpeg_get_small FOXIT_PREFIX(jpeg_get_small) 71 #define jpeg_get_small FOXIT_PREFIX(jpeg_get_small)
52 #define jpeg_has_multiple_scans FOXIT_PREFIX(jpeg_has_multiple_scans) 72 #define jpeg_has_multiple_scans FOXIT_PREFIX(jpeg_has_multiple_scans)
53 #define jpeg_huff_decode FOXIT_PREFIX(jpeg_huff_decode) 73 #define jpeg_huff_decode FOXIT_PREFIX(jpeg_huff_decode)
54 #define jpeg_idct_1x1 FOXIT_PREFIX(jpeg_idct_1x1) 74 #define jpeg_idct_1x1 FOXIT_PREFIX(jpeg_idct_1x1)
55 #define jpeg_idct_2x2 FOXIT_PREFIX(jpeg_idct_2x2) 75 #define jpeg_idct_2x2 FOXIT_PREFIX(jpeg_idct_2x2)
56 #define jpeg_idct_4x4 FOXIT_PREFIX(jpeg_idct_4x4) 76 #define jpeg_idct_4x4 FOXIT_PREFIX(jpeg_idct_4x4)
57 #define jpeg_idct_float FOXIT_PREFIX(jpeg_idct_float) 77 #define jpeg_idct_float FOXIT_PREFIX(jpeg_idct_float)
58 #define jpeg_idct_ifast FOXIT_PREFIX(jpeg_idct_ifast) 78 #define jpeg_idct_ifast FOXIT_PREFIX(jpeg_idct_ifast)
59 #define jpeg_idct_islow FOXIT_PREFIX(jpeg_idct_islow) 79 #define jpeg_idct_islow FOXIT_PREFIX(jpeg_idct_islow)
60 #define jpeg_input_complete FOXIT_PREFIX(jpeg_input_complete) 80 #define jpeg_input_complete FOXIT_PREFIX(jpeg_input_complete)
81 #define jpeg_make_c_derived_tbl FOXIT_PREFIX(jpeg_make_c_derived_tbl)
61 #define jpeg_make_d_derived_tbl FOXIT_PREFIX(jpeg_make_d_derived_tbl) 82 #define jpeg_make_d_derived_tbl FOXIT_PREFIX(jpeg_make_d_derived_tbl)
62 #define jpeg_mem_available FOXIT_PREFIX(jpeg_mem_available) 83 #define jpeg_mem_available FOXIT_PREFIX(jpeg_mem_available)
63 #define jpeg_mem_init FOXIT_PREFIX(jpeg_mem_init) 84 #define jpeg_mem_init FOXIT_PREFIX(jpeg_mem_init)
64 #define jpeg_mem_term FOXIT_PREFIX(jpeg_mem_term) 85 #define jpeg_mem_term FOXIT_PREFIX(jpeg_mem_term)
65 #define jpeg_natural_order FOXIT_PREFIX(jpeg_natural_order) 86 #define jpeg_natural_order FOXIT_PREFIX(jpeg_natural_order)
66 #define jpeg_new_colormap FOXIT_PREFIX(jpeg_new_colormap) 87 #define jpeg_new_colormap FOXIT_PREFIX(jpeg_new_colormap)
67 #define jpeg_open_backing_store FOXIT_PREFIX(jpeg_open_backing_store) 88 #define jpeg_open_backing_store FOXIT_PREFIX(jpeg_open_backing_store)
89 #define jpeg_quality_scaling FOXIT_PREFIX(jpeg_quality_scaling)
68 #define jpeg_read_coefficients FOXIT_PREFIX(jpeg_read_coefficients) 90 #define jpeg_read_coefficients FOXIT_PREFIX(jpeg_read_coefficients)
69 #define jpeg_read_header FOXIT_PREFIX(jpeg_read_header) 91 #define jpeg_read_header FOXIT_PREFIX(jpeg_read_header)
70 #define jpeg_read_raw_data FOXIT_PREFIX(jpeg_read_raw_data) 92 #define jpeg_read_raw_data FOXIT_PREFIX(jpeg_read_raw_data)
71 #define jpeg_read_scanlines FOXIT_PREFIX(jpeg_read_scanlines) 93 #define jpeg_read_scanlines FOXIT_PREFIX(jpeg_read_scanlines)
72 #define jpeg_resync_to_restart FOXIT_PREFIX(jpeg_resync_to_restart) 94 #define jpeg_resync_to_restart FOXIT_PREFIX(jpeg_resync_to_restart)
73 #define jpeg_save_markers FOXIT_PREFIX(jpeg_save_markers) 95 #define jpeg_save_markers FOXIT_PREFIX(jpeg_save_markers)
96 #define jpeg_set_colorspace FOXIT_PREFIX(jpeg_set_colorspace)
97 #define jpeg_set_defaults FOXIT_PREFIX(jpeg_set_defaults)
98 #define jpeg_set_linear_quality FOXIT_PREFIX(jpeg_set_linear_quality)
74 #define jpeg_set_marker_processor FOXIT_PREFIX(jpeg_set_marker_processor) 99 #define jpeg_set_marker_processor FOXIT_PREFIX(jpeg_set_marker_processor)
100 #define jpeg_set_quality FOXIT_PREFIX(jpeg_set_quality)
101 #define jpeg_simple_progression FOXIT_PREFIX(jpeg_simple_progression)
102 #define jpeg_start_compress FOXIT_PREFIX(jpeg_start_compress)
75 #define jpeg_start_decompress FOXIT_PREFIX(jpeg_start_decompress) 103 #define jpeg_start_decompress FOXIT_PREFIX(jpeg_start_decompress)
76 #define jpeg_start_output FOXIT_PREFIX(jpeg_start_output) 104 #define jpeg_start_output FOXIT_PREFIX(jpeg_start_output)
77 #define jpeg_std_error FOXIT_PREFIX(jpeg_std_error) 105 #define jpeg_std_error FOXIT_PREFIX(jpeg_std_error)
78 #define jpeg_std_message_table FOXIT_PREFIX(jpeg_std_message_table) 106 #define jpeg_std_message_table FOXIT_PREFIX(jpeg_std_message_table)
79 #define jpeg_stdio_src FOXIT_PREFIX(jpeg_stdio_src) 107 #define jpeg_stdio_src FOXIT_PREFIX(jpeg_stdio_src)
108 #define jpeg_suppress_tables FOXIT_PREFIX(jpeg_suppress_tables)
109 #define jpeg_write_m_byte FOXIT_PREFIX(jpeg_write_m_byte)
110 #define jpeg_write_m_header FOXIT_PREFIX(jpeg_write_m_header)
111 #define jpeg_write_marker FOXIT_PREFIX(jpeg_write_marker)
112 #define jpeg_write_raw_data FOXIT_PREFIX(jpeg_write_raw_data)
113 #define jpeg_write_scanlines FOXIT_PREFIX(jpeg_write_scanlines)
114 #define jpeg_write_tables FOXIT_PREFIX(jpeg_write_tables)
80 #define jround_up FOXIT_PREFIX(jround_up) 115 #define jround_up FOXIT_PREFIX(jround_up)
81 #define jzero_far FOXIT_PREFIX(jzero_far) 116 #define jzero_far FOXIT_PREFIX(jzero_far)
82 117
83 /* 118 /*
84 * First we include the configuration files that record how this 119 * First we include the configuration files that record how this
85 * installation of the JPEG library is set up. jconfig.h can be 120 * installation of the JPEG library is set up. jconfig.h can be
86 * generated automatically for many systems. jmorecfg.h contains 121 * generated automatically for many systems. jmorecfg.h contains
87 * manual configuration options that most people need not worry about. 122 * manual configuration options that most people need not worry about.
88 */ 123 */
89 124
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 * Applications using the library should not include jpegint.h, but may wish 1191 * Applications using the library should not include jpegint.h, but may wish
1157 * to include jerror.h. 1192 * to include jerror.h.
1158 */ 1193 */
1159 1194
1160 #ifdef JPEG_INTERNALS 1195 #ifdef JPEG_INTERNALS
1161 #include "jpegint.h" /* fetch private declarations */ 1196 #include "jpegint.h" /* fetch private declarations */
1162 #include "jerror.h" /* fetch error codes too */ 1197 #include "jerror.h" /* fetch error codes too */
1163 #endif 1198 #endif
1164 1199
1165 #endif /* JPEGLIB_H */ 1200 #endif /* JPEGLIB_H */
OLDNEW
« no previous file with comments | « no previous file | third_party/libjpeg/jpeglib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698