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

Side by Side Diff: jdsample.h

Issue 1953443002: Update to libjpeg_turbo 1.4.90 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Created 4 years, 7 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 | « jdpostct.c ('k') | jdsample.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 * jdsample.h 2 * jdsample.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-1996, Thomas G. Lane. 5 * Copyright (C) 1991-1996, Thomas G. Lane.
6 * For conditions of distribution and use, see the accompanying README file. 6 * For conditions of distribution and use, see the accompanying README.ijg
7 * file.
7 */ 8 */
8 9
9 #define JPEG_INTERNALS 10 #define JPEG_INTERNALS
10 #include "jinclude.h"
11 #include "jpeglib.h" 11 #include "jpeglib.h"
12 12
13 13
14 /* Pointer to routine to upsample a single component */ 14 /* Pointer to routine to upsample a single component */
15 typedef void (*upsample1_ptr) (j_decompress_ptr cinfo, 15 typedef void (*upsample1_ptr) (j_decompress_ptr cinfo,
16 jpeg_component_info * compptr, 16 jpeg_component_info *compptr,
17 JSAMPARRAY input_data, 17 JSAMPARRAY input_data,
18 JSAMPARRAY * output_data_ptr); 18 JSAMPARRAY *output_data_ptr);
19 19
20 /* Private subobject */ 20 /* Private subobject */
21 21
22 typedef struct { 22 typedef struct {
23 struct jpeg_upsampler pub; /* public fields */ 23 struct jpeg_upsampler pub; /* public fields */
24 24
25 /* Color conversion buffer. When using separate upsampling and color 25 /* Color conversion buffer. When using separate upsampling and color
26 * conversion steps, this buffer holds one upsampled row group until it 26 * conversion steps, this buffer holds one upsampled row group until it
27 * has been color converted and output. 27 * has been color converted and output.
28 * Note: we do not allocate any storage for component(s) which are full-size, 28 * Note: we do not allocate any storage for component(s) which are full-size,
(...skipping 11 matching lines...) Expand all
40 /* Height of an input row group for each component. */ 40 /* Height of an input row group for each component. */
41 int rowgroup_height[MAX_COMPONENTS]; 41 int rowgroup_height[MAX_COMPONENTS];
42 42
43 /* These arrays save pixel expansion factors so that int_expand need not 43 /* These arrays save pixel expansion factors so that int_expand need not
44 * recompute them each time. They are unused for other upsampling methods. 44 * recompute them each time. They are unused for other upsampling methods.
45 */ 45 */
46 UINT8 h_expand[MAX_COMPONENTS]; 46 UINT8 h_expand[MAX_COMPONENTS];
47 UINT8 v_expand[MAX_COMPONENTS]; 47 UINT8 v_expand[MAX_COMPONENTS];
48 } my_upsampler; 48 } my_upsampler;
49 49
50 typedef my_upsampler * my_upsample_ptr; 50 typedef my_upsampler *my_upsample_ptr;
OLDNEW
« no previous file with comments | « jdpostct.c ('k') | jdsample.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698