Lines Matching refs:cquantize

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