Lines Matching refs:out
88 int out; member
162 struct ipu_image_convert_image out; member
236 .out = IPUV3_CHANNEL_IC_PRP_VF_MEM,
245 .out = IPUV3_CHANNEL_IC_PP_MEM,
412 struct ipu_image *out) in calc_image_resize_coefficients() argument
418 u32 resized_width = out->rect.width; in calc_image_resize_coefficients()
419 u32 resized_height = out->rect.height; in calc_image_resize_coefficients()
426 resized_width = out->rect.height; in calc_image_resize_coefficients()
427 resized_height = out->rect.width; in calc_image_resize_coefficients()
669 struct ipu_image_convert_image *out, in fill_tile_column() argument
678 out_tile = &out->tile[ctx->out_tile_map[tile_idx]]; in fill_tile_column()
701 struct ipu_image_convert_image *out, in fill_tile_row() argument
710 out_tile = &out->tile[ctx->out_tile_map[tile_idx]]; in fill_tile_row()
732 struct ipu_image_convert_image *out) in find_seams() argument
735 unsigned int resized_width = out->base.rect.width; in find_seams()
736 unsigned int resized_height = out->base.rect.height; in find_seams()
741 unsigned int out_left_align = tile_left_align(out->fmt); in find_seams()
742 unsigned int out_top_align = tile_top_align(out->fmt); in find_seams()
743 unsigned int out_width_align = tile_width_align(out->type, out->fmt, in find_seams()
745 unsigned int out_height_align = tile_height_align(out->type, out->fmt, in find_seams()
749 unsigned int out_right = out->base.rect.width; in find_seams()
750 unsigned int out_bottom = out->base.rect.height; in find_seams()
756 resized_width = out->base.rect.height; in find_seams()
757 resized_height = out->base.rect.width; in find_seams()
762 out_right = out->base.rect.height; in find_seams()
763 out_bottom = out->base.rect.width; in find_seams()
793 out, flipped_out_left, out_right - out_left); in find_seams()
807 out, flipped_out_left, out_right); in find_seams()
831 out, flipped_out_top, out_bottom - out_top); in find_seams()
848 out, flipped_out_top, out_bottom); in find_seams()
923 struct ipu_image_convert_image *d_image = &ctx->out; in transform_tile_index()
1140 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]]; in calc_tile_resize_coefficients()
1175 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]]; in calc_tile_resize_coefficients()
1197 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]]; in calc_tile_resize_coefficients()
1232 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]]; in calc_tile_resize_coefficients()
1385 struct ipu_image_convert_image *d_image = &ctx->out; in convert_start()
1502 ctx->out.base.phys0 = run->out_phys; in do_run()
1625 ctx->out.tile[cur_tile].width != ctx->out.tile[next_tile].width || in ic_settings_changed()
1626 ctx->out.tile[cur_tile].height != ctx->out.tile[next_tile].height) in ic_settings_changed()
1639 struct ipu_image_convert_image *d_image = &ctx->out; in do_tile_complete()
1744 goto out; in eof_irq()
1759 goto out; in eof_irq()
1766 goto out; in eof_irq()
1776 out: in eof_irq()
1870 chan->out_chan = ipu_idmac_get(priv->ipu, dma->out); in get_ipu_resources()
1964 void ipu_image_convert_adjust(struct ipu_image *in, struct ipu_image *out, in ipu_image_convert_adjust() argument
1972 outfmt = get_format(out->pix.pixelformat); in ipu_image_convert_adjust()
1980 out->pix.pixelformat = V4L2_PIX_FMT_RGB24; in ipu_image_convert_adjust()
1985 in->pix.field = out->pix.field = V4L2_FIELD_NONE; in ipu_image_convert_adjust()
1989 out->pix.height = max_t(__u32, out->pix.height, in ipu_image_convert_adjust()
1991 out->pix.width = max_t(__u32, out->pix.width, in ipu_image_convert_adjust()
1994 out->pix.width = max_t(__u32, out->pix.width, in ipu_image_convert_adjust()
1996 out->pix.height = max_t(__u32, out->pix.height, in ipu_image_convert_adjust()
2015 out->pix.width = clamp_align(out->pix.width, MIN_W, MAX_W, in ipu_image_convert_adjust()
2017 out->pix.height = clamp_align(out->pix.height, MIN_H, MAX_H, in ipu_image_convert_adjust()
2031 out->pix.bytesperline = outfmt->planar ? out->pix.width : in ipu_image_convert_adjust()
2032 (out->pix.width * outfmt->bpp) >> 3; in ipu_image_convert_adjust()
2033 out->pix.sizeimage = outfmt->planar ? in ipu_image_convert_adjust()
2034 (out->pix.height * out->pix.bytesperline * outfmt->bpp) >> 3 : in ipu_image_convert_adjust()
2035 out->pix.height * out->pix.bytesperline; in ipu_image_convert_adjust()
2044 int ipu_image_convert_verify(struct ipu_image *in, struct ipu_image *out, in ipu_image_convert_verify() argument
2050 testout = *out; in ipu_image_convert_verify()
2056 testout.pix.width != out->pix.width || in ipu_image_convert_verify()
2057 testout.pix.height != out->pix.height) in ipu_image_convert_verify()
2070 struct ipu_image *in, struct ipu_image *out, in ipu_image_convert_prepare() argument
2084 if (!in || !out || !complete || in ipu_image_convert_prepare()
2090 ret = ipu_image_convert_verify(in, out, rot_mode); in ipu_image_convert_prepare()
2112 ret = calc_image_resize_coefficients(ctx, in, out); in ipu_image_convert_prepare()
2117 d_image = &ctx->out; in ipu_image_convert_prepare()
2133 ret = fill_image(ctx, d_image, out, IMAGE_CONVERT_OUT); in ipu_image_convert_prepare()
2191 ctx->out.tile[i].width != ctx->out.tile[0].width || in ipu_image_convert_prepare()
2192 ctx->out.tile[i].height != ctx->out.tile[0].height) { in ipu_image_convert_prepare()
2405 struct ipu_image *in, struct ipu_image *out, in ipu_image_convert() argument
2414 ctx = ipu_image_convert_prepare(ipu, ic_task, in, out, rot_mode, in ipu_image_convert()
2427 run->out_phys = out->phys0; in ipu_image_convert()
2450 struct ipu_image *in, struct ipu_image *out, in ipu_image_convert_sync() argument
2459 run = ipu_image_convert(ipu, ic_task, in, out, rot_mode, in ipu_image_convert_sync()