Home
last modified time | relevance | path

Searched refs:rot_mode (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/ipu-v3/
Dipu-image-convert.c161 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()
[all …]
/drivers/staging/media/imx/
Dimx-ic-prpencvf.c91 enum ipu_rotate_mode rot_mode; member
250 channel = (ipu_rot_mode_is_irt(priv->rot_mode)) ? in prp_eof_interrupt()
347 enum ipu_rotate_mode rot_mode, in prp_setup_channel() argument
425 if (rot_mode) in prp_setup_channel()
426 ipu_cpmem_set_rotation(channel, rot_mode); in prp_setup_channel()
437 burst_size, rot_mode); in prp_setup_channel()
507 ret = prp_setup_channel(priv, priv->rot_in_ch, priv->rot_mode, in prp_setup_rotation()
615 ret = prp_setup_channel(priv, priv->out_ch, priv->rot_mode, in prp_setup_norotation()
656 if (ipu_rot_mode_is_irt(priv->rot_mode)) in prp_unsetup()
690 if (ipu_rot_mode_is_irt(priv->rot_mode)) in prp_start()
[all …]
Dimx-media-csc-scaler.c65 enum ipu_rotate_mode rot_mode; member
220 ipu_image_convert_adjust(&test_in, &test_out, ctx->rot_mode); in ipu_csc_scaler_try_fmt()
531 ctx->rot_mode, in ipu_csc_scaler_start_streaming()
621 enum ipu_rotate_mode rot_mode; in ipu_csc_scaler_s_ctrl() local
644 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl()
648 if (rot_mode != ctx->rot_mode) { in ipu_csc_scaler_s_ctrl()
658 if (ipu_rot_mode_is_irt(rot_mode) != in ipu_csc_scaler_s_ctrl()
659 ipu_rot_mode_is_irt(ctx->rot_mode)) { in ipu_csc_scaler_s_ctrl()
665 ipu_image_convert_adjust(&test_in, &test_out, ctx->rot_mode); in ipu_csc_scaler_s_ctrl()
696 ctx->rot_mode = rot_mode; in ipu_csc_scaler_s_ctrl()
[all …]
/drivers/media/platform/rockchip/rga/
Drga-hw.c240 src_info.data.rot_mode = RGA_SRC_ROT_MODE_90_DEGREE; in rga_cmd_set_trans_info()
243 src_info.data.rot_mode = RGA_SRC_ROT_MODE_180_DEGREE; in rga_cmd_set_trans_info()
246 src_info.data.rot_mode = RGA_SRC_ROT_MODE_270_DEGREE; in rga_cmd_set_trans_info()
249 src_info.data.rot_mode = RGA_SRC_ROT_MODE_0_DEGREE; in rga_cmd_set_trans_info()
259 if (src_info.data.rot_mode == RGA_SRC_ROT_MODE_90_DEGREE || in rga_cmd_set_trans_info()
260 src_info.data.rot_mode == RGA_SRC_ROT_MODE_270_DEGREE) { in rga_cmd_set_trans_info()
325 dst_offset = rga_lookup_draw_pos(&offsets, src_info.data.rot_mode, in rga_cmd_set_trans_info()
Drga-hw.h207 unsigned int rot_mode:2; member
/drivers/media/platform/coda/
Dcoda-bit.c1484 u32 rot_mode = 0; in coda_prepare_encode() local
1588 if (ctx->params.rot_mode) in coda_prepare_encode()
1589 rot_mode = CODA_ROT_MIR_ENABLE | ctx->params.rot_mode; in coda_prepare_encode()
1590 coda_write(dev, rot_mode, CODA_CMD_ENC_PIC_ROT_MODE); in coda_prepare_encode()
2146 u32 rot_mode = 0; in coda_prepare_decode() local
2216 rot_mode = CODA_ROT_MIR_ENABLE | ctx->params.rot_mode; in coda_prepare_decode()
2219 coda_write(dev, rot_mode, CODA_CMD_DEC_PIC_ROT_MODE); in coda_prepare_decode()
Dcoda.h108 u8 rot_mode; member
Dcoda-jpeg.c1158 if (ctx->params.rot_mode & CODA_ROT_90) { in coda9_jpeg_prepare_encode()
1169 coda_write(dev, ctx->params.rot_mode ? in coda9_jpeg_prepare_encode()
1170 (CODA_ROT_MIR_ENABLE | ctx->params.rot_mode) : 0, in coda9_jpeg_prepare_encode()
Dcoda-common.c2192 ctx->params.rot_mode |= CODA_MIR_HOR; in coda_s_ctrl()
2194 ctx->params.rot_mode &= ~CODA_MIR_HOR; in coda_s_ctrl()
2198 ctx->params.rot_mode |= CODA_MIR_VER; in coda_s_ctrl()
2200 ctx->params.rot_mode &= ~CODA_MIR_VER; in coda_s_ctrl()
/drivers/dma/ipu/
Dipu_idmac.c654 enum ipu_rotate_mode rot_mode, in ipu_init_channel_buffer() argument
683 ipu_ch_param_set_rotation(&params, rot_mode); in ipu_init_channel_buffer()