• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/

Lines Matching refs:compptr

42   jpeg_component_info *compptr;
61 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
62 ci++, compptr++) {
63 if (compptr->h_samp_factor<=0 || compptr->h_samp_factor>MAX_SAMP_FACTOR ||
64 compptr->v_samp_factor<=0 || compptr->v_samp_factor>MAX_SAMP_FACTOR)
67 compptr->h_samp_factor);
69 compptr->v_samp_factor);
79 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
80 ci++, compptr++) {
81 compptr->DCT_scaled_size = DCTSIZE;
83 compptr->width_in_blocks = (JDIMENSION)
84 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
86 compptr->height_in_blocks = (JDIMENSION)
87 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
94 compptr->downsampled_width = (JDIMENSION)
95 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
97 compptr->downsampled_height = (JDIMENSION)
98 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
101 compptr->component_needed = TRUE;
103 compptr->quant_table = NULL;
125 jpeg_component_info *compptr;
130 compptr = cinfo->cur_comp_info[0];
133 cinfo->MCUs_per_row = compptr->width_in_blocks;
134 cinfo->MCU_rows_in_scan = compptr->height_in_blocks;
137 compptr->MCU_width = 1;
138 compptr->MCU_height = 1;
139 compptr->MCU_blocks = 1;
140 compptr->MCU_sample_width = compptr->DCT_scaled_size;
141 compptr->last_col_width = 1;
145 tmp = (int) (compptr->height_in_blocks % compptr->v_samp_factor);
146 if (tmp == 0) tmp = compptr->v_samp_factor;
147 compptr->last_row_height = tmp;
171 compptr = cinfo->cur_comp_info[ci];
173 compptr->MCU_width = compptr->h_samp_factor;
174 compptr->MCU_height = compptr->v_samp_factor;
175 compptr->MCU_blocks = compptr->MCU_width * compptr->MCU_height;
176 compptr->MCU_sample_width = compptr->MCU_width * compptr->DCT_scaled_size;
178 tmp = (int) (compptr->width_in_blocks % compptr->MCU_width);
179 if (tmp == 0) tmp = compptr->MCU_width;
180 compptr->last_col_width = tmp;
181 tmp = (int) (compptr->height_in_blocks % compptr->MCU_height);
182 if (tmp == 0) tmp = compptr->MCU_height;
183 compptr->last_row_height = tmp;
185 mcublks = compptr->MCU_blocks;
222 jpeg_component_info *compptr;
226 compptr = cinfo->cur_comp_info[ci];
228 if (compptr->quant_table != NULL)
231 qtblno = compptr->quant_tbl_no;
240 compptr->quant_table = qtbl;