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

Side by Side Diff: jpeglib.h

Issue 1258673007: Add jpeg_skip_scanlines() API to libjpeg-turbo (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Updating google.patch Created 5 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 | « jdsample.c ('k') | jpeglibmangler.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 * This file was part of the Independent JPEG Group's software: 4 * This file was part of the Independent JPEG Group's software:
5 * Copyright (C) 1991-1998, Thomas G. Lane. 5 * Copyright (C) 1991-1998, Thomas G. Lane.
6 * Modified 2002-2009 by Guido Vollbeding. 6 * Modified 2002-2009 by Guido Vollbeding.
7 * Modifications: 7 * Modifications:
8 * Copyright (C) 2009-2011, 2013, D. R. Commander. 8 * Copyright (C) 2009-2011, 2013, D. R. Commander.
9 * Copyright (C) 2015, Google, Inc.
9 * For conditions of distribution and use, see the accompanying README file. 10 * For conditions of distribution and use, see the accompanying README file.
10 * 11 *
11 * This file defines the application interface for the JPEG library. 12 * This file defines the application interface for the JPEG library.
12 * Most applications using the library need only include this file, 13 * Most applications using the library need only include this file,
13 * and perhaps jerror.h if they want to know the exact error codes. 14 * and perhaps jerror.h if they want to know the exact error codes.
14 */ 15 */
15 16
16 #ifndef JPEGLIB_H 17 #ifndef JPEGLIB_H
17 #define JPEGLIB_H 18 #define JPEGLIB_H
18 19
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 * a TABLES_ONLY return code; an abbreviated file will cause an error exit. 1083 * a TABLES_ONLY return code; an abbreviated file will cause an error exit.
1083 * JPEG_SUSPENDED is only possible if you use a data source module that can 1084 * JPEG_SUSPENDED is only possible if you use a data source module that can
1084 * give a suspension return (the stdio source module doesn't). 1085 * give a suspension return (the stdio source module doesn't).
1085 */ 1086 */
1086 1087
1087 /* Main entry points for decompression */ 1088 /* Main entry points for decompression */
1088 EXTERN(boolean) jpeg_start_decompress JPP((j_decompress_ptr cinfo)); 1089 EXTERN(boolean) jpeg_start_decompress JPP((j_decompress_ptr cinfo));
1089 EXTERN(JDIMENSION) jpeg_read_scanlines JPP((j_decompress_ptr cinfo, 1090 EXTERN(JDIMENSION) jpeg_read_scanlines JPP((j_decompress_ptr cinfo,
1090 JSAMPARRAY scanlines, 1091 JSAMPARRAY scanlines,
1091 JDIMENSION max_lines)); 1092 JDIMENSION max_lines));
1093 EXTERN(JDIMENSION) jpeg_skip_scanlines (j_decompress_ptr cinfo,
1094 JDIMENSION num_lines);
1092 EXTERN(boolean) jpeg_finish_decompress JPP((j_decompress_ptr cinfo)); 1095 EXTERN(boolean) jpeg_finish_decompress JPP((j_decompress_ptr cinfo));
1093 1096
1094 /* Replaces jpeg_read_scanlines when reading raw downsampled data. */ 1097 /* Replaces jpeg_read_scanlines when reading raw downsampled data. */
1095 EXTERN(JDIMENSION) jpeg_read_raw_data JPP((j_decompress_ptr cinfo, 1098 EXTERN(JDIMENSION) jpeg_read_raw_data JPP((j_decompress_ptr cinfo,
1096 JSAMPIMAGE data, 1099 JSAMPIMAGE data,
1097 JDIMENSION max_lines)); 1100 JDIMENSION max_lines));
1098 1101
1099 /* Additional entry points for buffered-image mode. */ 1102 /* Additional entry points for buffered-image mode. */
1100 EXTERN(boolean) jpeg_has_multiple_scans JPP((j_decompress_ptr cinfo)); 1103 EXTERN(boolean) jpeg_has_multiple_scans JPP((j_decompress_ptr cinfo));
1101 EXTERN(boolean) jpeg_start_output JPP((j_decompress_ptr cinfo, 1104 EXTERN(boolean) jpeg_start_output JPP((j_decompress_ptr cinfo,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 #include "jerror.h" /* fetch error codes too */ 1212 #include "jerror.h" /* fetch error codes too */
1210 #endif 1213 #endif
1211 1214
1212 #ifdef __cplusplus 1215 #ifdef __cplusplus
1213 #ifndef DONT_USE_EXTERN_C 1216 #ifndef DONT_USE_EXTERN_C
1214 } 1217 }
1215 #endif 1218 #endif
1216 #endif 1219 #endif
1217 1220
1218 #endif /* JPEGLIB_H */ 1221 #endif /* JPEGLIB_H */
OLDNEW
« no previous file with comments | « jdsample.c ('k') | jpeglibmangler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698