249 JDIMENSION blocks_across, MCUs_across, MCUindex;
250 int bi, ci, h_samp_factor, block_row, block_rows, ndummy;
274 ndummy = (int) (blocks_across % h_samp_factor);
276 ndummy = h_samp_factor - ndummy;
280 for (block_row = 0; block_row < block_rows; block_row++) {
281 thisblockrow =
buffer[block_row];
283 input_buf[ci], thisblockrow,
288 thisblockrow += blocks_across;
290 lastDC = thisblockrow[-1][0];
291 for (bi = 0; bi < ndummy; bi++) {
292 thisblockrow[bi][0] = lastDC;
302 blocks_across += ndummy;
303 MCUs_across = blocks_across / h_samp_factor;
306 thisblockrow =
buffer[block_row];
307 lastblockrow =
buffer[block_row-1];
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;
315 thisblockrow += h_samp_factor;
316 lastblockrow += h_samp_factor;
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