Lines Matching refs:d_image
924 struct ipu_image_convert_image *d_image = &ctx->out; in transform_tile_index() local
960 dst_row += d_image->num_rows - 1; in transform_tile_index()
961 dst_col += d_image->num_cols - 1; in transform_tile_index()
965 return dst_row * d_image->num_cols + dst_col; in transform_tile_index()
1386 struct ipu_image_convert_image *d_image = &ctx->out; in convert_start() local
1401 dest_width = d_image->tile[dst_tile].height; in convert_start()
1402 dest_height = d_image->tile[dst_tile].width; in convert_start()
1404 dest_width = d_image->tile[dst_tile].width; in convert_start()
1405 dest_height = d_image->tile[dst_tile].height; in convert_start()
1438 init_idmac_channel(ctx, chan->out_chan, d_image, in convert_start()
1442 init_idmac_channel(ctx, chan->rotation_in_chan, d_image, in convert_start()
1446 init_idmac_channel(ctx, chan->rotation_out_chan, d_image, in convert_start()
1453 init_idmac_channel(ctx, chan->out_chan, d_image, in convert_start()
1640 struct ipu_image_convert_image *d_image = &ctx->out; in do_tile_complete() local
1682 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1688 d_image->base.phys0 + in do_tile_complete()
1694 if (d_image->fmt->planar) in do_tile_complete()
1706 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1711 d_image->base.phys0 + dst_tile->offset); in do_tile_complete()
2077 struct ipu_image_convert_image *s_image, *d_image; in ipu_image_convert_prepare() local
2118 d_image = &ctx->out; in ipu_image_convert_prepare()
2122 d_image->num_rows = s_image->num_cols; in ipu_image_convert_prepare()
2123 d_image->num_cols = s_image->num_rows; in ipu_image_convert_prepare()
2125 d_image->num_rows = s_image->num_rows; in ipu_image_convert_prepare()
2126 d_image->num_cols = s_image->num_cols; in ipu_image_convert_prepare()
2129 ctx->num_tiles = d_image->num_cols * d_image->num_rows; in ipu_image_convert_prepare()
2134 ret = fill_image(ctx, d_image, out, IMAGE_CONVERT_OUT); in ipu_image_convert_prepare()
2140 find_seams(ctx, s_image, d_image); in ipu_image_convert_prepare()
2150 calc_tile_dimensions(ctx, d_image); in ipu_image_convert_prepare()
2151 ret = calc_tile_offsets(ctx, d_image); in ipu_image_convert_prepare()
2161 d_image->base.pix.ycbcr_enc, in ipu_image_convert_prepare()
2162 d_image->base.pix.quantization, in ipu_image_convert_prepare()
2163 ipu_pixelformat_to_colorspace(d_image->fmt->fourcc)); in ipu_image_convert_prepare()
2168 dump_format(ctx, d_image); in ipu_image_convert_prepare()
2188 !d_image->fmt->planar); in ipu_image_convert_prepare()
2212 unsigned long intermediate_size = d_image->tile[0].size; in ipu_image_convert_prepare()
2215 if (d_image->tile[i].size > intermediate_size) in ipu_image_convert_prepare()
2216 intermediate_size = d_image->tile[i].size; in ipu_image_convert_prepare()