• Home
  • Raw
  • Download

Lines Matching refs:dstinfo

66 do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,  in do_flip_h()  argument
82 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); in do_flip_h()
84 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_flip_h()
85 compptr = dstinfo->comp_info + ci; in do_flip_h()
115 do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_flip_v() argument
134 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_flip_v()
136 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_flip_v()
137 compptr = dstinfo->comp_info + ci; in do_flip_v()
186 do_transpose (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_transpose() argument
202 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_transpose()
203 compptr = dstinfo->comp_info + ci; in do_transpose()
230 do_rot_90 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_rot_90() argument
249 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); in do_rot_90()
251 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_rot_90()
252 compptr = dstinfo->comp_info + ci; in do_rot_90()
294 do_rot_270 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_rot_270() argument
313 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_rot_270()
315 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_rot_270()
316 compptr = dstinfo->comp_info + ci; in do_rot_270()
358 do_rot_180 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_rot_180() argument
374 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); in do_rot_180()
375 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_rot_180()
377 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_rot_180()
378 compptr = dstinfo->comp_info + ci; in do_rot_180()
459 do_transverse (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_transverse() argument
478 MCU_cols = dstinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE); in do_transverse()
479 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_transverse()
481 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_transverse()
482 compptr = dstinfo->comp_info + ci; in do_transverse()
640 transpose_critical_parameters (j_compress_ptr dstinfo) in transpose_critical_parameters() argument
649 dtemp = dstinfo->image_width; in transpose_critical_parameters()
650 dstinfo->image_width = dstinfo->image_height; in transpose_critical_parameters()
651 dstinfo->image_height = dtemp; in transpose_critical_parameters()
654 for (ci = 0; ci < dstinfo->num_components; ci++) { in transpose_critical_parameters()
655 compptr = dstinfo->comp_info + ci; in transpose_critical_parameters()
663 qtblptr = dstinfo->quant_tbl_ptrs[tblno]; in transpose_critical_parameters()
680 trim_right_edge (j_compress_ptr dstinfo) in trim_right_edge() argument
690 for (ci = 0; ci < dstinfo->num_components; ci++) { in trim_right_edge()
691 int h_samp_factor = dstinfo->comp_info[ci].h_samp_factor; in trim_right_edge()
694 MCU_cols = dstinfo->image_width / (max_h_samp_factor * DCTSIZE); in trim_right_edge()
696 dstinfo->image_width = MCU_cols * (max_h_samp_factor * DCTSIZE); in trim_right_edge()
700 trim_bottom_edge (j_compress_ptr dstinfo) in trim_bottom_edge() argument
710 for (ci = 0; ci < dstinfo->num_components; ci++) { in trim_bottom_edge()
711 int v_samp_factor = dstinfo->comp_info[ci].v_samp_factor; in trim_bottom_edge()
714 MCU_rows = dstinfo->image_height / (max_v_samp_factor * DCTSIZE); in trim_bottom_edge()
716 dstinfo->image_height = MCU_rows * (max_v_samp_factor * DCTSIZE); in trim_bottom_edge()
733 j_compress_ptr dstinfo, in jtransform_adjust_parameters() argument
746 if ((dstinfo->jpeg_color_space == JCS_YCbCr && in jtransform_adjust_parameters()
747 dstinfo->num_components == 3) || in jtransform_adjust_parameters()
748 (dstinfo->jpeg_color_space == JCS_GRAYSCALE && in jtransform_adjust_parameters()
749 dstinfo->num_components == 1)) { in jtransform_adjust_parameters()
751 int sv_quant_tbl_no = dstinfo->comp_info[0].quant_tbl_no; in jtransform_adjust_parameters()
752 jpeg_set_colorspace(dstinfo, JCS_GRAYSCALE); in jtransform_adjust_parameters()
753 dstinfo->comp_info[0].quant_tbl_no = sv_quant_tbl_no; in jtransform_adjust_parameters()
756 ERREXIT(dstinfo, JERR_CONVERSION_NOTIMPL); in jtransform_adjust_parameters()
767 trim_right_edge(dstinfo); in jtransform_adjust_parameters()
771 trim_bottom_edge(dstinfo); in jtransform_adjust_parameters()
774 transpose_critical_parameters(dstinfo); in jtransform_adjust_parameters()
778 transpose_critical_parameters(dstinfo); in jtransform_adjust_parameters()
780 trim_right_edge(dstinfo); in jtransform_adjust_parameters()
781 trim_bottom_edge(dstinfo); in jtransform_adjust_parameters()
785 transpose_critical_parameters(dstinfo); in jtransform_adjust_parameters()
787 trim_right_edge(dstinfo); in jtransform_adjust_parameters()
791 trim_right_edge(dstinfo); in jtransform_adjust_parameters()
792 trim_bottom_edge(dstinfo); in jtransform_adjust_parameters()
796 transpose_critical_parameters(dstinfo); in jtransform_adjust_parameters()
798 trim_bottom_edge(dstinfo); in jtransform_adjust_parameters()
820 j_compress_ptr dstinfo, in jtransform_execute_transformation() argument
830 do_flip_h(srcinfo, dstinfo, src_coef_arrays); in jtransform_execute_transformation()
833 do_flip_v(srcinfo, dstinfo, src_coef_arrays, dst_coef_arrays); in jtransform_execute_transformation()
836 do_transpose(srcinfo, dstinfo, src_coef_arrays, dst_coef_arrays); in jtransform_execute_transformation()
839 do_transverse(srcinfo, dstinfo, src_coef_arrays, dst_coef_arrays); in jtransform_execute_transformation()
842 do_rot_90(srcinfo, dstinfo, src_coef_arrays, dst_coef_arrays); in jtransform_execute_transformation()
845 do_rot_180(srcinfo, dstinfo, src_coef_arrays, dst_coef_arrays); in jtransform_execute_transformation()
848 do_rot_270(srcinfo, dstinfo, src_coef_arrays, dst_coef_arrays); in jtransform_execute_transformation()
886 jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in jcopy_markers_execute() argument
897 if (dstinfo->write_JFIF_header && in jcopy_markers_execute()
906 if (dstinfo->write_Adobe_marker && in jcopy_markers_execute()
919 jpeg_write_m_header(dstinfo, marker->marker, marker->data_length); in jcopy_markers_execute()
921 jpeg_write_m_byte(dstinfo, marker->data[i]); in jcopy_markers_execute()
924 jpeg_write_marker(dstinfo, marker->marker, in jcopy_markers_execute()