COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
jdsample.cpp File Reference
#include "jinclude.h"
#include "jpeglib.h"
Include dependency graph for jdsample.cpp:

Classes

struct  my_upsampler
 

Macros

#define JPEG_INTERNALS
 

Typedefs

typedef void(* upsample1_ptr) (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
typedef my_upsamplermy_upsample_ptr
 

Functions

static void start_pass_upsample (j_decompress_ptr cinfo)
 
static void sep_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION *in_row_group_ctr, JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 
static void fullsize_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
static void noop_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
static void int_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
static void h2v1_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
static void h2v2_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
static void h2v1_fancy_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
static void h2v2_fancy_upsample (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
 
void jinit_upsampler (j_decompress_ptr cinfo)
 

Macro Definition Documentation

#define JPEG_INTERNALS

Typedef Documentation

typedef void(* upsample1_ptr) (j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)

Function Documentation

static void start_pass_upsample ( j_decompress_ptr  cinfo)
static
70 {
71  my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
72 
73  /* Mark the conversion buffer empty */
74  upsample->next_row_out = cinfo->max_v_samp_factor;
75  /* Initialize total-height counter for detecting bottom of image */
76  upsample->rows_to_go = cinfo->output_height;
77 }
JDIMENSION output_height
Definition: jpeglib.h:465
my_upsampler * my_upsample_ptr
Definition: jdsample.cpp:61
int next_row_out
Definition: jdsample.cpp:48
JDIMENSION rows_to_go
Definition: jdmerge.cpp:67
Definition: jdmerge.cpp:44
int max_v_samp_factor
Definition: jpeglib.h:581
struct jpeg_upsampler * upsample
Definition: jpeglib.h:632
static void sep_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION in_row_group_ctr,
JDIMENSION  in_row_groups_avail,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)
static
94 {
95  my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
96  int ci;
99 
100  /* Fill the conversion buffer, if it's empty */
101  if (upsample->next_row_out >= cinfo->max_v_samp_factor) {
102  for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
103  ci++, compptr++) {
104  /* Invoke per-component upsample method. Notice we pass a POINTER
105  * to color_buf[ci], so that fullsize_upsample can change it.
106  */
107  (*upsample->methods[ci]) (cinfo, compptr,
108  input_buf[ci] + (*in_row_group_ctr * upsample->rowgroup_height[ci]),
109  upsample->color_buf + ci);
110  }
111  upsample->next_row_out = 0;
112  }
113 
114  /* Color-convert and emit rows */
115 
116  /* How many we have in the buffer: */
117  num_rows = (JDIMENSION) (cinfo->max_v_samp_factor - upsample->next_row_out);
118  /* Not more than the distance to the end of the image. Need this test
119  * in case the image height is not a multiple of max_v_samp_factor:
120  */
121  if (num_rows > upsample->rows_to_go)
122  num_rows = upsample->rows_to_go;
123  /* And not more than what the client can accept: */
124  out_rows_avail -= *out_row_ctr;
125  if (num_rows > out_rows_avail)
126  num_rows = out_rows_avail;
127 
128  (*cinfo->cconvert->color_convert) (cinfo, upsample->color_buf,
129  (JDIMENSION) upsample->next_row_out,
130  output_buf + *out_row_ctr,
131  (int) num_rows);
132 
133  /* Adjust counts */
134  *out_row_ctr += num_rows;
135  upsample->rows_to_go -= num_rows;
136  upsample->next_row_out += num_rows;
137  /* When the buffer is emptied, declare this input row group consumed */
138  if (upsample->next_row_out >= cinfo->max_v_samp_factor)
139  (*in_row_group_ctr)++;
140 }
my_upsampler * my_upsample_ptr
Definition: jdsample.cpp:61
jpeg_component_info * comp_info
Definition: jpeglib.h:540
int next_row_out
Definition: jdsample.cpp:48
int rowgroup_height[10]
Definition: jdsample.cpp:52
jpeg_component_info * compptr
Definition: jdct.h:102
JDIMENSION rows_to_go
Definition: jdmerge.cpp:67
int JSAMPARRAY int int num_rows
Definition: jpegint.h:373
Definition: jdmerge.cpp:44
int max_v_samp_factor
Definition: jpeglib.h:581
struct jpeg_color_deconverter * cconvert
Definition: jpeglib.h:633
Definition: jpeglib.h:121
JSAMPARRAY color_buf[10]
Definition: jdsample.cpp:43
upsample1_ptr methods[10]
Definition: jdsample.cpp:46
struct jpeg_upsampler * upsample
Definition: jpeglib.h:632
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
Definition: jdct.h:102
unsigned int JDIMENSION
Definition: jmorecfg.h:171
static void fullsize_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
159 {
160  *output_data_ptr = input_data;
161 }
static void noop_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
172 {
173  *output_data_ptr = NULL; /* safety check */
174 }
static void int_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
191 {
192  my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
193  JSAMPARRAY output_data = *output_data_ptr;
194  register JSAMPROW inptr, outptr;
195  register JSAMPLE invalue;
196  register int h;
197  JSAMPROW outend;
198  int h_expand, v_expand;
199  int inrow, outrow;
200 
201  h_expand = upsample->h_expand[compptr->component_index];
202  v_expand = upsample->v_expand[compptr->component_index];
203 
204  inrow = outrow = 0;
205  while (outrow < cinfo->max_v_samp_factor) {
206  /* Generate one output row with proper horizontal expansion */
207  inptr = input_data[inrow];
208  outptr = output_data[outrow];
209  outend = outptr + cinfo->output_width;
210  while (outptr < outend) {
211  invalue = *inptr++; /* don't need GETJSAMPLE() here */
212  for (h = h_expand; h > 0; h--) {
213  *outptr++ = invalue;
214  }
215  }
216  /* Generate any additional output rows by duplicating the first one */
217  if (v_expand > 1) {
218  jcopy_sample_rows(output_data, outrow, output_data, outrow+1,
219  v_expand-1, cinfo->output_width);
220  }
221  inrow++;
222  outrow += v_expand;
223  }
224 }
char JSAMPLE
Definition: jmorecfg.h:64
Definition: eci2kep_test.cpp:33
my_upsampler * my_upsample_ptr
Definition: jdsample.cpp:61
void jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
Definition: jutils.cpp:111
JDIMENSION output_width
Definition: jpeglib.h:464
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
int component_index
Definition: jpeglib.h:126
uint8_t h_expand[10]
Definition: jdsample.cpp:57
Definition: jdmerge.cpp:44
JSAMPROW * JSAMPARRAY
Definition: jpeglib.h:72
struct jpeg_upsampler * upsample
Definition: jpeglib.h:632
uint8_t v_expand[10]
Definition: jdsample.cpp:58
static void h2v1_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
235 {
236  JSAMPARRAY output_data = *output_data_ptr;
237  register JSAMPROW inptr, outptr;
238  register JSAMPLE invalue;
239  JSAMPROW outend;
240  int inrow;
241 
242  for (inrow = 0; inrow < cinfo->max_v_samp_factor; inrow++) {
243  inptr = input_data[inrow];
244  outptr = output_data[inrow];
245  outend = outptr + cinfo->output_width;
246  while (outptr < outend) {
247  invalue = *inptr++; /* don't need GETJSAMPLE() here */
248  *outptr++ = invalue;
249  *outptr++ = invalue;
250  }
251  }
252 }
char JSAMPLE
Definition: jmorecfg.h:64
JDIMENSION output_width
Definition: jpeglib.h:464
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
int max_v_samp_factor
Definition: jpeglib.h:581
JSAMPROW * JSAMPARRAY
Definition: jpeglib.h:72
static void h2v2_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
263 {
264  JSAMPARRAY output_data = *output_data_ptr;
265  register JSAMPROW inptr, outptr;
266  register JSAMPLE invalue;
267  JSAMPROW outend;
268  int inrow, outrow;
269 
270  inrow = outrow = 0;
271  while (outrow < cinfo->max_v_samp_factor) {
272  inptr = input_data[inrow];
273  outptr = output_data[outrow];
274  outend = outptr + cinfo->output_width;
275  while (outptr < outend) {
276  invalue = *inptr++; /* don't need GETJSAMPLE() here */
277  *outptr++ = invalue;
278  *outptr++ = invalue;
279  }
280  jcopy_sample_rows(output_data, outrow, output_data, outrow+1,
281  1, cinfo->output_width);
282  inrow++;
283  outrow += 2;
284  }
285 }
char JSAMPLE
Definition: jmorecfg.h:64
void jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
Definition: jutils.cpp:111
JDIMENSION output_width
Definition: jpeglib.h:464
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
JSAMPROW * JSAMPARRAY
Definition: jpeglib.h:72
static void h2v1_fancy_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
306 {
307  JSAMPARRAY output_data = *output_data_ptr;
308  register JSAMPROW inptr, outptr;
309  register int invalue;
310  register JDIMENSION colctr;
311  int inrow;
312 
313  for (inrow = 0; inrow < cinfo->max_v_samp_factor; inrow++) {
314  inptr = input_data[inrow];
315  outptr = output_data[inrow];
316  /* Special case for first column */
317  invalue = GETJSAMPLE(*inptr++);
318  *outptr++ = (JSAMPLE) invalue;
319  *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(*inptr) + 2) >> 2);
320 
321  for (colctr = compptr->downsampled_width - 2; colctr > 0; colctr--) {
322  /* General case: 3/4 * nearer pixel + 1/4 * further pixel */
323  invalue = GETJSAMPLE(*inptr++) * 3;
324  *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(inptr[-2]) + 1) >> 2);
325  *outptr++ = (JSAMPLE) ((invalue + GETJSAMPLE(*inptr) + 2) >> 2);
326  }
327 
328  /* Special case for last column */
329  invalue = GETJSAMPLE(*inptr);
330  *outptr++ = (JSAMPLE) ((invalue * 3 + GETJSAMPLE(inptr[-1]) + 1) >> 2);
331  *outptr++ = (JSAMPLE) invalue;
332  }
333 }
char JSAMPLE
Definition: jmorecfg.h:64
JDIMENSION downsampled_width
Definition: jpeglib.h:159
#define GETJSAMPLE(value)
Definition: jmorecfg.h:68
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
int max_v_samp_factor
Definition: jpeglib.h:581
JSAMPROW * JSAMPARRAY
Definition: jpeglib.h:72
unsigned int JDIMENSION
Definition: jmorecfg.h:171
static void h2v2_fancy_upsample ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY output_data_ptr 
)
static
347 {
348  JSAMPARRAY output_data = *output_data_ptr;
349  register JSAMPROW inptr0, inptr1, outptr;
350 #if BITS_IN_JSAMPLE == 8
351  register int thiscolsum, lastcolsum, nextcolsum;
352 #else
353  register int32_t thiscolsum, lastcolsum, nextcolsum;
354 #endif
355  register JDIMENSION colctr;
356  int inrow, outrow, v;
357 
358  inrow = outrow = 0;
359  while (outrow < cinfo->max_v_samp_factor) {
360  for (v = 0; v < 2; v++) {
361  /* inptr0 points to nearest input row, inptr1 points to next nearest */
362  inptr0 = input_data[inrow];
363  if (v == 0) /* next nearest is row above */
364  inptr1 = input_data[inrow-1];
365  else /* next nearest is row below */
366  inptr1 = input_data[inrow+1];
367  outptr = output_data[outrow++];
368 
369  /* Special case for first column */
370  thiscolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++);
371  nextcolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++);
372  *outptr++ = (JSAMPLE) ((thiscolsum * 4 + 8) >> 4);
373  *outptr++ = (JSAMPLE) ((thiscolsum * 3 + nextcolsum + 7) >> 4);
374  lastcolsum = thiscolsum; thiscolsum = nextcolsum;
375 
376  for (colctr = compptr->downsampled_width - 2; colctr > 0; colctr--) {
377  /* General case: 3/4 * nearer pixel + 1/4 * further pixel in each */
378  /* dimension, thus 9/16, 3/16, 3/16, 1/16 overall */
379  nextcolsum = GETJSAMPLE(*inptr0++) * 3 + GETJSAMPLE(*inptr1++);
380  *outptr++ = (JSAMPLE) ((thiscolsum * 3 + lastcolsum + 8) >> 4);
381  *outptr++ = (JSAMPLE) ((thiscolsum * 3 + nextcolsum + 7) >> 4);
382  lastcolsum = thiscolsum; thiscolsum = nextcolsum;
383  }
384 
385  /* Special case for last column */
386  *outptr++ = (JSAMPLE) ((thiscolsum * 3 + lastcolsum + 8) >> 4);
387  *outptr++ = (JSAMPLE) ((thiscolsum * 4 + 7) >> 4);
388  }
389  inrow++;
390  }
391 }
char JSAMPLE
Definition: jmorecfg.h:64
JDIMENSION downsampled_width
Definition: jpeglib.h:159
#define GETJSAMPLE(value)
Definition: jmorecfg.h:68
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
JSAMPROW * JSAMPARRAY
Definition: jpeglib.h:72
unsigned int JDIMENSION
Definition: jmorecfg.h:171
void jinit_upsampler ( j_decompress_ptr  cinfo)
400 {
401  my_upsample_ptr upsample;
402  int ci;
404  boolean need_buffer, do_fancy;
405  int h_in_group, v_in_group, h_out_group, v_out_group;
406 
407  upsample = (my_upsample_ptr)
408  (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
410  cinfo->upsample = (struct jpeg_upsampler *) upsample;
411  upsample->pub.start_pass = start_pass_upsample;
412  upsample->pub.upsample = sep_upsample;
413  upsample->pub.need_context_rows = FALSE; /* until we find out differently */
414 
415  if (cinfo->CCIR601_sampling) /* this isn't supported */
417 
418  /* jdmainct.c doesn't support context rows when min_DCT_scaled_size = 1,
419  * so don't ask for it.
420  */
421  do_fancy = cinfo->do_fancy_upsampling && cinfo->min_DCT_scaled_size > 1;
422 
423  /* Verify we can handle the sampling factors, select per-component methods,
424  * and create storage as needed.
425  */
426  for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
427  ci++, compptr++) {
428  /* Compute size of an "input group" after IDCT scaling. This many samples
429  * are to be converted to max_h_samp_factor * max_v_samp_factor pixels.
430  */
431  h_in_group = (compptr->h_samp_factor * compptr->DCT_scaled_size) /
432  cinfo->min_DCT_scaled_size;
433  v_in_group = (compptr->v_samp_factor * compptr->DCT_scaled_size) /
434  cinfo->min_DCT_scaled_size;
435  h_out_group = cinfo->max_h_samp_factor;
436  v_out_group = cinfo->max_v_samp_factor;
437  upsample->rowgroup_height[ci] = v_in_group; /* save for use later */
438  need_buffer = TRUE;
439  if (! compptr->component_needed) {
440  /* Don't bother to upsample an uninteresting component. */
441  upsample->methods[ci] = noop_upsample;
442  need_buffer = FALSE;
443  } else if (h_in_group == h_out_group && v_in_group == v_out_group) {
444  /* Fullsize components can be processed without any work. */
445  upsample->methods[ci] = fullsize_upsample;
446  need_buffer = FALSE;
447  } else if (h_in_group * 2 == h_out_group &&
448  v_in_group == v_out_group) {
449  /* Special cases for 2h1v upsampling */
450  if (do_fancy && compptr->downsampled_width > 2)
451  upsample->methods[ci] = h2v1_fancy_upsample;
452  else
453  upsample->methods[ci] = h2v1_upsample;
454  } else if (h_in_group * 2 == h_out_group &&
455  v_in_group * 2 == v_out_group) {
456  /* Special cases for 2h2v upsampling */
457  if (do_fancy && compptr->downsampled_width > 2) {
458  upsample->methods[ci] = h2v2_fancy_upsample;
459  upsample->pub.need_context_rows = TRUE;
460  } else
461  upsample->methods[ci] = h2v2_upsample;
462  } else if ((h_out_group % h_in_group) == 0 &&
463  (v_out_group % v_in_group) == 0) {
464  /* Generic integral-factors upsampling method */
465  upsample->methods[ci] = int_upsample;
466  upsample->h_expand[ci] = (uint8_t) (h_out_group / h_in_group);
467  upsample->v_expand[ci] = (uint8_t) (v_out_group / v_in_group);
468  } else
470  if (need_buffer) {
471  upsample->color_buf[ci] = (*cinfo->mem->alloc_sarray)
472  ((j_common_ptr) cinfo, JPOOL_IMAGE,
473  (JDIMENSION) jround_up((long) cinfo->output_width,
474  (long) cinfo->max_h_samp_factor),
475  (JDIMENSION) cinfo->max_v_samp_factor);
476  }
477  }
478 }
static void h2v2_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:261
int v_samp_factor
Definition: jpeglib.h:128
JDIMENSION downsampled_width
Definition: jpeglib.h:159
static void start_pass_upsample(j_decompress_ptr cinfo)
Definition: jdsample.cpp:69
my_upsampler * my_upsample_ptr
Definition: jdsample.cpp:61
jpeg_component_info * comp_info
Definition: jpeglib.h:540
boolean do_fancy_upsampling
Definition: jpeglib.h:445
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:266
int min_DCT_scaled_size
Definition: jpeglib.h:583
void *(* alloc_small)()
Definition: jpeglib.h:764
long jround_up(long a, long b)
Definition: jutils.cpp:81
int DCT_scaled_size
Definition: jpeglib.h:152
#define ERREXIT(cinfo, code)
Definition: jerror.h:205
Definition: jpeglib.h:258
JDIMENSION output_width
Definition: jpeglib.h:464
#define SIZEOF(object)
Definition: jinclude.h:80
Definition: jpegint.h:232
boolean component_needed
Definition: jpeglib.h:165
struct jpeg_upsampler pub
Definition: jdmerge.cpp:45
int rowgroup_height[10]
Definition: jdsample.cpp:52
jpeg_component_info * compptr
Definition: jdct.h:102
#define JPOOL_IMAGE
Definition: jpeglib.h:754
static void sep_upsample(j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION *in_row_group_ctr, JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
Definition: jdsample.cpp:89
int max_h_samp_factor
Definition: jpeglib.h:580
struct jpeg_memory_mgr * mem
Definition: jpeglib.h:417
#define FALSE
Definition: jpleph.cpp:69
static void h2v1_fancy_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:304
#define TRUE
Definition: jpleph.cpp:68
uint8_t h_expand[10]
Definition: jdsample.cpp:57
Definition: jdmerge.cpp:44
int max_v_samp_factor
Definition: jpeglib.h:581
static void h2v1_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:233
boolean CCIR601_sampling
Definition: jpeglib.h:565
Definition: jpeglib.h:121
Definition: jerror.h:71
JSAMPARRAY color_buf[10]
Definition: jdsample.cpp:43
upsample1_ptr methods[10]
Definition: jdsample.cpp:46
struct jpeg_upsampler * upsample
Definition: jpeglib.h:632
Definition: jerror.h:84
static void int_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:189
boolean need_context_rows
Definition: jpegint.h:242
int h_samp_factor
Definition: jpeglib.h:127
uint8_t v_expand[10]
Definition: jdsample.cpp:58
static void noop_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:170
JSAMPARRAY(* alloc_sarray)()
Definition: jpeglib.h:769
unsigned int JDIMENSION
Definition: jmorecfg.h:171
static void h2v2_fancy_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:345
static void fullsize_upsample(j_decompress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY *output_data_ptr)
Definition: jdsample.cpp:157