• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/jpeg-7/

Lines Matching refs:compptr

44   jpeg_component_info *compptr;
63 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
64 ci++, compptr++) {
65 if (compptr->h_samp_factor<=0 || compptr->h_samp_factor>MAX_SAMP_FACTOR ||
66 compptr->v_samp_factor<=0 || compptr->v_samp_factor>MAX_SAMP_FACTOR)
69 compptr->h_samp_factor);
71 compptr->v_samp_factor);
82 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
83 ci++, compptr++) {
84 compptr->DCT_h_scaled_size = DCTSIZE;
85 compptr->DCT_v_scaled_size = DCTSIZE;
87 compptr->width_in_blocks = (JDIMENSION)
88 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
90 compptr->height_in_blocks = (JDIMENSION)
91 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
98 compptr->downsampled_width = (JDIMENSION)
99 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
101 compptr->downsampled_height = (JDIMENSION)
102 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
105 compptr->component_needed = TRUE;
107 compptr->quant_table = NULL;
129 jpeg_component_info *compptr;
134 compptr = cinfo->cur_comp_info[0];
137 cinfo->MCUs_per_row = compptr->width_in_blocks;
138 cinfo->MCU_rows_in_scan = compptr->height_in_blocks;
141 compptr->MCU_width = 1;
142 compptr->MCU_height = 1;
143 compptr->MCU_blocks = 1;
144 compptr->MCU_sample_width = compptr->DCT_h_scaled_size;
145 compptr->last_col_width = 1;
149 tmp = (int) (compptr->height_in_blocks % compptr->v_samp_factor);
150 if (tmp == 0) tmp = compptr->v_samp_factor;
151 compptr->last_row_height = tmp;
175 compptr = cinfo->cur_comp_info[ci];
177 compptr->MCU_width = compptr->h_samp_factor;
178 compptr->MCU_height = compptr->v_samp_factor;
179 compptr->MCU_blocks = compptr->MCU_width * compptr->MCU_height;
180 compptr->MCU_sample_width = compptr->MCU_width * compptr->DCT_h_scaled_size;
182 tmp = (int) (compptr->width_in_blocks % compptr->MCU_width);
183 if (tmp == 0) tmp = compptr->MCU_width;
184 compptr->last_col_width = tmp;
185 tmp = (int) (compptr->height_in_blocks % compptr->MCU_height);
186 if (tmp == 0) tmp = compptr->MCU_height;
187 compptr->last_row_height = tmp;
189 mcublks = compptr->MCU_blocks;
226 jpeg_component_info *compptr;
230 compptr = cinfo->cur_comp_info[ci];
232 if (compptr->quant_table != NULL)
235 qtblno = compptr->quant_tbl_no;
244 compptr->quant_table = qtbl;