Lines Matching defs:width
15 * resizer must be 1024 or less in both width (pixels) and height
95 u32 width;
120 /* # of columns (vertical stripes) if dest width is > 1024 */
129 int uv_width_dec; /* decimation in width for U/V planes */
347 ic_image->base.pix.width, ic_image->base.pix.height,
411 u32 downsized_width = in->rect.width;
415 u32 resized_width = out->rect.width;
424 resized_height = out->rect.width;
662 * Fill in left position and width and for all tiles in an input column, and
682 in_tile->width = in_width;
689 out_tile->width = out_width;
697 * tiles are in a column, and output tile left position and width are set.
718 out_tile->width = out_height;
736 unsigned int resized_width = out->base.rect.width;
748 unsigned int in_right = in->base.rect.width;
750 unsigned int out_right = out->base.rect.width;
756 /* Switch width/height and align top left to IRT block size */
758 resized_height = out->base.rect.width;
764 out_bottom = out->base.rect.width;
776 * Align input width to burst length if the scaling step flips
881 tile->width;
884 tile->stride = tile->width;
888 (image->fmt->bpp * tile->width) >> 3;
898 tile->width, tile->height, tile->left, tile->top);
900 if (!tile->width || tile->width > max_width ||
904 "output", tile->width, tile->height);
1149 resized_width = out_tile->width;
1151 resize_coeff_h = calc_resize_coeff(in_tile->width,
1160 * width (output width or height) to burst size.
1165 * Calculate input width from the last accessed input pixel
1166 * given resized width and scaling coefficients. Round up to
1184 out_tile->width = resized_width;
1186 in_tile->width = in_width;
1204 resized_height = out_tile->width;
1217 * height (output width or height) to IDMAC limitations.
1222 * Calculate input width from the last accessed input pixel
1239 out_tile->width = resized_height;
1302 u32 width, height, stride;
1316 width = image->tile[tile_idx[0]].height;
1317 height = image->tile[tile_idx[0]].width;
1323 width = image->tile[tile_idx[0]].width;
1336 tile_image.pix.width = tile_image.rect.width = width;
1366 burst_size = (width % 16) ? 8 : 16;
1370 ipu_ic_task_idma_init(chan->ic, channel, width, height,
1403 /* swap width/height for resizer */
1405 dest_height = d_image->tile[dst_tile].width;
1407 dest_width = d_image->tile[dst_tile].width;
1420 __func__, s_image->tile[tile].width,
1425 s_image->tile[tile].width,
1627 ctx->in.tile[cur_tile].width != ctx->in.tile[next_tile].width ||
1629 ctx->out.tile[cur_tile].width != ctx->out.tile[next_tile].width ||
1943 ic_image->stride = ic_image->base.pix.width;
1994 in->pix.width / 4);
1995 out->pix.width = max_t(__u32, out->pix.width,
1998 out->pix.width = max_t(__u32, out->pix.width,
1999 in->pix.width / 4);
2004 /* align input width/height */
2009 in->pix.width = clamp_align(in->pix.width, MIN_W, MAX_W,
2014 /* align output width/height */
2019 out->pix.width = clamp_align(out->pix.width, MIN_W, MAX_W,
2026 clamp_align(in->pix.width, 2 << w_align_in, MAX_W,
2028 clamp_align((in->pix.width * infmt->bpp) >> 3,
2035 out->pix.bytesperline = outfmt->planar ? out->pix.width :
2036 (out->pix.width * outfmt->bpp) >> 3;
2058 if (testin.pix.width != in->pix.width ||
2060 testout.pix.width != out->pix.width ||
2193 if (ctx->in.tile[i].width != ctx->in.tile[0].width ||
2195 ctx->out.tile[i].width != ctx->out.tile[0].width ||