Lines Matching defs:width
103 u16 width, u16 height, u16 out_width, u16 out_height,
108 u16 width, u16 height, u16 out_width, u16 out_height,
962 enum omap_plane_id plane, int width,
965 u32 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0);
974 enum omap_plane_id plane, int width,
981 val = FLD_VAL(height - 1, 26, 16) | FLD_VAL(width - 1, 10, 0);
1349 enum omap_channel channel, u16 width, u16 height)
1354 FLD_VAL(width - 1, dispc->feat->mgr_width_start, 0);
2085 static void calc_offset(u16 screen_width, u16 width,
2095 DSSDBG("scrw %d, width %d\n", screen_width, width);
2103 * YUV422 pixel size gives the correct TILER container width.
2104 * However, 'width' is in pixels and multiplying it with YUV422
2108 width *= 2;
2118 *row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) +
2132 u16 width, u16 height, u16 out_width, u16 out_height,
2147 if (out_width < width)
2165 DSSDBG("(nonactive - pos_x) * pcd = %llu max(0, DS - 2) * width = %d\n",
2166 val, max(0, ds - 2) * width);
2167 if (val < max(0, ds - 2) * width)
2176 DSSDBG("nonactive * pcd = %llu, max(0, DS - 1) * width = %d\n",
2177 val, max(0, ds - 1) * width);
2178 if (val < max(0, ds - 1) * width)
2185 const struct videomode *vm, u16 width,
2192 if (height <= out_height && width <= out_width)
2212 if (width > out_width) {
2213 tmp = (u64)pclk * width;
2224 static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width,
2227 if (height > out_height && width > out_width)
2233 static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width,
2243 if (width > 3 * out_width)
2245 else if (width > 2 * out_width)
2247 else if (width > out_width)
2259 static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width,
2271 if (width > out_width)
2272 return DIV_ROUND_UP(pclk, out_width) * width;
2280 u16 width, u16 height,
2297 in_width = width / *decim_x;
2320 DSSERR("Cannot scale max input width exceeded\n");
2329 u16 width, u16 height,
2343 in_width = width / *decim_x;
2403 DSSERR("width exceeds maximum width possible\n");
2417 u16 width, u16 height,
2438 *decim_x = DIV_ROUND_UP(width, in_width_max);
2445 in_width = width / *decim_x;
2450 DSSERR("Cannot scale width exceeds max line width\n");
2486 u16 width, u16 height,
2499 if (width == out_width && height == out_height)
2546 decim_x = DIV_ROUND_UP(DIV_ROUND_UP(width, out_width), maxhdownscale);
2549 if (decim_x > *x_predecim || out_width > width * 8)
2555 ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height,
2564 width, height,
2566 out_width / width, DIV_FRAC(out_width, width),
2570 width / decim_x, height / decim_y,
2571 out_width / (width / decim_x), DIV_FRAC(out_width, width / decim_x),
2595 u16 width, u16 height,
2612 u16 in_width = width;
2629 DSSERR("input width %d is not even for YUV format\n", in_width);
2633 out_width = out_width == 0 ? width : out_width;
2669 DSSDBG("predecimated input width is not even for YUV format\n");
2670 DSSDBG("adjusting input width %d -> %d\n",
2777 oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height,
2783 oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height,
2813 in_height, wi->width, wi->height, wi->fourcc, wi->rotation);
2816 wi->buf_width, pos_x, pos_y, in_width, in_height, wi->width,
3068 u16 width, u16 height)
3070 return width <= dispc->feat->mgr_width_max &&
4229 * Assume the line width buffer to be 768 pixels as OMAP2 DISPC scaler
4230 * cannot scale an image width larger than 768.
4561 .width = 1, .height = 1,
4601 i734_buf.size = i734.ovli.width * i734.ovli.height *