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()
1389 struct ipu_image_convert_image *d_image = &ctx->out; in convert_start() local
1404 dest_width = d_image->tile[dst_tile].height; in convert_start()
1405 dest_height = d_image->tile[dst_tile].width; in convert_start()
1407 dest_width = d_image->tile[dst_tile].width; in convert_start()
1408 dest_height = d_image->tile[dst_tile].height; in convert_start()
1441 init_idmac_channel(ctx, chan->out_chan, d_image, in convert_start()
1445 init_idmac_channel(ctx, chan->rotation_in_chan, d_image, in convert_start()
1449 init_idmac_channel(ctx, chan->rotation_out_chan, d_image, in convert_start()
1456 init_idmac_channel(ctx, chan->out_chan, d_image, in convert_start()
1643 struct ipu_image_convert_image *d_image = &ctx->out; in do_tile_complete() local
1685 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1691 d_image->base.phys0 + in do_tile_complete()
1697 if (d_image->fmt->planar) in do_tile_complete()
1709 dst_tile = &d_image->tile[dst_idx]; in do_tile_complete()
1714 d_image->base.phys0 + dst_tile->offset); in do_tile_complete()
2080 struct ipu_image_convert_image *s_image, *d_image; in ipu_image_convert_prepare() local
2121 d_image = &ctx->out; in ipu_image_convert_prepare()
2125 d_image->num_rows = s_image->num_cols; in ipu_image_convert_prepare()
2126 d_image->num_cols = s_image->num_rows; in ipu_image_convert_prepare()
2128 d_image->num_rows = s_image->num_rows; in ipu_image_convert_prepare()
2129 d_image->num_cols = s_image->num_cols; in ipu_image_convert_prepare()
2132 ctx->num_tiles = d_image->num_cols * d_image->num_rows; in ipu_image_convert_prepare()
2137 ret = fill_image(ctx, d_image, out, IMAGE_CONVERT_OUT); in ipu_image_convert_prepare()
2143 find_seams(ctx, s_image, d_image); in ipu_image_convert_prepare()
2153 calc_tile_dimensions(ctx, d_image); in ipu_image_convert_prepare()
2154 ret = calc_tile_offsets(ctx, d_image); in ipu_image_convert_prepare()
2164 d_image->base.pix.ycbcr_enc, in ipu_image_convert_prepare()
2165 d_image->base.pix.quantization, in ipu_image_convert_prepare()
2166 ipu_pixelformat_to_colorspace(d_image->fmt->fourcc)); in ipu_image_convert_prepare()
2171 dump_format(ctx, d_image); in ipu_image_convert_prepare()
2191 !d_image->fmt->planar); in ipu_image_convert_prepare()
2215 unsigned long intermediate_size = d_image->tile[0].size; in ipu_image_convert_prepare()
2218 if (d_image->tile[i].size > intermediate_size) in ipu_image_convert_prepare()
2219 intermediate_size = d_image->tile[i].size; in ipu_image_convert_prepare()