• Home
  • Raw
  • Download

Lines Matching refs:cquantize

227   my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;  in prescan_quantize()  local
230 register hist3d histogram = cquantize->histogram; in prescan_quantize()
317 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in update_box() local
318 hist3d histogram = cquantize->histogram; in update_box()
504 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in compute_color() local
505 hist3d histogram = cquantize->histogram; in compute_color()
860 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in fill_inverse_cmap() local
861 hist3d histogram = cquantize->histogram; in fill_inverse_cmap()
919 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in pass2_no_dither() local
920 hist3d histogram = cquantize->histogram; in pass2_no_dither()
953 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in pass2_fs_dither() local
954 hist3d histogram = cquantize->histogram; in pass2_fs_dither()
968 int *error_limit = cquantize->error_limiter; in pass2_fs_dither()
977 if (cquantize->on_odd_row) { in pass2_fs_dither()
983 errorptr = cquantize->fserrors + (width+1)*3; /* => entry after last column */ in pass2_fs_dither()
984 cquantize->on_odd_row = FALSE; /* flip for next time */ in pass2_fs_dither()
989 errorptr = cquantize->fserrors; /* => entry before first real column */ in pass2_fs_dither()
990 cquantize->on_odd_row = TRUE; /* flip for next time */ in pass2_fs_dither()
1111 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in init_error_limit() local
1118 cquantize->error_limiter = table; in init_error_limit()
1145 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in finish_pass1() local
1148 cinfo->colormap = cquantize->sv_colormap; in finish_pass1()
1149 select_colors(cinfo, cquantize->desired); in finish_pass1()
1151 cquantize->needs_zeroed = TRUE; in finish_pass1()
1169 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in start_pass_2_quant() local
1170 hist3d histogram = cquantize->histogram; in start_pass_2_quant()
1180 cquantize->pub.color_quantize = prescan_quantize; in start_pass_2_quant()
1181 cquantize->pub.finish_pass = finish_pass1; in start_pass_2_quant()
1182 cquantize->needs_zeroed = TRUE; /* Always zero histogram */ in start_pass_2_quant()
1186 cquantize->pub.color_quantize = pass2_fs_dither; in start_pass_2_quant()
1188 cquantize->pub.color_quantize = pass2_no_dither; in start_pass_2_quant()
1189 cquantize->pub.finish_pass = finish_pass2; in start_pass_2_quant()
1202 if (cquantize->fserrors == NULL) in start_pass_2_quant()
1203 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large) in start_pass_2_quant()
1206 jzero_far((void FAR *) cquantize->fserrors, arraysize); in start_pass_2_quant()
1208 if (cquantize->error_limiter == NULL) in start_pass_2_quant()
1210 cquantize->on_odd_row = FALSE; in start_pass_2_quant()
1215 if (cquantize->needs_zeroed) { in start_pass_2_quant()
1220 cquantize->needs_zeroed = FALSE; in start_pass_2_quant()
1232 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; in new_color_map_2_quant() local
1235 cquantize->needs_zeroed = TRUE; in new_color_map_2_quant()
1246 my_cquantize_ptr cquantize; in jinit_2pass_quantizer() local
1249 cquantize = (my_cquantize_ptr) in jinit_2pass_quantizer()
1252 cinfo->cquantize = (struct jpeg_color_quantizer *) cquantize; in jinit_2pass_quantizer()
1253 cquantize->pub.start_pass = start_pass_2_quant; in jinit_2pass_quantizer()
1254 cquantize->pub.new_color_map = new_color_map_2_quant; in jinit_2pass_quantizer()
1255 cquantize->fserrors = NULL; /* flag optional arrays not allocated */ in jinit_2pass_quantizer()
1256 cquantize->error_limiter = NULL; in jinit_2pass_quantizer()
1263 cquantize->histogram = (hist3d) (*cinfo->mem->alloc_small) in jinit_2pass_quantizer()
1266 cquantize->histogram[i] = (hist2d) (*cinfo->mem->alloc_large) in jinit_2pass_quantizer()
1270 cquantize->needs_zeroed = TRUE; /* histogram is garbage now */ in jinit_2pass_quantizer()
1285 cquantize->sv_colormap = (*cinfo->mem->alloc_sarray) in jinit_2pass_quantizer()
1287 cquantize->desired = desired; in jinit_2pass_quantizer()
1289 cquantize->sv_colormap = NULL; in jinit_2pass_quantizer()
1302 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large) in jinit_2pass_quantizer()