Lines Matching defs:out
24 * of 4*4 or 16 tiles. A conversion is then carried out for each
85 int out;
159 struct ipu_image_convert_image out;
233 .out = IPUV3_CHANNEL_IC_PRP_VF_MEM,
242 .out = IPUV3_CHANNEL_IC_PP_MEM,
409 struct ipu_image *out)
415 u32 resized_width = out->rect.width;
416 u32 resized_height = out->rect.height;
423 resized_width = out->rect.height;
424 resized_height = out->rect.width;
445 * out of the decimator, but not overshoot it:
481 * Rotation and image offsets are out of scope.
670 struct ipu_image_convert_image *out,
679 out_tile = &out->tile[ctx->out_tile_map[tile_idx]];
702 struct ipu_image_convert_image *out,
711 out_tile = &out->tile[ctx->out_tile_map[tile_idx]];
733 struct ipu_image_convert_image *out)
736 unsigned int resized_width = out->base.rect.width;
737 unsigned int resized_height = out->base.rect.height;
742 unsigned int out_left_align = tile_left_align(out->fmt);
743 unsigned int out_top_align = tile_top_align(out->fmt);
744 unsigned int out_width_align = tile_width_align(out->type, out->fmt,
746 unsigned int out_height_align = tile_height_align(out->type, out->fmt,
750 unsigned int out_right = out->base.rect.width;
751 unsigned int out_bottom = out->base.rect.height;
757 resized_width = out->base.rect.height;
758 resized_height = out->base.rect.width;
763 out_right = out->base.rect.height;
764 out_bottom = out->base.rect.width;
794 out, flipped_out_left, out_right - out_left);
808 out, flipped_out_left, out_right);
832 out, flipped_out_top, out_bottom - out_top);
849 out, flipped_out_top, out_bottom);
924 struct ipu_image_convert_image *d_image = &ctx->out;
1144 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1179 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1201 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1236 out_tile = &ctx->out.tile[ctx->out_tile_map[tile_idx]];
1389 struct ipu_image_convert_image *d_image = &ctx->out;
1506 ctx->out.base.phys0 = run->out_phys;
1580 * the bottom half thread clears out the done_q, calling the
1598 * the done_q is cleared out, signal any contexts
1629 ctx->out.tile[cur_tile].width != ctx->out.tile[next_tile].width ||
1630 ctx->out.tile[cur_tile].height != ctx->out.tile[next_tile].height)
1643 struct ipu_image_convert_image *d_image = &ctx->out;
1748 goto out;
1763 goto out;
1770 goto out;
1780 out:
1787 * abort wait times out in ipu_image_convert_abort().
1874 chan->out_chan = ipu_idmac_get(priv->ipu, dma->out);
1968 void ipu_image_convert_adjust(struct ipu_image *in, struct ipu_image *out,
1976 outfmt = get_format(out->pix.pixelformat);
1984 out->pix.pixelformat = V4L2_PIX_FMT_RGB24;
1989 in->pix.field = out->pix.field = V4L2_FIELD_NONE;
1993 out->pix.height = max_t(__u32, out->pix.height,
1995 out->pix.width = max_t(__u32, out->pix.width,
1998 out->pix.width = max_t(__u32, out->pix.width,
2000 out->pix.height = max_t(__u32, out->pix.height,
2019 out->pix.width = clamp_align(out->pix.width, MIN_W, MAX_W,
2021 out->pix.height = clamp_align(out->pix.height, MIN_H, MAX_H,
2035 out->pix.bytesperline = outfmt->planar ? out->pix.width :
2036 (out->pix.width * outfmt->bpp) >> 3;
2037 out->pix.sizeimage = outfmt->planar ?
2038 (out->pix.height * out->pix.bytesperline * outfmt->bpp) >> 3 :
2039 out->pix.height * out->pix.bytesperline;
2048 int ipu_image_convert_verify(struct ipu_image *in, struct ipu_image *out,
2054 testout = *out;
2060 testout.pix.width != out->pix.width ||
2061 testout.pix.height != out->pix.height)
2074 struct ipu_image *in, struct ipu_image *out,
2088 if (!in || !out || !complete ||
2093 /* verify the in/out images before continuing */
2094 ret = ipu_image_convert_verify(in, out, rot_mode);
2096 dev_err(priv->ipu->dev, "%s: in/out formats invalid\n",
2116 ret = calc_image_resize_coefficients(ctx, in, out);
2121 d_image = &ctx->out;
2137 ret = fill_image(ctx, d_image, out, IMAGE_CONVERT_OUT);
2195 ctx->out.tile[i].width != ctx->out.tile[0].width ||
2196 ctx->out.tile[i].height != ctx->out.tile[0].height) {
2265 * Carry out a single image conversion run. Only the physaddr's of the input
2409 struct ipu_image *in, struct ipu_image *out,
2418 ctx = ipu_image_convert_prepare(ipu, ic_task, in, out, rot_mode,
2431 run->out_phys = out->phys0;
2454 struct ipu_image *in, struct ipu_image *out,
2463 run = ipu_image_convert(ipu, ic_task, in, out, rot_mode,