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

Side by Side Diff: third_party/libpng/pngusr.h

Issue 754183005: Define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « third_party/libpng/pngrutil.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* ***** BEGIN LICENSE BLOCK ***** 1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 * 3 *
4 * The contents of this file are subject to the Mozilla Public License Version 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 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 6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/ 7 * http://www.mozilla.org/MPL/
8 * 8 *
9 * Software distributed under the License is distributed on an "AS IS" basis, 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 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 #define PNG_NO_READ_sCAL 67 #define PNG_NO_READ_sCAL
68 #define PNG_NO_READ_sPLT 68 #define PNG_NO_READ_sPLT
69 #undef PNG_NO_READ_sRGB 69 #undef PNG_NO_READ_sRGB
70 #define PNG_NO_READ_TEXT 70 #define PNG_NO_READ_TEXT
71 #define PNG_NO_READ_tIME 71 #define PNG_NO_READ_tIME
72 #define PNG_NO_READ_UNKNOWN_CHUNKS 72 #define PNG_NO_READ_UNKNOWN_CHUNKS
73 #define PNG_NO_READ_USER_CHUNKS 73 #define PNG_NO_READ_USER_CHUNKS
74 #define PNG_NO_READ_EMPTY_PLTE 74 #define PNG_NO_READ_EMPTY_PLTE
75 #define PNG_NO_READ_OPT_PLTE 75 #define PNG_NO_READ_OPT_PLTE
76 76
77 #if !defined(PNG_NO_READ_cHRM) && !defined(PNG_NO_READ_gAMA)
78 #if !defined(PNG_NO_READ_iCCP) && !defined(PNG_NO_READ_sRGB)
79 #define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA
80 #endif
81 #endif
82
77 #ifdef CHROME_PNG_WRITE_SUPPORT 83 #ifdef CHROME_PNG_WRITE_SUPPORT
78 #define PNG_NO_WRITE_BACKGROUND 84 #define PNG_NO_WRITE_BACKGROUND
79 #define PNG_NO_WRITE_DITHER 85 #define PNG_NO_WRITE_DITHER
80 #define PNG_NO_WRITE_INVERT 86 #define PNG_NO_WRITE_INVERT
81 #define PNG_NO_WRITE_SHIFT 87 #define PNG_NO_WRITE_SHIFT
82 #define PNG_NO_WRITE_PACK 88 #define PNG_NO_WRITE_PACK
83 #define PNG_NO_WRITE_PACKSWAP 89 #define PNG_NO_WRITE_PACKSWAP
84 #undef PNG_NO_WRITE_FILLER 90 #undef PNG_NO_WRITE_FILLER
85 #define PNG_NO_WRITE_SWAP 91 #define PNG_NO_WRITE_SWAP
86 #define PNG_NO_WRITE_SWAP_ALPHA 92 #define PNG_NO_WRITE_SWAP_ALPHA
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 #define png_write_sig wk_png_write_sig 490 #define png_write_sig wk_png_write_sig
485 #define png_write_start_row wk_png_write_start_row 491 #define png_write_start_row wk_png_write_start_row
486 #define png_write_tEXt wk_png_write_tEXt 492 #define png_write_tEXt wk_png_write_tEXt
487 #define png_write_tIME wk_png_write_tIME 493 #define png_write_tIME wk_png_write_tIME
488 #define png_write_tRNS wk_png_write_tRNS 494 #define png_write_tRNS wk_png_write_tRNS
489 #define png_write_zTXt wk_png_write_zTXt 495 #define png_write_zTXt wk_png_write_zTXt
490 #define png_zalloc wk_png_zalloc 496 #define png_zalloc wk_png_zalloc
491 #define png_zfree wk_png_zfree 497 #define png_zfree wk_png_zfree
492 498
493 #endif // CHROME_THIRD_PARTY_LIBPNG_PNGUSR_H__ 499 #endif // CHROME_THIRD_PARTY_LIBPNG_PNGUSR_H__
OLDNEW
« no previous file with comments | « third_party/libpng/pngrutil.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698