Home
last modified time | relevance | path

Searched refs:dstinfo (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
Djctrans.c68 jpeg_copy_critical_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo) in jpeg_copy_critical_parameters() argument
76 if (dstinfo->global_state != CSTATE_START) in jpeg_copy_critical_parameters()
77 ERREXIT1(dstinfo, JERR_BAD_STATE, dstinfo->global_state); in jpeg_copy_critical_parameters()
79 dstinfo->image_width = srcinfo->image_width; in jpeg_copy_critical_parameters()
80 dstinfo->image_height = srcinfo->image_height; in jpeg_copy_critical_parameters()
81 dstinfo->input_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
82 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
84 dstinfo->jpeg_width = srcinfo->output_width; in jpeg_copy_critical_parameters()
85 dstinfo->jpeg_height = srcinfo->output_height; in jpeg_copy_critical_parameters()
86 dstinfo->min_DCT_h_scaled_size = srcinfo->min_DCT_h_scaled_size; in jpeg_copy_critical_parameters()
[all …]
Dtransupp.c31 #define dstinfo_min_DCT_h_scaled_size dstinfo->min_DCT_h_scaled_size
32 #define dstinfo_min_DCT_v_scaled_size dstinfo->min_DCT_v_scaled_size
193 boolean trim, j_compress_ptr dstinfo) in adjust_quant() argument
199 for (ci = 0; ci < dstinfo->num_components && ci < dropinfo->num_components; in adjust_quant()
210 qtblptr3 = dstinfo->quant_tbl_ptrs[compptr1->quant_tbl_no]; in adjust_quant()
227 do_drop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_drop() argument
245 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_drop()
246 compptr = dstinfo->comp_info + ci; in do_drop()
275 do_crop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_crop() argument
289 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_crop()
[all …]
Djpegtran.c469 struct jpeg_compress_struct dstinfo; in jpegtran() local
496 dstinfo.err = jpeg_std_error(&jdsterr); in jpegtran()
497 jpeg_create_compress(&dstinfo); in jpegtran()
507 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); in jpegtran()
509 srcinfo.mem->max_memory_to_use = dstinfo.mem->max_memory_to_use; in jpegtran()
580 start_progress_monitor((j_common_ptr)&dstinfo, &dst_progress); in jpegtran()
646 jpeg_copy_critical_parameters(&srcinfo, &dstinfo); in jpegtran()
652 dst_coef_arrays = jtransform_adjust_parameters(&srcinfo, &dstinfo, in jpegtran()
682 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); in jpegtran()
685 jpeg_stdio_dest(&dstinfo, fp); in jpegtran()
[all …]
Dtransupp.h186 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
190 j_compress_ptr dstinfo,
229 j_compress_ptr dstinfo,
Djpeglib.h1051 j_compress_ptr dstinfo);
/third_party/libjpeg-turbo/
Djctrans.c68 jpeg_copy_critical_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo) in jpeg_copy_critical_parameters() argument
76 if (dstinfo->global_state != CSTATE_START) in jpeg_copy_critical_parameters()
77 ERREXIT1(dstinfo, JERR_BAD_STATE, dstinfo->global_state); in jpeg_copy_critical_parameters()
79 dstinfo->image_width = srcinfo->image_width; in jpeg_copy_critical_parameters()
80 dstinfo->image_height = srcinfo->image_height; in jpeg_copy_critical_parameters()
81 dstinfo->input_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
82 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
84 dstinfo->jpeg_width = srcinfo->output_width; in jpeg_copy_critical_parameters()
85 dstinfo->jpeg_height = srcinfo->output_height; in jpeg_copy_critical_parameters()
86 dstinfo->min_DCT_h_scaled_size = srcinfo->min_DCT_h_scaled_size; in jpeg_copy_critical_parameters()
[all …]
Dtransupp.c31 #define dstinfo_min_DCT_h_scaled_size dstinfo->min_DCT_h_scaled_size
32 #define dstinfo_min_DCT_v_scaled_size dstinfo->min_DCT_v_scaled_size
193 boolean trim, j_compress_ptr dstinfo) in adjust_quant() argument
199 for (ci = 0; ci < dstinfo->num_components && ci < dropinfo->num_components; in adjust_quant()
210 qtblptr3 = dstinfo->quant_tbl_ptrs[compptr1->quant_tbl_no]; in adjust_quant()
227 do_drop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_drop() argument
245 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_drop()
246 compptr = dstinfo->comp_info + ci; in do_drop()
275 do_crop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_crop() argument
289 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_crop()
[all …]
Djpegtran.c462 struct jpeg_compress_struct dstinfo; in main() local
484 dstinfo.err = jpeg_std_error(&jdsterr); in main()
485 jpeg_create_compress(&dstinfo); in main()
495 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); in main()
497 srcinfo.mem->max_memory_to_use = dstinfo.mem->max_memory_to_use; in main()
570 start_progress_monitor((j_common_ptr)&dstinfo, &dst_progress); in main()
636 jpeg_copy_critical_parameters(&srcinfo, &dstinfo); in main()
642 dst_coef_arrays = jtransform_adjust_parameters(&srcinfo, &dstinfo, in main()
672 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); in main()
675 jpeg_stdio_dest(&dstinfo, fp); in main()
[all …]
Dtransupp.h186 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
190 j_compress_ptr dstinfo,
230 j_compress_ptr dstinfo,
Djpeglib.h1045 j_compress_ptr dstinfo);
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djctrans.c67 jpeg_copy_critical_parameters(j_decompress_ptr srcinfo, j_compress_ptr dstinfo) in jpeg_copy_critical_parameters() argument
75 if (dstinfo->global_state != CSTATE_START) in jpeg_copy_critical_parameters()
76 ERREXIT1(dstinfo, JERR_BAD_STATE, dstinfo->global_state); in jpeg_copy_critical_parameters()
78 dstinfo->image_width = srcinfo->image_width; in jpeg_copy_critical_parameters()
79 dstinfo->image_height = srcinfo->image_height; in jpeg_copy_critical_parameters()
80 dstinfo->input_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
81 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
83 dstinfo->jpeg_width = srcinfo->output_width; in jpeg_copy_critical_parameters()
84 dstinfo->jpeg_height = srcinfo->output_height; in jpeg_copy_critical_parameters()
85 dstinfo->min_DCT_h_scaled_size = srcinfo->min_DCT_h_scaled_size; in jpeg_copy_critical_parameters()
[all …]
Dtransupp.c31 #define dstinfo_min_DCT_h_scaled_size dstinfo->min_DCT_h_scaled_size
32 #define dstinfo_min_DCT_v_scaled_size dstinfo->min_DCT_v_scaled_size
92 do_crop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_crop() argument
106 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_crop()
107 compptr = dstinfo->comp_info + ci; in do_crop()
130 do_flip_h_no_crop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_flip_h_no_crop() argument
149 (dstinfo->max_h_samp_factor * dstinfo_min_DCT_h_scaled_size); in do_flip_h_no_crop()
151 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_flip_h_no_crop()
152 compptr = dstinfo->comp_info + ci; in do_flip_h_no_crop()
195 do_flip_h(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_flip_h() argument
[all …]
Djpegtran.c386 struct jpeg_compress_struct dstinfo; in main() local
415 dstinfo.err = jpeg_std_error(&jdsterr); in main()
416 jpeg_create_compress(&dstinfo); in main()
426 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); in main()
428 srcinfo.mem->max_memory_to_use = dstinfo.mem->max_memory_to_use; in main()
496 start_progress_monitor((j_common_ptr)&dstinfo, &progress); in main()
524 jpeg_copy_critical_parameters(&srcinfo, &dstinfo); in main()
530 dst_coef_arrays = jtransform_adjust_parameters(&srcinfo, &dstinfo, in main()
560 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); in main()
563 jpeg_stdio_dest(&dstinfo, fp); in main()
[all …]
Dtransupp.h166 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
170 j_compress_ptr dstinfo,
209 j_compress_ptr dstinfo,
Djpeglib.h1045 j_compress_ptr dstinfo);