Lines Matching defs:width
105 u16 width, u16 height, u16 out_width, u16 out_height,
110 u16 width, u16 height, u16 out_width, u16 out_height,
972 enum omap_plane_id plane, int width,
975 u32 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0);
984 enum omap_plane_id plane, int width,
991 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0);
1359 enum omap_channel channel, u16 width, u16 height)
1364 FLD_VAL(width - 1, dispc->feat->mgr_width_start, 0);
2094 static void calc_offset(u16 screen_width, u16 width,
2104 DSSDBG("scrw %d, width %d\n", screen_width, width);
2112 * YUV422 pixel size gives the correct TILER container width.
2113 * However, 'width' is in pixels and multiplying it with YUV422
2117 width *= 2;
2127 *row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) +
2141 u16 width, u16 height, u16 out_width, u16 out_height,
2156 if (out_width < width)
2174 DSSDBG("(nonactive - pos_x) * pcd = %llu max(0, DS - 2) * width = %d\n",
2175 val, max(0, ds - 2) * width);
2176 if (val < max(0, ds - 2) * width)
2185 DSSDBG("nonactive * pcd = %llu, max(0, DS - 1) * width = %d\n",
2186 val, max(0, ds - 1) * width);
2187 if (val < max(0, ds - 1) * width)
2194 const struct videomode *vm, u16 width,
2201 if (height <= out_height && width <= out_width)
2221 if (width > out_width) {
2222 tmp = (u64)pclk * width;
2233 static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width,
2236 if (height > out_height && width > out_width)
2242 static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width,
2252 if (width > 3 * out_width)
2254 else if (width > 2 * out_width)
2256 else if (width > out_width)
2268 static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width,
2280 if (width > out_width)
2281 return DIV_ROUND_UP(pclk, out_width) * width;
2289 u16 width, u16 height,
2306 in_width = width / *decim_x;
2329 DSSERR("Cannot scale max input width exceeded\n");
2338 u16 width, u16 height,
2352 in_width = width / *decim_x;
2412 DSSERR("width exceeds maximum width possible\n");
2426 u16 width, u16 height,
2447 *decim_x = DIV_ROUND_UP(width, in_width_max);
2454 in_width = width / *decim_x;
2459 DSSERR("Cannot scale width exceeds max line width\n");
2500 u16 width, u16 height,
2513 if (width == out_width && height == out_height)
2560 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxhdownscale);
2563 if (decim_x > *x_predecim || out_width > width * 8)
2569 ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height,
2578 width, height,
2580 out_width / width, DIV_FRAC(out_width, width),
2584 width / decim_x, height / decim_y,
2585 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x),
2604 void dispc_ovl_get_max_size(struct dispc_device *dispc, u16 *width, u16 *height)
2606 *width = dispc->feat->ovl_width_max;
2615 u16 width, u16 height,
2634 u16 in_width = width;
2651 DSSERR("input width %d is not even for YUV format\n", in_width);
2655 out_width = out_width == 0 ? width : out_width;
2691 DSSDBG("predecimated input width is not even for YUV format\n");
2692 DSSDBG("adjusting input width %d -> %d\n",
2802 oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height,
2808 oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height,
2839 in_height, wi->width, wi->height, wi->fourcc, wi->rotation);
2842 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width,
3095 u16 width, u16 height)
3097 return width <= dispc->feat->mgr_width_max &&
4256 * Assume the line width buffer to be 768 pixels as OMAP2 DISPC scaler
4257 * cannot scale an image width larger than 768.
4600 .width = 1, .height = 1,
4640 i734_buf.size = i734.ovli.width * i734.ovli.height *