Lines Matching refs:compptr

100   jpeg_component_info *compptr;  in do_crop()  local
106 compptr = dstinfo->comp_info + ci; in do_crop()
107 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop()
108 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_crop()
109 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_crop()
110 dst_blk_y += compptr->v_samp_factor) { in do_crop()
113 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_crop()
117 (JDIMENSION) compptr->v_samp_factor, FALSE); in do_crop()
118 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_crop()
121 compptr->width_in_blocks); in do_crop()
141 jpeg_component_info *compptr; in do_flip_h_no_crop() local
152 compptr = dstinfo->comp_info + ci; in do_flip_h_no_crop()
153 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h_no_crop()
154 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_h_no_crop()
155 for (blk_y = 0; blk_y < compptr->height_in_blocks; in do_flip_h_no_crop()
156 blk_y += compptr->v_samp_factor) { in do_flip_h_no_crop()
159 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_flip_h_no_crop()
160 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_flip_h_no_crop()
183 for (blk_x = 0; blk_x < compptr->width_in_blocks; blk_x++) { in do_flip_h_no_crop()
208 jpeg_component_info *compptr; in do_flip_h() local
218 compptr = dstinfo->comp_info + ci; in do_flip_h()
219 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h()
220 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_h()
221 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_flip_h()
222 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_flip_h()
223 dst_blk_y += compptr->v_samp_factor) { in do_flip_h()
226 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_flip_h()
230 (JDIMENSION) compptr->v_samp_factor, FALSE); in do_flip_h()
231 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_flip_h()
234 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; dst_blk_x++) { in do_flip_h()
270 jpeg_component_info *compptr; in do_flip_v() local
283 compptr = dstinfo->comp_info + ci; in do_flip_v()
284 comp_height = MCU_rows * compptr->v_samp_factor; in do_flip_v()
285 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_v()
286 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_flip_v()
287 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_flip_v()
288 dst_blk_y += compptr->v_samp_factor) { in do_flip_v()
291 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_flip_v()
297 (JDIMENSION) compptr->v_samp_factor, in do_flip_v()
298 (JDIMENSION) compptr->v_samp_factor, FALSE); in do_flip_v()
304 (JDIMENSION) compptr->v_samp_factor, FALSE); in do_flip_v()
306 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_flip_v()
310 src_row_ptr = src_buffer[compptr->v_samp_factor - offset_y - 1]; in do_flip_v()
312 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; in do_flip_v()
329 compptr->width_in_blocks); in do_flip_v()
348 jpeg_component_info *compptr; in do_transpose() local
356 compptr = dstinfo->comp_info + ci; in do_transpose()
357 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_transpose()
358 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_transpose()
359 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_transpose()
360 dst_blk_y += compptr->v_samp_factor) { in do_transpose()
363 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_transpose()
364 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_transpose()
365 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; in do_transpose()
366 dst_blk_x += compptr->h_samp_factor) { in do_transpose()
370 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_transpose()
371 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transpose()
401 jpeg_component_info *compptr; in do_rot_90() local
411 compptr = dstinfo->comp_info + ci; in do_rot_90()
412 comp_width = MCU_cols * compptr->h_samp_factor; in do_rot_90()
413 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_rot_90()
414 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_rot_90()
415 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_rot_90()
416 dst_blk_y += compptr->v_samp_factor) { in do_rot_90()
419 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_rot_90()
420 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_rot_90()
421 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; in do_rot_90()
422 dst_blk_x += compptr->h_samp_factor) { in do_rot_90()
428 (JDIMENSION) compptr->h_samp_factor, in do_rot_90()
429 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_rot_90()
435 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_rot_90()
437 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_rot_90()
441 src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1] in do_rot_90()
482 jpeg_component_info *compptr; in do_rot_270() local
492 compptr = dstinfo->comp_info + ci; in do_rot_270()
493 comp_height = MCU_rows * compptr->v_samp_factor; in do_rot_270()
494 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_rot_270()
495 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_rot_270()
496 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_rot_270()
497 dst_blk_y += compptr->v_samp_factor) { in do_rot_270()
500 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_rot_270()
501 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_rot_270()
502 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; in do_rot_270()
503 dst_blk_x += compptr->h_samp_factor) { in do_rot_270()
507 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_rot_270()
508 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_rot_270()
554 jpeg_component_info *compptr; in do_rot_180() local
562 compptr = dstinfo->comp_info + ci; in do_rot_180()
563 comp_width = MCU_cols * compptr->h_samp_factor; in do_rot_180()
564 comp_height = MCU_rows * compptr->v_samp_factor; in do_rot_180()
565 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_rot_180()
566 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_rot_180()
567 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_rot_180()
568 dst_blk_y += compptr->v_samp_factor) { in do_rot_180()
571 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_rot_180()
577 (JDIMENSION) compptr->v_samp_factor, in do_rot_180()
578 (JDIMENSION) compptr->v_samp_factor, FALSE); in do_rot_180()
584 (JDIMENSION) compptr->v_samp_factor, FALSE); in do_rot_180()
586 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_rot_180()
590 src_row_ptr = src_buffer[compptr->v_samp_factor - offset_y - 1]; in do_rot_180()
591 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; dst_blk_x++) { in do_rot_180()
622 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; dst_blk_x++) { in do_rot_180()
665 jpeg_component_info *compptr; in do_transverse() local
673 compptr = dstinfo->comp_info + ci; in do_transverse()
674 comp_width = MCU_cols * compptr->h_samp_factor; in do_transverse()
675 comp_height = MCU_rows * compptr->v_samp_factor; in do_transverse()
676 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_transverse()
677 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_transverse()
678 for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks; in do_transverse()
679 dst_blk_y += compptr->v_samp_factor) { in do_transverse()
682 (JDIMENSION) compptr->v_samp_factor, TRUE); in do_transverse()
683 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_transverse()
684 for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; in do_transverse()
685 dst_blk_x += compptr->h_samp_factor) { in do_transverse()
691 (JDIMENSION) compptr->h_samp_factor, in do_transverse()
692 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_transverse()
697 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_transverse()
699 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transverse()
704 src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1] in do_transverse()
734 src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1] in do_transverse()
895 jpeg_component_info *compptr; in jtransform_request_workspace() local
1104 compptr = srcinfo->comp_info + ci; in jtransform_request_workspace()
1109 h_samp_factor = compptr->v_samp_factor; in jtransform_request_workspace()
1110 v_samp_factor = compptr->h_samp_factor; in jtransform_request_workspace()
1112 h_samp_factor = compptr->h_samp_factor; in jtransform_request_workspace()
1113 v_samp_factor = compptr->v_samp_factor; in jtransform_request_workspace()
1135 jpeg_component_info *compptr; in transpose_critical_parameters() local
1152 compptr = dstinfo->comp_info + ci; in transpose_critical_parameters()
1153 itemp = compptr->h_samp_factor; in transpose_critical_parameters()
1154 compptr->h_samp_factor = compptr->v_samp_factor; in transpose_critical_parameters()
1155 compptr->v_samp_factor = itemp; in transpose_critical_parameters()