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

Side by Side Diff: third_party/iccjpeg/iccjpeg.h

Issue 2182993003: iccjpeg: Add README with license information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add note to top of LICENSE file that it is a copy of README Created 4 years, 4 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 | « third_party/iccjpeg/README.chromium ('k') | third_party/iccjpeg/iccjpeg.c » ('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 * iccprofile.h 2 * iccprofile.h
3 * 3 *
4 * Copyright (C) 1991-1998, Thomas G. Lane.
5 * This file is part of the Independent JPEG Group's software.
6 * For conditions of distribution and use, see the accompanying README file.
Nico 2016/07/29 22:27:43 are you upstreaming this change somewhere?
7 *
4 * This file provides code to read and write International Color Consortium 8 * This file provides code to read and write International Color Consortium
5 * (ICC) device profiles embedded in JFIF JPEG image files. The ICC has 9 * (ICC) device profiles embedded in JFIF JPEG image files. The ICC has
6 * defined a standard format for including such data in JPEG "APP2" markers. 10 * defined a standard format for including such data in JPEG "APP2" markers.
7 * The code given here does not know anything about the internal structure 11 * The code given here does not know anything about the internal structure
8 * of the ICC profile data; it just knows how to put the profile data into 12 * of the ICC profile data; it just knows how to put the profile data into
9 * a JPEG file being written, or get it back out when reading. 13 * a JPEG file being written, or get it back out when reading.
10 * 14 *
11 * This code depends on new features added to the IJG JPEG library as of 15 * This code depends on new features added to the IJG JPEG library as of
12 * IJG release 6b; it will not compile or work with older IJG versions. 16 * IJG release 6b; it will not compile or work with older IJG versions.
13 * 17 *
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 * and must be freed by the caller with free() when the caller no longer 73 * and must be freed by the caller with free() when the caller no longer
70 * needs it. (Alternatively, we could write this routine to use the 74 * needs it. (Alternatively, we could write this routine to use the
71 * IJG library's memory allocator, so that the data would be freed implicitly 75 * IJG library's memory allocator, so that the data would be freed implicitly
72 * at jpeg_finish_decompress() time. But it seems likely that many apps 76 * at jpeg_finish_decompress() time. But it seems likely that many apps
73 * will prefer to have the data stick around after decompression finishes.) 77 * will prefer to have the data stick around after decompression finishes.)
74 */ 78 */
75 79
76 extern boolean read_icc_profile JPP((j_decompress_ptr cinfo, 80 extern boolean read_icc_profile JPP((j_decompress_ptr cinfo,
77 JOCTET **icc_data_ptr, 81 JOCTET **icc_data_ptr,
78 unsigned int *icc_data_len)); 82 unsigned int *icc_data_len));
OLDNEW
« no previous file with comments | « third_party/iccjpeg/README.chromium ('k') | third_party/iccjpeg/iccjpeg.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698