Home
last modified time | relevance | path

Searched refs:cquantize (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant1.c279 my_cquantize_ptr cquantize = (my_cquantize_ptr)cinfo->cquantize; in create_colormap() local
285 total_colors = select_ncolors(cinfo, cquantize->Ncolors); in create_colormap()
290 cquantize->Ncolors[0], cquantize->Ncolors[1], in create_colormap()
291 cquantize->Ncolors[2]); in create_colormap()
309 nci = cquantize->Ncolors[i]; /* # of distinct values for this color */ in create_colormap()
327 cquantize->sv_colormap = colormap; in create_colormap()
328 cquantize->sv_actual = total_colors; in create_colormap()
339 my_cquantize_ptr cquantize = (my_cquantize_ptr)cinfo->cquantize; in create_colorindex() local
350 cquantize->is_padded = TRUE; in create_colorindex()
353 cquantize->is_padded = FALSE; in create_colorindex()
[all …]
Djquant2.c206 my_cquantize_ptr cquantize = (my_cquantize_ptr)cinfo->cquantize; in prescan_quantize() local
209 register hist3d histogram = cquantize->histogram; in prescan_quantize()
296 my_cquantize_ptr cquantize = (my_cquantize_ptr)cinfo->cquantize; in update_box() local
297 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()
[all …]
Djdmaster.c499 master->quantizer_1pass = cinfo->cquantize; in master_selection()
509 master->quantizer_2pass = cinfo->cquantize; in master_selection()
618 (*cinfo->cquantize->start_pass) (cinfo, FALSE); in prepare_for_output_pass()
628 cinfo->cquantize = master->quantizer_2pass; in prepare_for_output_pass()
631 cinfo->cquantize = master->quantizer_1pass; in prepare_for_output_pass()
643 (*cinfo->cquantize->start_pass) (cinfo, master->pub.is_dummy_pass); in prepare_for_output_pass()
675 (*cinfo->cquantize->finish_pass) (cinfo); in finish_output_pass()
698 cinfo->cquantize = master->quantizer_2pass; in jpeg_new_colormap()
700 (*cinfo->cquantize->new_color_map) (cinfo); in jpeg_new_colormap()
Djdpostct.c150 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer, in post_process_1pass()
189 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + old_next_row, in post_process_prepass()
233 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + post->next_row, in post_process_2pass()
Djdapistd.c340 if (cinfo->cquantize && cinfo->cquantize->color_quantize) { in read_and_discard_scanlines()
341 color_quantize = cinfo->cquantize->color_quantize; in read_and_discard_scanlines()
342 cinfo->cquantize->color_quantize = noop_quantize; in read_and_discard_scanlines()
357 cinfo->cquantize->color_quantize = color_quantize; in read_and_discard_scanlines()
Djpeglib.h712 struct jpeg_color_quantizer *cquantize; member