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

Classes

struct  my_coef_controller
 

Macros

#define JPEG_INTERNALS
 
#define FULL_COEF_BUFFER_SUPPORTED
 

Typedefs

typedef my_coef_controllermy_coef_ptr
 

Functions

static boolean compress_data (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 
static boolean compress_first_pass (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 
static boolean compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
 
static void start_iMCU_row (j_compress_ptr cinfo)
 
static void start_pass_coef (j_compress_ptr cinfo, J_BUF_MODE pass_mode)
 
void jinit_c_coef_controller (j_compress_ptr cinfo, boolean need_full_buffer)
 

Macro Definition Documentation

#define JPEG_INTERNALS
#define FULL_COEF_BUFFER_SUPPORTED

Typedef Documentation

Function Documentation

static boolean compress_data ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)
static
144 {
145  my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
146  JDIMENSION MCU_col_num; /* index of current MCU within row */
147  JDIMENSION last_MCU_col = cinfo->MCUs_per_row - 1;
148  JDIMENSION last_iMCU_row = cinfo->total_iMCU_rows - 1;
149  int blkn, bi, ci, yindex, yoffset, blockcnt;
150  JDIMENSION ypos, xpos;
152 
153  /* Loop to write as much as one whole iMCU row */
154  for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row;
155  yoffset++) {
156  for (MCU_col_num = coef->mcu_ctr; MCU_col_num <= last_MCU_col;
157  MCU_col_num++) {
158  /* Determine where data comes from in input_buf and do the DCT thing.
159  * Each call on forward_DCT processes a horizontal row of DCT blocks
160  * as wide as an MCU; we rely on having allocated the MCU_buffer[] blocks
161  * sequentially. Dummy blocks at the right or bottom edge are filled in
162  * specially. The data in them does not matter for image reconstruction,
163  * so we fill them with values that will encode to the smallest amount of
164  * data, viz: all zeroes in the AC entries, DC entries equal to previous
165  * block's DC value. (Thanks to Thomas Kinsman for this idea.)
166  */
167  blkn = 0;
168  for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
169  compptr = cinfo->cur_comp_info[ci];
170  blockcnt = (MCU_col_num < last_MCU_col) ? compptr->MCU_width
172  xpos = MCU_col_num * compptr->MCU_sample_width;
173  ypos = yoffset * DCTSIZE; /* ypos == (yoffset+yindex) * DCTSIZE */
174  for (yindex = 0; yindex < compptr->MCU_height; yindex++) {
175  if (coef->iMCU_row_num < last_iMCU_row ||
176  yoffset+yindex < compptr->last_row_height) {
177  (*cinfo->fdct->forward_DCT) (cinfo, compptr,
178  input_buf[compptr->component_index],
179  coef->MCU_buffer[blkn],
180  ypos, xpos, (JDIMENSION) blockcnt);
181  if (blockcnt < compptr->MCU_width) {
182  /* Create some dummy blocks at the right edge of the image. */
183  jzero_far((void FAR *) coef->MCU_buffer[blkn + blockcnt],
184  (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK));
185  for (bi = blockcnt; bi < compptr->MCU_width; bi++) {
186  coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn+bi-1][0][0];
187  }
188  }
189  } else {
190  /* Create a row of dummy blocks at the bottom of the image. */
191  jzero_far((void FAR *) coef->MCU_buffer[blkn],
193  for (bi = 0; bi < compptr->MCU_width; bi++) {
194  coef->MCU_buffer[blkn+bi][0][0] = coef->MCU_buffer[blkn-1][0][0];
195  }
196  }
197  blkn += compptr->MCU_width;
198  ypos += DCTSIZE;
199  }
200  }
201  /* Try to write the MCU. In event of a suspension failure, we will
202  * re-DCT the MCU on restart (a bit inefficient, could be fixed...)
203  */
204  if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
205  /* Suspension forced; update state counters and exit */
206  coef->MCU_vert_offset = yoffset;
207  coef->mcu_ctr = MCU_col_num;
208  return FALSE;
209  }
210  }
211  /* Completed an MCU row, but perhaps not an iMCU row */
212  coef->mcu_ctr = 0;
213  }
214  /* Completed the iMCU row, advance counters for next one */
215  coef->iMCU_row_num++;
216  start_iMCU_row(cinfo);
217  return TRUE;
218 }
struct jpeg_forward_dct * fdct
Definition: jpeglib.h:407
int MCU_height
Definition: jpeglib.h:170
JDIMENSION mcu_ctr
Definition: jccoefct.cpp:38
#define SIZEOF(object)
Definition: jinclude.h:80
struct jpeg_entropy_encoder * entropy
Definition: jpeglib.h:408
jpeg_component_info * compptr
Definition: jdct.h:102
int MCU_vert_offset
Definition: jccoefct.cpp:39
#define FALSE
Definition: jpleph.cpp:69
int MCU_width
Definition: jpeglib.h:169
int component_index
Definition: jpeglib.h:126
static void start_iMCU_row(j_compress_ptr cinfo)
Definition: jccoefct.cpp:72
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
JDIMENSION total_iMCU_rows
Definition: jpeglib.h:372
JDIMENSION iMCU_row_num
Definition: jccoefct.cpp:37
static double coef[360+1][360+1][2]
Definition: physicslib.cpp:39
#define FAR
Definition: jmorecfg.h:215
#define TRUE
Definition: jpleph.cpp:68
JDIMENSION MCUs_per_row
Definition: jpeglib.h:387
JCOEF JBLOCK[64]
Definition: jpeglib.h:75
Definition: jpeglib.h:121
Definition: jccoefct.cpp:34
int MCU_sample_width
Definition: jpeglib.h:172
JBLOCKROW MCU_buffer[10]
Definition: jccoefct.cpp:51
#define DCTSIZE
Definition: jpeglib.h:46
int comps_in_scan
Definition: jpeglib.h:383
unsigned int JDIMENSION
Definition: jmorecfg.h:171
jpeg_component_info * cur_comp_info[4]
Definition: jpeglib.h:384
int last_col_width
Definition: jpeglib.h:173
void jzero_far(void *target, size_t bytestozero)
Definition: jutils.cpp:165
my_coef_controller * my_coef_ptr
Definition: jccoefct.cpp:57
static boolean compress_first_pass ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)
static
246 {
247  my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
248  JDIMENSION last_iMCU_row = cinfo->total_iMCU_rows - 1;
249  JDIMENSION blocks_across, MCUs_across, MCUindex;
250  int bi, ci, h_samp_factor, block_row, block_rows, ndummy;
251  JCOEF lastDC;
254  JBLOCKROW thisblockrow, lastblockrow;
255 
256  for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
257  ci++, compptr++) {
258  /* Align the virtual buffer for this component. */
259  buffer = (*cinfo->mem->access_virt_barray)
260  ((j_common_ptr) cinfo, coef->whole_image[ci],
263  /* Count non-dummy DCT block rows in this iMCU row. */
264  if (coef->iMCU_row_num < last_iMCU_row)
265  block_rows = compptr->v_samp_factor;
266  else {
267  /* NB: can't use last_row_height here, since may not be set! */
268  block_rows = (int) (compptr->height_in_blocks % compptr->v_samp_factor);
269  if (block_rows == 0) block_rows = compptr->v_samp_factor;
270  }
271  blocks_across = compptr->width_in_blocks;
272  h_samp_factor = compptr->h_samp_factor;
273  /* Count number of dummy blocks to be added at the right margin. */
274  ndummy = (int) (blocks_across % h_samp_factor);
275  if (ndummy > 0)
276  ndummy = h_samp_factor - ndummy;
277  /* Perform DCT for all non-dummy blocks in this iMCU row. Each call
278  * on forward_DCT processes a complete horizontal row of DCT blocks.
279  */
280  for (block_row = 0; block_row < block_rows; block_row++) {
281  thisblockrow = buffer[block_row];
282  (*cinfo->fdct->forward_DCT) (cinfo, compptr,
283  input_buf[ci], thisblockrow,
284  (JDIMENSION) (block_row * DCTSIZE),
285  (JDIMENSION) 0, blocks_across);
286  if (ndummy > 0) {
287  /* Create dummy blocks at the right edge of the image. */
288  thisblockrow += blocks_across; /* => first dummy block */
289  jzero_far((void FAR *) thisblockrow, ndummy * SIZEOF(JBLOCK));
290  lastDC = thisblockrow[-1][0];
291  for (bi = 0; bi < ndummy; bi++) {
292  thisblockrow[bi][0] = lastDC;
293  }
294  }
295  }
296  /* If at end of image, create dummy block rows as needed.
297  * The tricky part here is that within each MCU, we want the DC values
298  * of the dummy blocks to match the last real block's DC value.
299  * This squeezes a few more bytes out of the resulting file...
300  */
301  if (coef->iMCU_row_num == last_iMCU_row) {
302  blocks_across += ndummy; /* include lower right corner */
303  MCUs_across = blocks_across / h_samp_factor;
304  for (block_row = block_rows; block_row < compptr->v_samp_factor;
305  block_row++) {
306  thisblockrow = buffer[block_row];
307  lastblockrow = buffer[block_row-1];
308  jzero_far((void FAR *) thisblockrow,
309  (size_t) (blocks_across * SIZEOF(JBLOCK)));
310  for (MCUindex = 0; MCUindex < MCUs_across; MCUindex++) {
311  lastDC = lastblockrow[h_samp_factor-1][0];
312  for (bi = 0; bi < h_samp_factor; bi++) {
313  thisblockrow[bi][0] = lastDC;
314  }
315  thisblockrow += h_samp_factor; /* advance to next MCU in row */
316  lastblockrow += h_samp_factor;
317  }
318  }
319  }
320  }
321  /* NB: compress_output will increment iMCU_row_num if successful.
322  * A suspension return will result in redoing all the work above next time.
323  */
324 
325  /* Emit data to the entropy encoder, sharing code with subsequent passes */
326  return compress_output(cinfo, input_buf);
327 }
int v_samp_factor
Definition: jpeglib.h:128
JBLOCKARRAY(* access_virt_barray)()
Definition: jpeglib.h:795
struct jpeg_forward_dct * fdct
Definition: jpeglib.h:407
JBLOCKROW * JBLOCKARRAY
Definition: jpeglib.h:77
Definition: jpeglib.h:258
#define SIZEOF(object)
Definition: jinclude.h:80
short JCOEF
Definition: jmorecfg.h:99
jpeg_component_info * compptr
Definition: jdct.h:102
JDIMENSION width_in_blocks
Definition: jpeglib.h:144
JDIMENSION height_in_blocks
Definition: jpeglib.h:145
struct jpeg_memory_mgr * mem
Definition: jpeglib.h:274
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
static char buffer[255]
Definition: propagator_simple.cpp:60
JDIMENSION total_iMCU_rows
Definition: jpeglib.h:372
JDIMENSION iMCU_row_num
Definition: jccoefct.cpp:37
static double coef[360+1][360+1][2]
Definition: physicslib.cpp:39
#define FAR
Definition: jmorecfg.h:215
#define TRUE
Definition: jpleph.cpp:68
JCOEF JBLOCK[64]
Definition: jpeglib.h:75
static boolean compress_output(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Definition: jccoefct.cpp:341
Definition: jpeglib.h:121
Definition: jccoefct.cpp:34
JBLOCK * JBLOCKROW
Definition: jpeglib.h:76
#define DCTSIZE
Definition: jpeglib.h:46
int h_samp_factor
Definition: jpeglib.h:127
unsigned int JDIMENSION
Definition: jmorecfg.h:171
jvirt_barray_ptr whole_image[10]
Definition: jccoefct.cpp:54
void jzero_far(void *target, size_t bytestozero)
Definition: jutils.cpp:165
jpeg_component_info * comp_info
Definition: jpeglib.h:304
my_coef_controller * my_coef_ptr
Definition: jccoefct.cpp:57
static boolean compress_output ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf 
)
static
342 {
343  my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
344  JDIMENSION MCU_col_num; /* index of current MCU within row */
345  int blkn, ci, xindex, yindex, yoffset;
346  JDIMENSION start_col;
348  JBLOCKROW buffer_ptr;
350 
351  /* Align the virtual buffers for the components used in this scan.
352  * NB: during first pass, this is safe only because the buffers will
353  * already be aligned properly, so jmemmgr.c won't need to do any I/O.
354  */
355  for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
356  compptr = cinfo->cur_comp_info[ci];
357  buffer[ci] = (*cinfo->mem->access_virt_barray)
361  }
362 
363  /* Loop to process one whole iMCU row */
364  for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row;
365  yoffset++) {
366  for (MCU_col_num = coef->mcu_ctr; MCU_col_num < cinfo->MCUs_per_row;
367  MCU_col_num++) {
368  /* Construct list of pointers to DCT blocks belonging to this MCU */
369  blkn = 0; /* index of current DCT block within MCU */
370  for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
371  compptr = cinfo->cur_comp_info[ci];
372  start_col = MCU_col_num * compptr->MCU_width;
373  for (yindex = 0; yindex < compptr->MCU_height; yindex++) {
374  buffer_ptr = buffer[ci][yindex+yoffset] + start_col;
375  for (xindex = 0; xindex < compptr->MCU_width; xindex++) {
376  coef->MCU_buffer[blkn++] = buffer_ptr++;
377  }
378  }
379  }
380  /* Try to write the MCU. */
381  if (! (*cinfo->entropy->encode_mcu) (cinfo, coef->MCU_buffer)) {
382  /* Suspension forced; update state counters and exit */
383  coef->MCU_vert_offset = yoffset;
384  coef->mcu_ctr = MCU_col_num;
385  return FALSE;
386  }
387  }
388  /* Completed an MCU row, but perhaps not an iMCU row */
389  coef->mcu_ctr = 0;
390  }
391  /* Completed the iMCU row, advance counters for next one */
392  coef->iMCU_row_num++;
393  start_iMCU_row(cinfo);
394  return TRUE;
395 }
int v_samp_factor
Definition: jpeglib.h:128
JBLOCKARRAY(* access_virt_barray)()
Definition: jpeglib.h:795
int MCU_height
Definition: jpeglib.h:170
JBLOCKROW * JBLOCKARRAY
Definition: jpeglib.h:77
JDIMENSION mcu_ctr
Definition: jccoefct.cpp:38
Definition: jpeglib.h:258
struct jpeg_entropy_encoder * entropy
Definition: jpeglib.h:408
jpeg_component_info * compptr
Definition: jdct.h:102
int MCU_vert_offset
Definition: jccoefct.cpp:39
#define FALSE
Definition: jpleph.cpp:69
int MCU_width
Definition: jpeglib.h:169
int component_index
Definition: jpeglib.h:126
static void start_iMCU_row(j_compress_ptr cinfo)
Definition: jccoefct.cpp:72
struct jpeg_memory_mgr * mem
Definition: jpeglib.h:274
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
static char buffer[255]
Definition: propagator_simple.cpp:60
JDIMENSION iMCU_row_num
Definition: jccoefct.cpp:37
static double coef[360+1][360+1][2]
Definition: physicslib.cpp:39
#define TRUE
Definition: jpleph.cpp:68
Definition: jpeglib.h:121
Definition: jccoefct.cpp:34
JBLOCKROW MCU_buffer[10]
Definition: jccoefct.cpp:51
JBLOCK * JBLOCKROW
Definition: jpeglib.h:76
int comps_in_scan
Definition: jpeglib.h:383
unsigned int JDIMENSION
Definition: jmorecfg.h:171
jpeg_component_info * cur_comp_info[4]
Definition: jpeglib.h:384
jvirt_barray_ptr whole_image[10]
Definition: jccoefct.cpp:54
#define MAX_COMPS_IN_SCAN
Definition: jpeglib.h:51
my_coef_controller * my_coef_ptr
Definition: jccoefct.cpp:57
static void start_iMCU_row ( j_compress_ptr  cinfo)
static
74 {
75  my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
76 
77  /* In an interleaved scan, an MCU row is the same as an iMCU row.
78  * In a noninterleaved scan, an iMCU row has v_samp_factor MCU rows.
79  * But at the bottom of the image, process only what's left.
80  */
81  if (cinfo->comps_in_scan > 1) {
82  coef->MCU_rows_per_iMCU_row = 1;
83  } else {
84  if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1))
86  else
88  }
89 
90  coef->mcu_ctr = 0;
91  coef->MCU_vert_offset = 0;
92 }
int v_samp_factor
Definition: jpeglib.h:128
JDIMENSION mcu_ctr
Definition: jccoefct.cpp:38
int MCU_vert_offset
Definition: jccoefct.cpp:39
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
JDIMENSION total_iMCU_rows
Definition: jpeglib.h:372
int last_row_height
Definition: jpeglib.h:174
JDIMENSION iMCU_row_num
Definition: jccoefct.cpp:37
static double coef[360+1][360+1][2]
Definition: physicslib.cpp:39
Definition: jccoefct.cpp:34
int comps_in_scan
Definition: jpeglib.h:383
jpeg_component_info * cur_comp_info[4]
Definition: jpeglib.h:384
int MCU_rows_per_iMCU_row
Definition: jccoefct.cpp:40
my_coef_controller * my_coef_ptr
Definition: jccoefct.cpp:57
static void start_pass_coef ( j_compress_ptr  cinfo,
J_BUF_MODE  pass_mode 
)
static
101 {
102  my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
103 
104  coef->iMCU_row_num = 0;
105  start_iMCU_row(cinfo);
106 
107  switch (pass_mode) {
108  case JBUF_PASS_THRU:
109  if (coef->whole_image[0] != NULL)
111  coef->pub.compress_data = compress_data;
112  break;
113 #ifdef FULL_COEF_BUFFER_SUPPORTED
114  case JBUF_SAVE_AND_PASS:
115  if (coef->whole_image[0] == NULL)
117  coef->pub.compress_data = compress_first_pass;
118  break;
119  case JBUF_CRANK_DEST:
120  if (coef->whole_image[0] == NULL)
122  coef->pub.compress_data = compress_output;
123  break;
124 #endif
125  default:
127  break;
128  }
129 }
Definition: jerror.h:46
Definition: jpegint.h:20
Definition: jpegint.h:21
#define ERREXIT(cinfo, code)
Definition: jerror.h:205
static boolean compress_first_pass(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Definition: jccoefct.cpp:245
struct jpeg_c_coef_controller pub
Definition: jccoefct.cpp:35
static void start_iMCU_row(j_compress_ptr cinfo)
Definition: jccoefct.cpp:72
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
JDIMENSION iMCU_row_num
Definition: jccoefct.cpp:37
static double coef[360+1][360+1][2]
Definition: physicslib.cpp:39
static boolean compress_output(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Definition: jccoefct.cpp:341
Definition: jccoefct.cpp:34
static boolean compress_data(j_compress_ptr cinfo, JSAMPIMAGE input_buf)
Definition: jccoefct.cpp:143
Definition: jpegint.h:17
jvirt_barray_ptr whole_image[10]
Definition: jccoefct.cpp:54
my_coef_controller * my_coef_ptr
Definition: jccoefct.cpp:57
void jinit_c_coef_controller ( j_compress_ptr  cinfo,
boolean  need_full_buffer 
)
406 {
408 
409  coef = (my_coef_ptr)
410  (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
412  cinfo->coef = (struct jpeg_c_coef_controller *) coef;
413  coef->pub.start_pass = start_pass_coef;
414 
415  /* Create the coefficient buffer. */
416  if (need_full_buffer) {
417 #ifdef FULL_COEF_BUFFER_SUPPORTED
418  /* Allocate a full-image virtual array for each component, */
419  /* padded to a multiple of samp_factor DCT blocks in each direction. */
420  int ci;
422 
423  for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
424  ci++, compptr++) {
425  coef->whole_image[ci] = (*cinfo->mem->request_virt_barray)
426  ((j_common_ptr) cinfo, JPOOL_IMAGE, FALSE,
427  (JDIMENSION) jround_up((long) compptr->width_in_blocks,
428  (long) compptr->h_samp_factor),
429  (JDIMENSION) jround_up((long) compptr->height_in_blocks,
430  (long) compptr->v_samp_factor),
431  (JDIMENSION) compptr->v_samp_factor);
432  }
433 #else
435 #endif
436  } else {
437  /* We only need a single-MCU buffer. */
439  int i;
440 
441  buffer = (JBLOCKROW)
442  (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE,
444  for (i = 0; i < C_MAX_BLOCKS_IN_MCU; i++) {
445  coef->MCU_buffer[i] = buffer + i;
446  }
447  coef->whole_image[0] = NULL; /* flag for no virtual arrays */
448  }
449 }
int v_samp_factor
Definition: jpeglib.h:128
Definition: jerror.h:46
int i
Definition: rw_test.cpp:37
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:266
void *(* alloc_small)()
Definition: jpeglib.h:764
long jround_up(long a, long b)
Definition: jutils.cpp:81
#define ERREXIT(cinfo, code)
Definition: jerror.h:205
Definition: jpeglib.h:258
#define SIZEOF(object)
Definition: jinclude.h:80
boolean need_full_buffer
Definition: jpegint.h:338
jpeg_component_info * compptr
Definition: jdct.h:102
JDIMENSION width_in_blocks
Definition: jpeglib.h:144
#define JPOOL_IMAGE
Definition: jpeglib.h:754
struct jpeg_c_coef_controller pub
Definition: jccoefct.cpp:35
#define FALSE
Definition: jpleph.cpp:69
static void start_pass_coef(j_compress_ptr cinfo, J_BUF_MODE pass_mode)
Definition: jccoefct.cpp:100
JDIMENSION height_in_blocks
Definition: jpeglib.h:145
struct jpeg_memory_mgr * mem
Definition: jpeglib.h:274
struct jpeg_c_coef_controller * coef
Definition: jpeglib.h:403
Definition: jpegint.h:76
static char buffer[255]
Definition: propagator_simple.cpp:60
#define C_MAX_BLOCKS_IN_MCU
Definition: jpeglib.h:60
static double coef[360+1][360+1][2]
Definition: physicslib.cpp:39
JCOEF JBLOCK[64]
Definition: jpeglib.h:75
Definition: jpeglib.h:121
Definition: jccoefct.cpp:34
JBLOCKROW MCU_buffer[10]
Definition: jccoefct.cpp:51
JBLOCK * JBLOCKROW
Definition: jpeglib.h:76
void *(* alloc_large)()
Definition: jpeglib.h:766
int h_samp_factor
Definition: jpeglib.h:127
jvirt_barray_ptr(* request_virt_barray)()
Definition: jpeglib.h:784
unsigned int JDIMENSION
Definition: jmorecfg.h:171
jvirt_barray_ptr whole_image[10]
Definition: jccoefct.cpp:54
jpeg_component_info * comp_info
Definition: jpeglib.h:304
my_coef_controller * my_coef_ptr
Definition: jccoefct.cpp:57