Home | History | Annotate | Download | only in libpng
      1 /* ***** BEGIN LICENSE BLOCK *****
      2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
      3  *
      4  * The contents of this file are subject to the Mozilla Public License Version
      5  * 1.1 (the "License"); you may not use this file except in compliance with
      6  * the License. You may obtain a copy of the License at
      7  * http://www.mozilla.org/MPL/
      8  *
      9  * Software distributed under the License is distributed on an "AS IS" basis,
     10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
     11  * for the specific language governing rights and limitations under the
     12  * License.
     13  *
     14  * The Original Code is mozilla libpng configuration.
     15  *
     16  * The Initial Developer of the Original Code is
     17  * Tim Rowley.
     18  * Portions created by the Initial Developer are Copyright (C) 2003
     19  * the Initial Developer. All Rights Reserved.
     20  *
     21  * Contributor(s): Tim Rowley <tor (at) cs.brown.edu>, Apple Computer
     22  *
     23  * Alternatively, the contents of this file may be used under the terms of
     24  * either the GNU General Public License Version 2 or later (the "GPL"), or
     25  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
     26  * in which case the provisions of the GPL or the LGPL are applicable instead
     27  * of those above. If you wish to allow use of your version of this file only
     28  * under the terms of either the GPL or the LGPL, and not to allow others to
     29  * use your version of this file under the terms of the MPL, indicate your
     30  * decision by deleting the provisions above and replace them with the notice
     31  * and other provisions required by the GPL or the LGPL. If you do not delete
     32  * the provisions above, a recipient may use your version of this file under
     33  * the terms of any one of the MPL, the GPL or the LGPL.
     34  *
     35  * ***** END LICENSE BLOCK ***** */
     36 
     37 #ifndef CHROME_THIRD_PARTY_LIBPNG_PNGUSR_H__
     38 #define CHROME_THIRD_PARTY_LIBPNG_PNGUSR_H__
     39 
     40 #define PNG_NO_GLOBAL_ARRAYS
     41 
     42 #undef PNG_NO_INFO_IMAGE
     43 #define PNG_NO_READ_BACKGROUND
     44 #define PNG_NO_READ_DITHER
     45 #define PNG_NO_READ_INVERT
     46 #define PNG_NO_READ_SHIFT
     47 #if defined(CHROME_PNG_READ_PACK_SUPPORT)
     48 #undef PNG_NO_READ_PACK  // Required by freetype to support png glyphs.
     49 #else
     50 #define PNG_NO_READ_PACK
     51 #endif
     52 #define PNG_NO_READ_PACKSWAP
     53 #undef PNG_NO_READ_FILLER
     54 #define PNG_NO_READ_SWAP
     55 #define PNG_NO_READ_SWAP_ALPHA
     56 #define PNG_NO_READ_INVERT_ALPHA
     57 #define PNG_NO_READ_RGB_TO_GRAY
     58 #define PNG_NO_READ_bKGD
     59 #undef PNG_NO_READ_cHRM
     60 #undef PNG_NO_READ_gAMA
     61 #define PNG_NO_READ_hIST
     62 #undef PNG_NO_READ_iCCP
     63 #define PNG_NO_READ_oFFs
     64 #define PNG_NO_READ_pCAL
     65 #define PNG_NO_READ_pHYs
     66 #define PNG_NO_READ_sBIT
     67 #define PNG_NO_READ_sCAL
     68 #define PNG_NO_READ_sPLT
     69 #undef PNG_NO_READ_sRGB
     70 #define PNG_NO_READ_TEXT
     71 #define PNG_NO_READ_tIME
     72 #define PNG_NO_READ_UNKNOWN_CHUNKS
     73 #define PNG_NO_READ_USER_CHUNKS
     74 #define PNG_NO_READ_EMPTY_PLTE
     75 #define PNG_NO_READ_OPT_PLTE
     76 
     77 #ifdef CHROME_PNG_WRITE_SUPPORT
     78 #define PNG_NO_WRITE_BACKGROUND
     79 #define PNG_NO_WRITE_DITHER
     80 #define PNG_NO_WRITE_INVERT
     81 #define PNG_NO_WRITE_SHIFT
     82 #define PNG_NO_WRITE_PACK
     83 #define PNG_NO_WRITE_PACKSWAP
     84 #undef PNG_NO_WRITE_FILLER
     85 #define PNG_NO_WRITE_SWAP
     86 #define PNG_NO_WRITE_SWAP_ALPHA
     87 #define PNG_NO_WRITE_INVERT_ALPHA
     88 #define PNG_NO_WRITE_RGB_TO_GRAY
     89 #define PNG_NO_WRITE_USER_TRANSFORM
     90 #define PNG_NO_WRITE_bKGD
     91 #define PNG_NO_WRITE_cHRM
     92 #define PNG_NO_WRITE_gAMA
     93 #define PNG_NO_WRITE_hIST
     94 #define PNG_NO_WRITE_iCCP
     95 #define PNG_NO_WRITE_oFFs
     96 #define PNG_NO_WRITE_pCAL
     97 #define PNG_NO_WRITE_pHYs
     98 #define PNG_NO_WRITE_sBIT
     99 #define PNG_NO_WRITE_sCAL
    100 #define PNG_NO_WRITE_sPLT
    101 #define PNG_NO_WRITE_sRGB
    102 #define PNG_NO_WRITE_tIME
    103 #define PNG_NO_WRITE_UNKNOWN_CHUNKS
    104 #define PNG_NO_WRITE_USER_CHUNKS
    105 #define PNG_NO_WRITE_EMPTY_PLTE
    106 #define PNG_NO_WRITE_OPT_PLTE
    107 #else
    108 #define PNG_NO_WRITE_SUPPORTED
    109 #endif
    110 
    111 #define PNG_NO_USER_MEM
    112 #define PNG_NO_FIXED_POINT_SUPPORTED
    113 #define PNG_NO_MNG_FEATURES
    114 #define PNG_NO_HANDLE_AS_UNKNOWN
    115 #define PNG_NO_CONSOLE_IO
    116 #define PNG_NO_ZALLOC_ZERO
    117 #define PNG_NO_ERROR_NUMBERS
    118 #undef PNG_NO_EASY_ACCESS
    119 #define PNG_NO_USER_LIMITS
    120 #define PNG_NO_SET_USER_LIMITS
    121 #define PNG_NO_TIME_RFC1123
    122 #undef PNG_NO_INFO_IMAGE
    123 #undef PNG_NO_PROGRESSIVE_READ
    124 #undef PNG_NO_SEQUENTIAL_READ
    125 
    126 /* Mangle names of exported libpng functions so different libpng versions
    127    can coexist. It is recommended that if you do this, you give your
    128    library a different name such as "libwkpng" instead of "libpng". */
    129 
    130 #define png_64bit_product               wk_png_64bit_product
    131 #define png_access_version_number       wk_png_access_version_number
    132 #undef png_benign_error
    133 #define png_build_gamma_table           wk_png_build_gamma_table
    134 #define png_build_grayscale_palette     wk_png_build_grayscale_palette
    135 #define png_calculate_crc               wk_png_calculate_crc
    136 #define png_calloc                      wk_png_calloc
    137 #define png_check_IHDR                  wk_png_check_IHDR
    138 #define png_check_cHRM_fixed            wk_png_check_cHRM_fixed
    139 #define png_check_chunk_name            wk_png_check_chunk_name
    140 #define png_check_keyword               wk_png_check_keyword
    141 #define png_check_sig                   wk_png_check_sig
    142 #undef png_chunk_benign_error
    143 #define png_chunk_error                 wk_png_chunk_error
    144 #define png_chunk_warning               wk_png_chunk_warning
    145 #define png_combine_row                 wk_png_combine_row
    146 #define png_convert_from_struct_tm      wk_png_convert_from_struct_tm
    147 #define png_convert_from_time_t         wk_png_convert_from_time_t
    148 #define png_convert_size                wk_png_convert_size
    149 #define png_convert_to_rfc1123          wk_png_convert_to_rfc1123
    150 #define png_correct_palette             wk_png_correct_palette
    151 #define png_crc_error                   wk_png_crc_error
    152 #define png_crc_finish                  wk_png_crc_finish
    153 #define png_crc_read                    wk_png_crc_read
    154 #define png_create_info_struct          wk_png_create_info_struct
    155 #define png_create_read_struct          wk_png_create_read_struct
    156 #define png_create_read_struct_2        wk_png_create_read_struct_2
    157 #define png_create_struct               wk_png_create_struct
    158 #define png_create_struct_2             wk_png_create_struct_2
    159 #define png_create_write_struct         wk_png_create_write_struct
    160 #define png_create_write_struct_2       wk_png_create_write_struct_2
    161 #define png_data_freer                  wk_png_data_freer
    162 #define png_decompress_chunk            wk_png_decompress_chunk
    163 #define png_default_error               wk_png_default_error
    164 #define png_default_flush               wk_png_default_flush
    165 #define png_default_read_data           wk_png_default_read_data
    166 #define png_default_warning             wk_png_default_warning
    167 #define png_default_write_data          wk_png_default_write_data
    168 #define png_destroy_info_struct         wk_png_destroy_info_struct
    169 #define png_destroy_read_struct         wk_png_destroy_read_struct
    170 #define png_destroy_struct              wk_png_destroy_struct
    171 #define png_destroy_struct_2            wk_png_destroy_struct_2
    172 #define png_destroy_write_struct        wk_png_destroy_write_struct
    173 #define png_do_background               wk_png_do_background
    174 #define png_do_bgr                      wk_png_do_bgr
    175 #define png_do_chop                     wk_png_do_chop
    176 #define png_do_dither                   wk_png_do_dither
    177 #define png_do_expand                   wk_png_do_expand
    178 #define png_do_expand_palette           wk_png_do_expand_palette
    179 #define png_do_gamma                    wk_png_do_gamma
    180 #define png_do_gray_to_rgb              wk_png_do_gray_to_rgb
    181 #define png_do_invert                   wk_png_do_invert
    182 #define png_do_pack                     wk_png_do_pack
    183 #define png_do_packswap                 wk_png_do_packswap
    184 #define png_do_read_filler              wk_png_do_read_filler
    185 #define png_do_read_interlace           wk_png_do_read_interlace
    186 #define png_do_read_intrapixel          wk_png_do_read_intrapixel
    187 #define png_do_read_invert_alpha        wk_png_do_read_invert_alpha
    188 #define png_do_read_swap_alpha          wk_png_do_read_swap_alpha
    189 #define png_do_read_transformations     wk_png_do_read_transformations
    190 #define png_do_rgb_to_gray              wk_png_do_rgb_to_gray
    191 #define png_do_shift                    wk_png_do_shift
    192 #define png_do_strip_filler             wk_png_do_strip_filler
    193 #define png_do_swap                     wk_png_do_swap
    194 #define png_do_unpack                   wk_png_do_unpack
    195 #define png_do_unshift                  wk_png_do_unshift
    196 #define png_do_write_interlace          wk_png_do_write_interlace
    197 #define png_do_write_intrapixel         wk_png_do_write_intrapixel
    198 #define png_do_write_invert_alpha       wk_png_do_write_invert_alpha
    199 #define png_do_write_swap_alpha         wk_png_do_write_swap_alpha
    200 #define png_do_write_transformations    wk_png_do_write_transformations
    201 #define png_dummy_mmx_support           wk_png_dummy_mmx_support
    202 #define png_err                         wk_png_err
    203 #define png_error                       wk_png_error
    204 #define png_flush                       wk_png_flush
    205 #define png_format_buffer               wk_png_format_buffer
    206 #define png_free                        wk_png_free
    207 #define png_free_data                   wk_png_free_data
    208 #define png_free_default                wk_png_free_default
    209 #define png_get_IHDR                    wk_png_get_IHDR
    210 #define png_get_PLTE                    wk_png_get_PLTE
    211 #define png_get_asm_flagmask            wk_png_get_asm_flagmask
    212 #define png_get_asm_flags               wk_png_get_asm_flags
    213 #define png_get_bKGD                    wk_png_get_bKGD
    214 #define png_get_bit_depth               wk_png_get_bit_depth
    215 #define png_get_cHRM                    wk_png_get_cHRM
    216 #define png_get_cHRM_fixed              wk_png_get_cHRM_fixed
    217 #define png_get_channels                wk_png_get_channels
    218 #define png_get_color_type              wk_png_get_color_type
    219 #define png_get_compression_buffer_size wk_png_get_compression_buffer_size
    220 #define png_get_compression_type        wk_png_get_compression_type
    221 #define png_get_copyright               wk_png_get_copyright
    222 #define png_get_error_ptr               wk_png_get_error_ptr
    223 #define png_get_filter_type             wk_png_get_filter_type
    224 #define png_get_gAMA                    wk_png_get_gAMA
    225 #define png_get_gAMA_fixed              wk_png_get_gAMA_fixed
    226 #define png_get_hIST                    wk_png_get_hIST
    227 #define png_get_header_ver              wk_png_get_header_ver
    228 #define png_get_header_version          wk_png_get_header_version
    229 #define png_get_iCCP                    wk_png_get_iCCP
    230 #define png_get_image_height            wk_png_get_image_height
    231 #define png_get_image_width             wk_png_get_image_width
    232 #undef png_get_int_32
    233 #define png_get_interlace_type          wk_png_get_interlace_type
    234 #define png_get_io_ptr                  wk_png_get_io_ptr
    235 #define png_get_libpng_ver              wk_png_get_libpng_ver
    236 #define png_get_mem_ptr                 wk_png_get_mem_ptr
    237 #define png_get_mmx_bitdepth_threshold  wk_png_get_mmx_bitdepth_threshold
    238 #define png_get_mmx_flagmask            wk_png_get_mmx_flagmask
    239 #define png_get_mmx_rowbytes_threshold  wk_png_get_mmx_rowbytes_threshold
    240 #define png_get_oFFs                    wk_png_get_oFFs
    241 #define png_get_pCAL                    wk_png_get_pCAL
    242 #define png_get_pHYs                    wk_png_get_pHYs
    243 #define png_get_pHYs_dpi                wk_png_get_pHYs_dpi
    244 #define png_get_pixel_aspect_ratio      wk_png_get_pixel_aspect_ratio
    245 #define png_get_pixels_per_inch         wk_png_get_pixels_per_inch
    246 #define png_get_pixels_per_meter        wk_png_get_pixels_per_meter
    247 #define png_get_progressive_ptr         wk_png_get_progressive_ptr
    248 #define png_get_rgb_to_gray_status      wk_png_get_rgb_to_gray_status
    249 #define png_get_rowbytes                wk_png_get_rowbytes
    250 #define png_get_rows                    wk_png_get_rows
    251 #define png_get_sBIT                    wk_png_get_sBIT
    252 #define png_get_sCAL                    wk_png_get_sCAL
    253 #define png_get_sCAL_s                  wk_png_get_sCAL_s
    254 #define png_get_sPLT                    wk_png_get_sPLT
    255 #define png_get_sRGB                    wk_png_get_sRGB
    256 #define png_get_signature               wk_png_get_signature
    257 #define png_get_tIME                    wk_png_get_tIME
    258 #define png_get_tRNS                    wk_png_get_tRNS
    259 #define png_get_text                    wk_png_get_text
    260 #undef png_get_uint_16
    261 #define png_get_uint_31                 wk_png_get_uint_31
    262 #undef png_get_uint_32
    263 #define png_get_unknown_chunks          wk_png_get_unknown_chunks
    264 #define png_get_user_chunk_ptr          wk_png_get_user_chunk_ptr
    265 #define png_get_user_height_max         wk_png_get_user_height_max
    266 #define png_get_user_transform_ptr      wk_png_get_user_transform_ptr
    267 #define png_get_user_width_max          wk_png_get_user_width_max
    268 #define png_get_valid                   wk_png_get_valid
    269 #define png_get_x_offset_inches         wk_png_get_x_offset_inches
    270 #define png_get_x_offset_microns        wk_png_get_x_offset_microns
    271 #define png_get_x_offset_pixels         wk_png_get_x_offset_pixels
    272 #define png_get_x_pixels_per_inch       wk_png_get_x_pixels_per_inch
    273 #define png_get_x_pixels_per_meter      wk_png_get_x_pixels_per_meter
    274 #define png_get_y_offset_inches         wk_png_get_y_offset_inches
    275 #define png_get_y_offset_microns        wk_png_get_y_offset_microns
    276 #define png_get_y_offset_pixels         wk_png_get_y_offset_pixels
    277 #define png_get_y_pixels_per_inch       wk_png_get_y_pixels_per_inch
    278 #define png_get_y_pixels_per_meter      wk_png_get_y_pixels_per_meter
    279 #define png_handle_IEND                 wk_png_handle_IEND
    280 #define png_handle_IHDR                 wk_png_handle_IHDR
    281 #define png_handle_PLTE                 wk_png_handle_PLTE
    282 #define png_handle_as_unknown           wk_png_handle_as_unknown
    283 #define png_handle_bKGD                 wk_png_handle_bKGD
    284 #define png_handle_cHRM                 wk_png_handle_cHRM
    285 #define png_handle_gAMA                 wk_png_handle_gAMA
    286 #define png_handle_hIST                 wk_png_handle_hIST
    287 #define png_handle_iCCP                 wk_png_handle_iCCP
    288 #define png_handle_iTXt                 wk_png_handle_iTXt
    289 #define png_handle_oFFs                 wk_png_handle_oFFs
    290 #define png_handle_pCAL                 wk_png_handle_pCAL
    291 #define png_handle_pHYs                 wk_png_handle_pHYs
    292 #define png_handle_sBIT                 wk_png_handle_sBIT
    293 #define png_handle_sCAL                 wk_png_handle_sCAL
    294 #define png_handle_sPLT                 wk_png_handle_sPLT
    295 #define png_handle_sRGB                 wk_png_handle_sRGB
    296 #define png_handle_tEXt                 wk_png_handle_tEXt
    297 #define png_handle_tIME                 wk_png_handle_tIME
    298 #define png_handle_tRNS                 wk_png_handle_tRNS
    299 #define png_handle_unknown              wk_png_handle_unknown
    300 #define png_handle_zTXt                 wk_png_handle_zTXt
    301 #define png_inflate                     wk_png_inflate
    302 #define png_info_destroy                wk_png_info_destroy
    303 #undef png_info_init
    304 #define png_info_init_3                 wk_png_info_init_3
    305 #define png_init_io                     wk_png_init_io
    306 #define png_init_read_transformations   wk_png_init_read_transformations
    307 #define png_malloc                      wk_png_malloc
    308 #define png_malloc_default              wk_png_malloc_default
    309 #define png_malloc_warn                 wk_png_malloc_warn
    310 #define png_memcpy_check                wk_png_memcpy_check
    311 #define png_memset_check                wk_png_memset_check
    312 #define png_mmx_support                 wk_png_mmx_support
    313 #define png_permit_empty_plte           wk_png_permit_empty_plte
    314 #define png_permit_mng_features         wk_png_permit_mng_features
    315 #define png_process_IDAT_data           wk_png_process_IDAT_data
    316 #define png_process_data                wk_png_process_data
    317 #define png_process_some_data           wk_png_process_some_data
    318 #define png_progressive_combine_row     wk_png_progressive_combine_row
    319 #define png_push_crc_finish             wk_png_push_crc_finish
    320 #define png_push_crc_skip               wk_png_push_crc_skip
    321 #define png_push_fill_buffer            wk_png_push_fill_buffer
    322 #define png_push_handle_iTXt            wk_png_push_handle_iTXt
    323 #define png_push_handle_tEXt            wk_png_push_handle_tEXt
    324 #define png_push_handle_unknown         wk_png_push_handle_unknown
    325 #define png_push_handle_zTXt            wk_png_push_handle_zTXt
    326 #define png_push_have_end               wk_png_push_have_end
    327 #define png_push_have_info              wk_png_push_have_info
    328 #define png_push_have_row               wk_png_push_have_row
    329 #define png_push_process_row            wk_png_push_process_row
    330 #define png_push_read_IDAT              wk_png_push_read_IDAT
    331 #define png_push_read_chunk             wk_png_push_read_chunk
    332 #define png_push_read_iTXt              wk_png_push_read_iTXt
    333 #define png_push_read_sig               wk_png_push_read_sig
    334 #define png_push_read_tEXt              wk_png_push_read_tEXt
    335 #define png_push_read_zTXt              wk_png_push_read_zTXt
    336 #define png_push_restore_buffer         wk_png_push_restore_buffer
    337 #define png_push_save_buffer            wk_png_push_save_buffer
    338 #define png_read_chunk_header           wk_png_read_chunk_header
    339 #define png_read_data                   wk_png_read_data
    340 #define png_read_destroy                wk_png_read_destroy
    341 #define png_read_end                    wk_png_read_end
    342 #define png_read_filter_row             wk_png_read_filter_row
    343 #define png_read_finish_row             wk_png_read_finish_row
    344 #define png_read_image                  wk_png_read_image
    345 #define png_read_info                   wk_png_read_info
    346 #undef png_read_init
    347 #define png_read_init_2                 wk_png_read_init_2
    348 #define png_read_init_3                 wk_png_read_init_3
    349 #define png_read_png                    wk_png_read_png
    350 #define png_read_push_finish_row        wk_png_read_push_finish_row
    351 #define png_read_row                    wk_png_read_row
    352 #define png_read_rows                   wk_png_read_rows
    353 #define png_read_start_row              wk_png_read_start_row
    354 #define png_read_transform_info         wk_png_read_transform_info
    355 #define png_read_update_info            wk_png_read_update_info
    356 #define png_reset_crc                   wk_png_reset_crc
    357 #define png_reset_zstream               wk_png_reset_zstream
    358 #define png_save_int_32                 wk_png_save_int_32
    359 #define png_save_uint_16                wk_png_save_uint_16
    360 #define png_save_uint_32                wk_png_save_uint_32
    361 #define png_set_IHDR                    wk_png_set_IHDR
    362 #define png_set_PLTE                    wk_png_set_PLTE
    363 #define png_set_add_alpha               wk_png_set_add_alpha
    364 #define png_set_asm_flags               wk_png_set_asm_flags
    365 #define png_set_bKGD                    wk_png_set_bKGD
    366 #define png_set_background              wk_png_set_background
    367 #define png_set_benign_errors           wk_png_set_benign_errors
    368 #define png_set_bgr                     wk_png_set_bgr
    369 #define png_set_cHRM                    wk_png_set_cHRM
    370 #define png_set_cHRM_fixed              wk_png_set_cHRM_fixed
    371 #define png_set_compression_buffer_size wk_png_set_compression_buffer_size
    372 #define png_set_compression_level       wk_png_set_compression_level
    373 #define png_set_compression_mem_level   wk_png_set_compression_mem_level
    374 #define png_set_compression_method      wk_png_set_compression_method
    375 #define png_set_compression_strategy    wk_png_set_compression_strategy
    376 #define png_set_compression_window_bits wk_png_set_compression_window_bits
    377 #define png_set_crc_action              wk_png_set_crc_action
    378 #define png_set_dither                  wk_png_set_dither
    379 #define png_set_error_fn                wk_png_set_error_fn
    380 #define png_set_expand                  wk_png_set_expand
    381 #define png_set_expand_gray_1_2_4_to_8  wk_png_set_expand_gray_1_2_4_to_8
    382 #define png_set_filler                  wk_png_set_filler
    383 #define png_set_filter                  wk_png_set_filter
    384 #define png_set_filter_heuristics       wk_png_set_filter_heuristics
    385 #define png_set_flush                   wk_png_set_flush
    386 #define png_set_gAMA                    wk_png_set_gAMA
    387 #define png_set_gAMA_fixed              wk_png_set_gAMA_fixed
    388 #define png_set_gamma                   wk_png_set_gamma
    389 #define png_set_gray_1_2_4_to_8         wk_png_set_gray_1_2_4_to_8
    390 #define png_set_gray_to_rgb             wk_png_set_gray_to_rgb
    391 #define png_set_hIST                    wk_png_set_hIST
    392 #define png_set_iCCP                    wk_png_set_iCCP
    393 #define png_set_interlace_handling      wk_png_set_interlace_handling
    394 #define png_set_invalid                 wk_png_set_invalid
    395 #define png_set_invert_alpha            wk_png_set_invert_alpha
    396 #define png_set_invert_mono             wk_png_set_invert_mono
    397 #define png_set_keep_unknown_chunks     wk_png_set_keep_unknown_chunks
    398 #define png_set_mem_fn                  wk_png_set_mem_fn
    399 #define png_set_mmx_thresholds          wk_png_set_mmx_thresholds
    400 #define png_set_oFFs                    wk_png_set_oFFs
    401 #define png_set_pCAL                    wk_png_set_pCAL
    402 #define png_set_pHYs                    wk_png_set_pHYs
    403 #define png_set_packing                 wk_png_set_packing
    404 #define png_set_packswap                wk_png_set_packswap
    405 #define png_set_palette_to_rgb          wk_png_set_palette_to_rgb
    406 #define png_set_progressive_read_fn     wk_png_set_progressive_read_fn
    407 #define png_set_read_fn                 wk_png_set_read_fn
    408 #define png_set_read_status_fn          wk_png_set_read_status_fn
    409 #define png_set_read_user_chunk_fn      wk_png_set_read_user_chunk_fn
    410 #define png_set_read_user_transform_fn  wk_png_set_read_user_transform_fn
    411 #define png_set_rgb_to_gray             wk_png_set_rgb_to_gray
    412 #define png_set_rgb_to_gray_fixed       wk_png_set_rgb_to_gray_fixed
    413 #define png_set_rows                    wk_png_set_rows
    414 #define png_set_sBIT                    wk_png_set_sBIT
    415 #define png_set_sCAL                    wk_png_set_sCAL
    416 #define png_set_sCAL_s                  wk_png_set_sCAL_s
    417 #define png_set_sPLT                    wk_png_set_sPLT
    418 #define png_set_sRGB                    wk_png_set_sRGB
    419 #define png_set_sRGB_gAMA_and_cHRM      wk_png_set_sRGB_gAMA_and_cHRM
    420 #define png_set_shift                   wk_png_set_shift
    421 #define png_set_sig_bytes               wk_png_set_sig_bytes
    422 #define png_set_strip_16                wk_png_set_strip_16
    423 #define png_set_strip_alpha             wk_png_set_strip_alpha
    424 #define png_set_strip_error_numbers     wk_png_set_strip_error_numbers
    425 #define png_set_swap                    wk_png_set_swap
    426 #define png_set_swap_alpha              wk_png_set_swap_alpha
    427 #define png_set_tIME                    wk_png_set_tIME
    428 #define png_set_tRNS                    wk_png_set_tRNS
    429 #define png_set_tRNS_to_alpha           wk_png_set_tRNS_to_alpha
    430 #define png_set_text                    wk_png_set_text
    431 #define png_set_text_2                  wk_png_set_text_2
    432 #define png_set_unknown_chunk_location  wk_png_set_unknown_chunk_location
    433 #define png_set_unknown_chunks          wk_png_set_unknown_chunks
    434 #define png_set_user_limits             wk_png_set_user_limits
    435 #define png_set_user_transform_info     wk_png_set_user_transform_info
    436 #define png_set_write_fn                wk_png_set_write_fn
    437 #define png_set_write_status_fn         wk_png_set_write_status_fn
    438 #define png_set_write_user_transform_fn wk_png_set_write_user_transform_fn
    439 #define png_sig_cmp                     wk_png_sig_cmp
    440 #define png_start_read_image            wk_png_start_read_image
    441 #define png_text_compress               wk_png_text_compress
    442 #define png_warning                     wk_png_warning
    443 #define png_write_IDAT                  wk_png_write_IDAT
    444 #define png_write_IEND                  wk_png_write_IEND
    445 #define png_write_IHDR                  wk_png_write_IHDR
    446 #define png_write_PLTE                  wk_png_write_PLTE
    447 #define png_write_bKGD                  wk_png_write_bKGD
    448 #define png_write_cHRM                  wk_png_write_cHRM
    449 #define png_write_cHRM_fixed            wk_png_write_cHRM_fixed
    450 #define png_write_chunk                 wk_png_write_chunk
    451 #define png_write_chunk_data            wk_png_write_chunk_data
    452 #define png_write_chunk_end             wk_png_write_chunk_end
    453 #define png_write_chunk_start           wk_png_write_chunk_start
    454 #define png_write_compressed_data_out   wk_png_write_compressed_data_out
    455 #define png_write_data                  wk_png_write_data
    456 #define png_write_destroy               wk_png_write_destroy
    457 #define png_write_end                   wk_png_write_end
    458 #define png_write_filtered_row          wk_png_write_filtered_row
    459 #define png_write_find_filter           wk_png_write_find_filter
    460 #define png_write_finish_row            wk_png_write_finish_row
    461 #define png_write_flush                 wk_png_write_flush
    462 #define png_write_gAMA                  wk_png_write_gAMA
    463 #define png_write_gAMA_fixed            wk_png_write_gAMA_fixed
    464 #define png_write_hIST                  wk_png_write_hIST
    465 #define png_write_iCCP                  wk_png_write_iCCP
    466 #define png_write_iTXt                  wk_png_write_iTXt
    467 #define png_write_image                 wk_png_write_image
    468 #define png_write_info                  wk_png_write_info
    469 #define png_write_info_before_PLTE      wk_png_write_info_before_PLTE
    470 #undef png_write_init
    471 #define png_write_init_2                wk_png_write_init_2
    472 #define png_write_init_3                wk_png_write_init_3
    473 #define png_write_oFFs                  wk_png_write_oFFs
    474 #define png_write_pCAL                  wk_png_write_pCAL
    475 #define png_write_pHYs                  wk_png_write_pHYs
    476 #define png_write_png                   wk_png_write_png
    477 #define png_write_row                   wk_png_write_row
    478 #define png_write_rows                  wk_png_write_rows
    479 #define png_write_sBIT                  wk_png_write_sBIT
    480 #define png_write_sCAL                  wk_png_write_sCAL
    481 #define png_write_sCAL_s                wk_png_write_sCAL_s
    482 #define png_write_sPLT                  wk_png_write_sPLT
    483 #define png_write_sRGB                  wk_png_write_sRGB
    484 #define png_write_sig                   wk_png_write_sig
    485 #define png_write_start_row             wk_png_write_start_row
    486 #define png_write_tEXt                  wk_png_write_tEXt
    487 #define png_write_tIME                  wk_png_write_tIME
    488 #define png_write_tRNS                  wk_png_write_tRNS
    489 #define png_write_zTXt                  wk_png_write_zTXt
    490 #define png_zalloc                      wk_png_zalloc
    491 #define png_zfree                       wk_png_zfree
    492 
    493 #endif  // CHROME_THIRD_PARTY_LIBPNG_PNGUSR_H__
    494