Home | History | Annotate | Download | only in jpeg

Lines Matching refs:cinfo

66   JMETHOD(void, upmethod, (j_decompress_ptr cinfo,
101 build_ycc_rgb_table (j_decompress_ptr cinfo)
103 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
109 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
112 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
115 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
118 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
144 start_pass_merged_upsample (j_decompress_ptr cinfo)
146 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
151 upsample->rows_to_go = cinfo->output_height;
162 merged_2v_upsample (j_decompress_ptr cinfo,
169 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
177 if (cinfo->out_color_space == JCS_RGB_565)
178 size = cinfo->output_width*2;
204 (*upsample->upmethod) (cinfo, input_buf, *in_row_group_ctr, work_ptrs);
217 merged_1v_upsample (j_decompress_ptr cinfo,
224 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
227 (*upsample->upmethod) (cinfo, input_buf, *in_row_group_ctr,
250 h2v1_merged_upsample (j_decompress_ptr cinfo,
254 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
261 register JSAMPLE * range_limit = cinfo->sample_range_limit;
273 for (col = cinfo->output_width >> 1; col > 0; col--) {
293 if (cinfo->output_width & 1) {
309 h2v1_merged_upsample_565 (j_decompress_ptr cinfo,
313 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
320 register JSAMPLE * range_limit = cinfo->sample_range_limit;
334 for (col = cinfo->output_width >> 1; col > 0; col--) {
356 if (cinfo->output_width & 1) {
373 h2v1_merged_upsample_565D (j_decompress_ptr cinfo,
377 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
384 register JSAMPLE * range_limit = cinfo->sample_range_limit;
390 INT32 d0 = dither_matrix[cinfo->output_scanline & DITHER_MASK];
400 for (col = cinfo->output_width >> 1; col > 0; col--) {
424 if (cinfo->output_width & 1) {
447 h2v2_merged_upsample (j_decompress_ptr cinfo,
451 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
458 register JSAMPLE * range_limit = cinfo->sample_range_limit;
472 for (col = cinfo->output_width >> 1; col > 0; col--) {
502 if (cinfo->output_width & 1) {
523 h2v2_merged_upsample_565 (j_decompress_ptr cinfo,
527 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
534 register JSAMPLE * range_limit = cinfo->sample_range_limit;
550 for (col = cinfo->output_width >> 1; col > 0; col--) {
584 if (cinfo->output_width & 1) {
608 h2v2_merged_upsample_565D (j_decompress_ptr cinfo,
612 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
619 register JSAMPLE * range_limit = cinfo->sample_range_limit;
625 INT32 d0 = dither_matrix[cinfo->output_scanline & DITHER_MASK];
626 INT32 d1 = dither_matrix[(cinfo->output_scanline+1) & DITHER_MASK];
638 for (col = cinfo->output_width >> 1; col > 0; col--) {
677 if (cinfo->output_width & 1) {
709 jinit_merged_upsampler (j_decompress_ptr cinfo)
714 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
716 cinfo->upsample = (struct jpeg_upsampler *) upsample;
720 upsample->out_row_width = cinfo->output_width * cinfo->out_color_components;
722 if (cinfo->max_v_samp_factor == 2) {
726 if (cinfo->out_color_space == JCS_RGB_565) {
727 if (cinfo->dither_mode == JDITHER_NONE) {
736 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE,
742 if (cinfo->out_color_space == JCS_RGB_565) {
743 if (cinfo->dither_mode == JDITHER_NONE) {
754 build_ycc_rgb_table(cinfo);