293 register int y, cred, cgreen, cblue;
296 JSAMPROW inptr00, inptr01, inptr1, inptr2;
302 int32_t * Crgtab = upsample->
Cr_g_tab;
303 int32_t * Cbgtab = upsample->
Cb_g_tab;
306 inptr00 = input_buf[0][in_row_group_ctr*2];
307 inptr01 = input_buf[0][in_row_group_ctr*2 + 1];
308 inptr1 = input_buf[1][in_row_group_ctr];
309 inptr2 = input_buf[2][in_row_group_ctr];
322 outptr0[RGB_RED] = range_limit[y + cred];
323 outptr0[RGB_GREEN] = range_limit[y + cgreen];
324 outptr0[RGB_BLUE] = range_limit[y + cblue];
325 outptr0 += RGB_PIXELSIZE;
327 outptr0[RGB_RED] = range_limit[y + cred];
328 outptr0[RGB_GREEN] = range_limit[y + cgreen];
329 outptr0[RGB_BLUE] = range_limit[y + cblue];
330 outptr0 += RGB_PIXELSIZE;
332 outptr1[RGB_RED] = range_limit[y + cred];
333 outptr1[RGB_GREEN] = range_limit[y + cgreen];
334 outptr1[RGB_BLUE] = range_limit[y + cblue];
335 outptr1 += RGB_PIXELSIZE;
337 outptr1[RGB_RED] = range_limit[y + cred];
338 outptr1[RGB_GREEN] = range_limit[y + cgreen];
339 outptr1[RGB_BLUE] = range_limit[y + cblue];
340 outptr1 += RGB_PIXELSIZE;
350 outptr0[RGB_RED] = range_limit[y + cred];
351 outptr0[RGB_GREEN] = range_limit[y + cgreen];
352 outptr0[RGB_BLUE] = range_limit[y + cblue];
354 outptr1[RGB_RED] = range_limit[y + cred];
355 outptr1[RGB_GREEN] = range_limit[y + cgreen];
356 outptr1[RGB_BLUE] = range_limit[y + cblue];
char JSAMPLE
Definition: jmorecfg.h:64
#define GETJSAMPLE(value)
Definition: jmorecfg.h:68
JDIMENSION output_width
Definition: jpeglib.h:464
int * Cr_r_tab
Definition: jdmerge.cpp:53
#define SHIFT_TEMPS
Definition: jpegint.h:289
JSAMPLE * JSAMPROW
Definition: jpeglib.h:71
int32_t * Cb_g_tab
Definition: jdmerge.cpp:56
int * Cb_b_tab
Definition: jdmerge.cpp:54
#define SCALEBITS
Definition: jdmerge.cpp:72
JSAMPLE * sample_range_limit
Definition: jpeglib.h:594
Definition: jdmerge.cpp:44
struct jpeg_upsampler * upsample
Definition: jpeglib.h:632
#define RIGHT_SHIFT(x, shft)
Definition: jpegint.h:290
int32_t * Cr_g_tab
Definition: jdmerge.cpp:55
my_upsampler * my_upsample_ptr
Definition: jdmerge.cpp:70
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
Definition: jdct.h:102
unsigned int JDIMENSION
Definition: jmorecfg.h:171