Lines Matching defs:out
27 * of 4*4 or 16 tiles. A conversion is then carried out for each
88 int out;
162 struct ipu_image_convert_image out;
236 .out = IPUV3_CHANNEL_IC_PRP_VF_MEM,
245 .out = IPUV3_CHANNEL_IC_PP_MEM,
412 struct ipu_image *out)
418 u32 resized_width = out->rect.width;
419 u32 resized_height = out->rect.height;
426 resized_width = out->rect.height;
427 resized_height = out->rect.width;
448 * out of the decimator, but not overshoot it:
484 * Rotation and image offsets are out of scope.
669 struct ipu_image_convert_image *out,
678 out_tile = &out->tile[ctx->out_tile_map[tile_idx]];
701 struct ipu_image_convert_image *out,
710 out_tile = &out->tile[ctx->out_tile_map[tile_idx]];
732 struct ipu_image_convert_image *out)
735 unsigned int resized_width = out->base.rect.width;
736 unsigned int resized_height = out->base.rect.height;
741 unsigned int out_left_align = tile_left_align(out->fmt);
742 unsigned int out_top_align = tile_top_align(out->fmt);
743 unsigned int out_width_align = tile_width_align(out->type, out->fmt,
745 unsigned int out_height_align = tile_height_align(out->type, out->fmt,
749 unsigned int out_right = out->base.rect.width;
750 unsigned int out_bottom = out->base.rect.height;
756 resized_width = out->base.rect.height;
757 resized_height = out->base.rect.width;
762 out_right = out->base.rect.height;
763 out_bottom = out->base.rect.width;
793 out, flipped_out_left, out_right - out_left);
807 out, flipped_out_left, out_right);
831 out, flipped_out_top, out_bottom - out_top);
848 out, flipped_out_top, out_bottom);
923 struct ipu_image_convert_image *d_image = &ctx->out;
1140 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1175 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1197 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1232 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1385 struct ipu_image_convert_image *d_image = &ctx->out;
1502 ctx->out.base.phys0 = run->out_phys;
1576 * the bottom half thread clears out the done_q, calling the
1594 * the done_q is cleared out, signal any contexts
1625 ctx->out.tile[cur_tile].width != ctx->out.tile[next_tile].width ||
1626 ctx->out.tile[cur_tile].height != ctx->out.tile[next_tile].height)
1639 struct ipu_image_convert_image *d_image = &ctx->out;
1744 goto out;
1759 goto out;
1766 goto out;
1776 out:
1783 * abort wait times out in ipu_image_convert_abort().
1870 chan->out_chan = ipu_idmac_get(priv->ipu, dma->out);
1964 void ipu_image_convert_adjust(struct ipu_image *in, struct ipu_image *out,
1972 outfmt = get_format(out->pix.pixelformat);
1980 out->pix.pixelformat = V4L2_PIX_FMT_RGB24;
1985 in->pix.field = out->pix.field = V4L2_FIELD_NONE;
1989 out->pix.height = max_t(__u32, out->pix.height,
1991 out->pix.width = max_t(__u32, out->pix.width,
1994 out->pix.width = max_t(__u32, out->pix.width,
1996 out->pix.height = max_t(__u32, out->pix.height,
2015 out->pix.width = clamp_align(out->pix.width, MIN_W, MAX_W,
2017 out->pix.height = clamp_align(out->pix.height, MIN_H, MAX_H,
2031 out->pix.bytesperline = outfmt->planar ? out->pix.width :
2032 (out->pix.width * outfmt->bpp) >> 3;
2033 out->pix.sizeimage = outfmt->planar ?
2034 (out->pix.height * out->pix.bytesperline * outfmt->bpp) >> 3 :
2035 out->pix.height * out->pix.bytesperline;
2044 int ipu_image_convert_verify(struct ipu_image *in, struct ipu_image *out,
2050 testout = *out;
2056 testout.pix.width != out->pix.width ||
2057 testout.pix.height != out->pix.height)
2070 struct ipu_image *in, struct ipu_image *out,
2084 if (!in || !out || !complete ||
2089 /* verify the in/out images before continuing */
2090 ret = ipu_image_convert_verify(in, out, rot_mode);
2092 dev_err(priv->ipu->dev, "%s: in/out formats invalid\n",
2112 ret = calc_image_resize_coefficients(ctx, in, out);
2117 d_image = &ctx->out;
2133 ret = fill_image(ctx, d_image, out, IMAGE_CONVERT_OUT);
2191 ctx->out.tile[i].width != ctx->out.tile[0].width ||
2192 ctx->out.tile[i].height != ctx->out.tile[0].height) {
2261 * Carry out a single image conversion run. Only the physaddr's of the input
2405 struct ipu_image *in, struct ipu_image *out,
2414 ctx = ipu_image_convert_prepare(ipu, ic_task, in, out, rot_mode,
2427 run->out_phys = out->phys0;
2450 struct ipu_image *in, struct ipu_image *out,
2459 run = ipu_image_convert(ipu, ic_task, in, out, rot_mode,