Lines Matching refs:rot_mode
161 enum ipu_rotate_mode rot_mode; member
422 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in calc_image_resize_coefficients()
621 enum ipu_rotate_mode rot_mode) in tile_width_align() argument
630 return (!ipu_rot_mode_is_irt(rot_mode) && in tile_width_align()
631 (rot_mode & IPU_ROT_BIT_HFLIP)) ? 8 : 2; in tile_width_align()
640 return (ipu_rot_mode_is_irt(rot_mode) && in tile_width_align()
647 enum ipu_rotate_mode rot_mode) in tile_height_align() argument
649 if (type == IMAGE_CONVERT_IN || !ipu_rot_mode_is_irt(rot_mode)) in tile_height_align()
684 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in fill_tile_column()
716 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in fill_tile_row()
745 ctx->rot_mode); in find_seams()
747 ctx->rot_mode); in find_seams()
755 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in find_seams()
768 bool allow_in_overshoot = ipu_rot_mode_is_irt(ctx->rot_mode) || in find_seams()
769 !(ctx->rot_mode & IPU_ROT_BIT_HFLIP); in find_seams()
771 !(ctx->rot_mode & IPU_ROT_BIT_HFLIP); in find_seams()
788 if (ctx->rot_mode & IPU_ROT_BIT_HFLIP) in find_seams()
804 flipped_out_left = (ctx->rot_mode & IPU_ROT_BIT_HFLIP) ? in find_seams()
825 if ((ctx->rot_mode & IPU_ROT_BIT_VFLIP) ^ in find_seams()
826 ipu_rot_mode_is_irt(ctx->rot_mode)) in find_seams()
842 if ((ctx->rot_mode & IPU_ROT_BIT_VFLIP) ^ in find_seams()
843 ipu_rot_mode_is_irt(ctx->rot_mode)) in find_seams()
928 if (ctx->rot_mode == IPU_ROTATE_NONE) in transform_tile_index()
939 if (ctx->rot_mode & IPU_ROT_BIT_90) { in transform_tile_index()
948 if (ctx->rot_mode & IPU_ROT_BIT_HFLIP) in transform_tile_index()
950 if (ctx->rot_mode & IPU_ROT_BIT_VFLIP) in transform_tile_index()
1137 !(ctx->rot_mode & IPU_ROT_BIT_HFLIP); in calc_tile_resize_coefficients()
1146 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in calc_tile_resize_coefficients()
1181 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in calc_tile_resize_coefficients()
1194 !(ctx->rot_mode & IPU_ROT_BIT_VFLIP); in calc_tile_resize_coefficients()
1203 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in calc_tile_resize_coefficients()
1238 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in calc_tile_resize_coefficients()
1284 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in convert_stop()
1296 enum ipu_rotate_mode rot_mode, in init_idmac_channel() argument
1349 if (rot_mode) in init_idmac_channel()
1350 ipu_cpmem_set_rotation(channel, rot_mode); in init_idmac_channel()
1371 burst_size, rot_mode); in init_idmac_channel()
1402 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in convert_start()
1439 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in convert_start()
1446 ctx->rot_mode, true, tile); in convert_start()
1457 ctx->rot_mode, false, tile); in convert_start()
1466 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in convert_start()
1471 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in convert_start()
1478 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in convert_start()
1487 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in convert_start()
1649 outch = ipu_rot_mode_is_irt(ctx->rot_mode) ? in do_tile_complete()
1759 if (!ipu_rot_mode_is_irt(ctx->rot_mode)) { in eof_irq()
1773 if (ipu_rot_mode_is_irt(ctx->rot_mode)) in eof_irq()
1969 enum ipu_rotate_mode rot_mode) in ipu_image_convert_adjust() argument
1992 if (ipu_rot_mode_is_irt(rot_mode)) { in ipu_image_convert_adjust()
2006 rot_mode)); in ipu_image_convert_adjust()
2008 rot_mode)); in ipu_image_convert_adjust()
2016 rot_mode)); in ipu_image_convert_adjust()
2018 rot_mode)); in ipu_image_convert_adjust()
2049 enum ipu_rotate_mode rot_mode) in ipu_image_convert_verify() argument
2056 ipu_image_convert_adjust(&testin, &testout, rot_mode); in ipu_image_convert_verify()
2075 enum ipu_rotate_mode rot_mode, in ipu_image_convert_prepare() argument
2094 ret = ipu_image_convert_verify(in, out, rot_mode); in ipu_image_convert_prepare()
2113 ctx->rot_mode = rot_mode; in ipu_image_convert_prepare()
2124 if (ipu_rot_mode_is_irt(rot_mode)) { in ipu_image_convert_prepare()
2214 if (ipu_rot_mode_is_irt(ctx->rot_mode)) { in ipu_image_convert_prepare()
2410 enum ipu_rotate_mode rot_mode, in ipu_image_convert() argument
2418 ctx = ipu_image_convert_prepare(ipu, ic_task, in, out, rot_mode, in ipu_image_convert()
2455 enum ipu_rotate_mode rot_mode) in ipu_image_convert_sync() argument
2463 run = ipu_image_convert(ipu, ic_task, in, out, rot_mode, in ipu_image_convert_sync()