Home | History | Annotate | Download | only in libjpeg_turbo

Lines Matching refs:cquantize

210   my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
213 register hist3d histogram = cquantize->histogram;
300 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
301 hist3d histogram = cquantize->histogram;
488 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
489 hist3d histogram = cquantize->histogram;
844 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
845 hist3d histogram = cquantize->histogram;
903 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
904 hist3d histogram = cquantize->histogram;
937 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
938 hist3d histogram = cquantize->histogram;
952 int *error_limit = cquantize->error_limiter;
961 if (cquantize->on_odd_row) {
967 errorptr = cquantize->fserrors + (width+1)*3; /* => entry after last column */
968 cquantize->on_odd_row = FALSE; /* flip for next time */
973 errorptr = cquantize->fserrors; /* => entry before first real column */
974 cquantize->on_odd_row = TRUE; /* flip for next time */
1095 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1102 cquantize->error_limiter = table;
1129 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1132 cinfo->colormap = cquantize->sv_colormap;
1133 select_colors(cinfo, cquantize->desired);
1135 cquantize->needs_zeroed = TRUE;
1153 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1154 hist3d histogram = cquantize->histogram;
1164 cquantize->pub.color_quantize = prescan_quantize;
1165 cquantize->pub.finish_pass = finish_pass1;
1166 cquantize->needs_zeroed = TRUE; /* Always zero histogram */
1170 cquantize->pub.color_quantize = pass2_fs_dither;
1172 cquantize->pub.color_quantize = pass2_no_dither;
1173 cquantize->pub.finish_pass = finish_pass2;
1186 if (cquantize->fserrors == NULL)
1187 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large)
1190 jzero_far((void FAR *) cquantize->fserrors, arraysize);
1192 if (cquantize->error_limiter == NULL)
1194 cquantize->on_odd_row = FALSE;
1199 if (cquantize->needs_zeroed) {
1204 cquantize->needs_zeroed = FALSE;
1216 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1219 cquantize->needs_zeroed = TRUE;
1230 my_cquantize_ptr cquantize;
1233 cquantize = (my_cquantize_ptr)
1236 cinfo->cquantize = (struct jpeg_color_quantizer *) cquantize;
1237 cquantize->pub.start_pass = start_pass_2_quant;
1238 cquantize->pub.new_color_map = new_color_map_2_quant;
1239 cquantize->fserrors = NULL; /* flag optional arrays not allocated */
1240 cquantize->error_limiter = NULL;
1247 cquantize->histogram = (hist3d) (*cinfo->mem->alloc_small)
1250 cquantize->histogram[i] = (hist2d) (*cinfo->mem->alloc_large)
1254 cquantize->needs_zeroed = TRUE; /* histogram is garbage now */
1269 cquantize->sv_colormap = (*cinfo->mem->alloc_sarray)
1271 cquantize->desired = desired;
1273 cquantize->sv_colormap = NULL;
1286 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large)