Lines Matching refs:srcinfo

91 do_crop (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,  in do_crop()  argument
111 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_crop()
112 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_crop()
114 src_buffer = (*srcinfo->mem->access_virt_barray) in do_crop()
115 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_crop()
129 do_flip_h_no_crop (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_flip_h_no_crop() argument
148 MCU_cols = srcinfo->output_width / in do_flip_h_no_crop()
157 buffer = (*srcinfo->mem->access_virt_barray) in do_flip_h_no_crop()
158 ((j_common_ptr) srcinfo, src_coef_arrays[ci], blk_y, in do_flip_h_no_crop()
196 do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_flip_h() argument
214 MCU_cols = srcinfo->output_width / in do_flip_h()
224 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_h()
225 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_flip_h()
227 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_h()
228 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_flip_h()
258 do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_flip_v() argument
279 MCU_rows = srcinfo->output_height / in do_flip_v()
289 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v()
290 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_flip_v()
294 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v()
295 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_flip_v()
301 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v()
302 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_flip_v()
338 do_transpose (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_transpose() argument
361 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_transpose()
362 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_transpose()
367 src_buffer = (*srcinfo->mem->access_virt_barray) in do_transpose()
368 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_transpose()
386 do_rot_90 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_rot_90() argument
407 MCU_cols = srcinfo->output_height / in do_rot_90()
417 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_90()
418 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_rot_90()
425 src_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_90()
426 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_rot_90()
432 src_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_90()
433 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_rot_90()
467 do_rot_270 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_rot_270() argument
488 MCU_rows = srcinfo->output_width / in do_rot_270()
498 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_270()
499 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_rot_270()
504 src_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_270()
505 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_rot_270()
538 do_rot_180 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_rot_180() argument
556 MCU_cols = srcinfo->output_width / in do_rot_180()
558 MCU_rows = srcinfo->output_height / in do_rot_180()
569 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_180()
570 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_rot_180()
574 src_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_180()
575 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_rot_180()
581 src_buffer = (*srcinfo->mem->access_virt_barray) in do_rot_180()
582 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_rot_180()
646 do_transverse (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in do_transverse() argument
667 MCU_cols = srcinfo->output_height / in do_transverse()
669 MCU_rows = srcinfo->output_width / in do_transverse()
680 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_transverse()
681 ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y, in do_transverse()
688 src_buffer = (*srcinfo->mem->access_virt_barray) in do_transverse()
689 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_transverse()
694 src_buffer = (*srcinfo->mem->access_virt_barray) in do_transverse()
695 ((j_common_ptr) srcinfo, src_coef_arrays[ci], in do_transverse()
890 jtransform_request_workspace (j_decompress_ptr srcinfo, in jtransform_request_workspace() argument
903 srcinfo->jpeg_color_space == JCS_YCbCr && in jtransform_request_workspace()
904 srcinfo->num_components == 3) in jtransform_request_workspace()
909 info->num_components = srcinfo->num_components; in jtransform_request_workspace()
913 jpeg_core_output_dimensions(srcinfo); in jtransform_request_workspace()
915 srcinfo->output_width = srcinfo->image_width; in jtransform_request_workspace()
916 srcinfo->output_height = srcinfo->image_height; in jtransform_request_workspace()
923 if (!jtransform_perfect_transform(srcinfo->output_width, in jtransform_request_workspace()
924 srcinfo->output_height, in jtransform_request_workspace()
925 srcinfo->_min_DCT_h_scaled_size, in jtransform_request_workspace()
926 srcinfo->_min_DCT_v_scaled_size, in jtransform_request_workspace()
930 if (!jtransform_perfect_transform(srcinfo->output_width, in jtransform_request_workspace()
931 srcinfo->output_height, in jtransform_request_workspace()
932 srcinfo->max_h_samp_factor * srcinfo->_min_DCT_h_scaled_size, in jtransform_request_workspace()
933 srcinfo->max_v_samp_factor * srcinfo->_min_DCT_v_scaled_size, in jtransform_request_workspace()
949 info->output_width = srcinfo->output_height; in jtransform_request_workspace()
950 info->output_height = srcinfo->output_width; in jtransform_request_workspace()
952 info->iMCU_sample_width = srcinfo->_min_DCT_v_scaled_size; in jtransform_request_workspace()
953 info->iMCU_sample_height = srcinfo->_min_DCT_h_scaled_size; in jtransform_request_workspace()
956 srcinfo->max_v_samp_factor * srcinfo->_min_DCT_v_scaled_size; in jtransform_request_workspace()
958 srcinfo->max_h_samp_factor * srcinfo->_min_DCT_h_scaled_size; in jtransform_request_workspace()
962 info->output_width = srcinfo->output_width; in jtransform_request_workspace()
963 info->output_height = srcinfo->output_height; in jtransform_request_workspace()
965 info->iMCU_sample_width = srcinfo->_min_DCT_h_scaled_size; in jtransform_request_workspace()
966 info->iMCU_sample_height = srcinfo->_min_DCT_v_scaled_size; in jtransform_request_workspace()
969 srcinfo->max_h_samp_factor * srcinfo->_min_DCT_h_scaled_size; in jtransform_request_workspace()
971 srcinfo->max_v_samp_factor * srcinfo->_min_DCT_v_scaled_size; in jtransform_request_workspace()
987 ERREXIT(srcinfo, JERR_BAD_CROP_SPEC); in jtransform_request_workspace()
997 ERREXIT(srcinfo, JERR_BAD_CROP_SPEC); in jtransform_request_workspace()
1039 trim_right_edge(info, srcinfo->output_width); in jtransform_request_workspace()
1046 trim_bottom_edge(info, srcinfo->output_height); in jtransform_request_workspace()
1058 trim_right_edge(info, srcinfo->output_height); in jtransform_request_workspace()
1059 trim_bottom_edge(info, srcinfo->output_width); in jtransform_request_workspace()
1067 trim_right_edge(info, srcinfo->output_height); in jtransform_request_workspace()
1074 trim_right_edge(info, srcinfo->output_width); in jtransform_request_workspace()
1075 trim_bottom_edge(info, srcinfo->output_height); in jtransform_request_workspace()
1082 trim_bottom_edge(info, srcinfo->output_width); in jtransform_request_workspace()
1095 (*srcinfo->mem->alloc_small) ((j_common_ptr) srcinfo, JPOOL_IMAGE, in jtransform_request_workspace()
1104 compptr = srcinfo->comp_info + ci; in jtransform_request_workspace()
1117 coef_arrays[ci] = (*srcinfo->mem->request_virt_barray) in jtransform_request_workspace()
1118 ((j_common_ptr) srcinfo, JPOOL_IMAGE, FALSE, in jtransform_request_workspace()
1344 jtransform_adjust_parameters (j_decompress_ptr srcinfo, in jtransform_adjust_parameters() argument
1360 srcinfo->comp_info[0].h_samp_factor == srcinfo->max_h_samp_factor && in jtransform_adjust_parameters()
1361 srcinfo->comp_info[0].v_samp_factor == srcinfo->max_v_samp_factor) { in jtransform_adjust_parameters()
1412 if (srcinfo->marker_list != NULL && in jtransform_adjust_parameters()
1413 srcinfo->marker_list->marker == JPEG_APP0+1 && in jtransform_adjust_parameters()
1414 srcinfo->marker_list->data_length >= 6 && in jtransform_adjust_parameters()
1415 GETJOCTET(srcinfo->marker_list->data[0]) == 0x45 && in jtransform_adjust_parameters()
1416 GETJOCTET(srcinfo->marker_list->data[1]) == 0x78 && in jtransform_adjust_parameters()
1417 GETJOCTET(srcinfo->marker_list->data[2]) == 0x69 && in jtransform_adjust_parameters()
1418 GETJOCTET(srcinfo->marker_list->data[3]) == 0x66 && in jtransform_adjust_parameters()
1419 GETJOCTET(srcinfo->marker_list->data[4]) == 0 && in jtransform_adjust_parameters()
1420 GETJOCTET(srcinfo->marker_list->data[5]) == 0) { in jtransform_adjust_parameters()
1425 if (dstinfo->jpeg_width != srcinfo->image_width || in jtransform_adjust_parameters()
1426 dstinfo->jpeg_height != srcinfo->image_height) in jtransform_adjust_parameters()
1428 adjust_exif_parameters(srcinfo->marker_list->data + 6, in jtransform_adjust_parameters()
1429 srcinfo->marker_list->data_length - 6, in jtransform_adjust_parameters()
1451 jtransform_execute_transform (j_decompress_ptr srcinfo, in jtransform_execute_transform() argument
1464 do_crop(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1469 do_flip_h(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1472 do_flip_h_no_crop(srcinfo, dstinfo, info->x_crop_offset, in jtransform_execute_transform()
1476 do_flip_v(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1480 do_transpose(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1484 do_transverse(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1488 do_rot_90(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1492 do_rot_180(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1496 do_rot_270(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset, in jtransform_execute_transform()
1563 jcopy_markers_setup (j_decompress_ptr srcinfo, JCOPY_OPTION option) in jcopy_markers_setup() argument
1570 jpeg_save_markers(srcinfo, JPEG_COM, 0xFFFF); in jcopy_markers_setup()
1575 jpeg_save_markers(srcinfo, JPEG_APP0 + m, 0xFFFF); in jcopy_markers_setup()
1588 jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo, in jcopy_markers_execute() argument
1598 for (marker = srcinfo->marker_list; marker != NULL; marker = marker->next) { in jcopy_markers_execute()