Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:cquantize

205   my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
208 register hist3d histogram = cquantize->histogram;
295 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
296 hist3d histogram = cquantize->histogram;
483 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
484 hist3d histogram = cquantize->histogram;
839 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
840 hist3d histogram = cquantize->histogram;
898 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
899 hist3d histogram = cquantize->histogram;
932 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
933 hist3d histogram = cquantize->histogram;
947 int *error_limit = cquantize->error_limiter;
956 if (cquantize->on_odd_row) {
962 errorptr = cquantize->fserrors + (width+1)*3; /* => entry after last column */
963 cquantize->on_odd_row = FALSE; /* flip for next time */
968 errorptr = cquantize->fserrors; /* => entry before first real column */
969 cquantize->on_odd_row = TRUE; /* flip for next time */
1081 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1088 cquantize->error_limiter = table;
1115 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1118 cinfo->colormap = cquantize->sv_colormap;
1119 select_colors(cinfo, cquantize->desired);
1121 cquantize->needs_zeroed = TRUE;
1139 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1140 hist3d histogram = cquantize->histogram;
1150 cquantize->pub.color_quantize = prescan_quantize;
1151 cquantize->pub.finish_pass = finish_pass1;
1152 cquantize->needs_zeroed = TRUE; /* Always zero histogram */
1156 cquantize->pub.color_quantize = pass2_fs_dither;
1158 cquantize->pub.color_quantize = pass2_no_dither;
1159 cquantize->pub.finish_pass = finish_pass2;
1172 if (cquantize->fserrors == NULL)
1173 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large)
1176 jzero_far((void *) cquantize->fserrors, arraysize);
1178 if (cquantize->error_limiter == NULL)
1180 cquantize->on_odd_row = FALSE;
1185 if (cquantize->needs_zeroed) {
1190 cquantize->needs_zeroed = FALSE;
1202 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
1205 cquantize->needs_zeroed = TRUE;
1216 my_cquantize_ptr cquantize;
1219 cquantize = (my_cquantize_ptr)
1222 cinfo->cquantize = (struct jpeg_color_quantizer *) cquantize;
1223 cquantize->pub.start_pass = start_pass_2_quant;
1224 cquantize->pub.new_color_map = new_color_map_2_quant;
1225 cquantize->fserrors = NULL; /* flag optional arrays not allocated */
1226 cquantize->error_limiter = NULL;
1233 cquantize->histogram = (hist3d) (*cinfo->mem->alloc_small)
1236 cquantize->histogram[i] = (hist2d) (*cinfo->mem->alloc_large)
1240 cquantize->needs_zeroed = TRUE; /* histogram is garbage now */
1255 cquantize->sv_colormap = (*cinfo->mem->alloc_sarray)
1257 cquantize->desired = desired;
1259 cquantize->sv_colormap = NULL;
1273 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large)