Home | History | Annotate | Download | only in jpeg

Lines Matching full:dstinfo

64 			       j_compress_ptr dstinfo)
72 if (dstinfo->global_state != CSTATE_START)
73 ERREXIT1(dstinfo, JERR_BAD_STATE, dstinfo->global_state);
75 dstinfo->image_width = srcinfo->image_width;
76 dstinfo->image_height = srcinfo->image_height;
77 dstinfo->input_components = srcinfo->num_components;
78 dstinfo->in_color_space = srcinfo->jpeg_color_space;
80 jpeg_set_defaults(dstinfo);
84 jpeg_set_colorspace(dstinfo, srcinfo->jpeg_color_space);
85 dstinfo->data_precision = srcinfo->data_precision;
86 dstinfo->CCIR601_sampling = srcinfo->CCIR601_sampling;
90 qtblptr = & dstinfo->quant_tbl_ptrs[tblno];
92 *qtblptr = jpeg_alloc_quant_table((j_common_ptr) dstinfo);
102 dstinfo->num_components = srcinfo->num_components;
103 if (dstinfo->num_components < 1 || dstinfo->num_components > MAX_COMPONENTS)
104 ERREXIT2(dstinfo, JERR_COMPONENT_COUNT, dstinfo->num_components,
106 for (ci = 0, incomp = srcinfo->comp_info, outcomp = dstinfo->comp_info;
107 ci < dstinfo->num_components; ci++, incomp++, outcomp++) {
119 ERREXIT1(dstinfo, JERR_NO_QUANT_TABLE, tblno);
125 ERREXIT1(dstinfo, JERR_MISMATCHED_QUANT_TABLE, tblno);
142 dstinfo->JFIF_major_version = srcinfo->JFIF_major_version;
143 dstinfo->JFIF_minor_version = srcinfo->JFIF_minor_version;
145 dstinfo->density_unit = srcinfo->density_unit;
146 dstinfo->X_density = srcinfo->X_density;
147 dstinfo->Y_density = srcinfo->Y_density;