Lines Matching refs:d_image
909 struct ipu_image_convert_image *d_image = &ctx->out; in transform_tile_index() local
945 dst_row += d_image->num_rows - 1; in transform_tile_index()
946 dst_col += d_image->num_cols - 1; in transform_tile_index()
950 return dst_row * d_image->num_cols + dst_col; in transform_tile_index()
1371 struct ipu_image_convert_image *d_image = &ctx->out; in convert_start() local
1386 dest_width = d_image->tile[dst_tile].height; in convert_start()
1387 dest_height = d_image->tile[dst_tile].width; in convert_start()
1389 dest_width = d_image->tile[dst_tile].width; in convert_start()
1390 dest_height = d_image->tile[dst_tile].height; in convert_start()
1423 init_idmac_channel(ctx, chan->out_chan, d_image, in convert_start()
1427 init_idmac_channel(ctx, chan->rotation_in_chan, d_image, in convert_start()
1431 init_idmac_channel(ctx, chan->rotation_out_chan, d_image, in convert_start()
1438 init_idmac_channel(ctx, chan->out_chan, d_image, in convert_start()
1625 struct ipu_image_convert_image *d_image = &ctx->out; in do_tile_complete() local
1667 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1673 d_image->base.phys0 + in do_tile_complete()
1679 if (d_image->fmt->planar) in do_tile_complete()
1691 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1696 d_image->base.phys0 + dst_tile->offset); in do_tile_complete()
2062 struct ipu_image_convert_image *s_image, *d_image; in ipu_image_convert_prepare() local
2103 d_image = &ctx->out; in ipu_image_convert_prepare()
2107 d_image->num_rows = s_image->num_cols; in ipu_image_convert_prepare()
2108 d_image->num_cols = s_image->num_rows; in ipu_image_convert_prepare()
2110 d_image->num_rows = s_image->num_rows; in ipu_image_convert_prepare()
2111 d_image->num_cols = s_image->num_cols; in ipu_image_convert_prepare()
2114 ctx->num_tiles = d_image->num_cols * d_image->num_rows; in ipu_image_convert_prepare()
2119 ret = fill_image(ctx, d_image, out, IMAGE_CONVERT_OUT); in ipu_image_convert_prepare()
2125 find_seams(ctx, s_image, d_image); in ipu_image_convert_prepare()
2135 calc_tile_dimensions(ctx, d_image); in ipu_image_convert_prepare()
2136 ret = calc_tile_offsets(ctx, d_image); in ipu_image_convert_prepare()
2146 d_image->base.pix.ycbcr_enc, in ipu_image_convert_prepare()
2147 d_image->base.pix.quantization, in ipu_image_convert_prepare()
2148 ipu_pixelformat_to_colorspace(d_image->fmt->fourcc)); in ipu_image_convert_prepare()
2153 dump_format(ctx, d_image); in ipu_image_convert_prepare()
2173 !d_image->fmt->planar); in ipu_image_convert_prepare()
2197 unsigned long intermediate_size = d_image->tile[0].size; in ipu_image_convert_prepare()
2200 if (d_image->tile[i].size > intermediate_size) in ipu_image_convert_prepare()
2201 intermediate_size = d_image->tile[i].size; in ipu_image_convert_prepare()