Searched refs:width (Results 1 - 25 of 898) sorted by relevance

1234567891011>>

/drivers/media/platform/omap/
H A Domap_voutlib.c46 crop->width = (pix->width < fbuf->fmt.width) ?
47 pix->width : fbuf->fmt.width;
50 crop->width &= ~1;
52 crop->left = ((pix->width - crop->width) >> 1) & ~1;
75 try_win.width += try_win.left;
82 try_win.width
[all...]
/drivers/video/console/
H A Dfbcon_rotate.h40 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) argument
43 int shift = (8 - (width % 8)) & 7;
45 width = (width + 7) & ~7;
48 for (j = 0; j < width - shift; j++) {
49 if (pattern_test_bit(j, i, width, in))
50 pattern_set_bit(width - (1 + j + shift),
52 width, out);
58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) argument
60 int i, j, h = height, w = width;
76 rotate_ccw(const char *in, char *out, u32 width, u32 height) argument
[all...]
H A Dfbcon_ccw.c29 int width = (vc->vc_font.height + 7) >> 3; local
39 for (i = 0; i < vc->vc_font.width; i++) {
40 for (j = 0; j < width; j++) {
44 if (j == width - 1)
47 if (msk1 && j == width - 2)
52 *(dst - width) |= c;
64 int sx, int dy, int dx, int height, int width)
71 area.sy = vyres - ((sx + width) * vc->vc_font.width);
73 area.dy = vyres - ((dx + width) * v
63 ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
80 ccw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
135 u32 width = (vc->vc_font.height + 7)/8; local
309 int width = (vc->vc_font.width + 7)/8; local
[all...]
H A Dfbcon_cw.c29 int width = (vc->vc_font.height + 7) >> 3; local
32 for (i = 0; i < vc->vc_font.width; i++) {
33 for (j = 0; j < width; j++) {
38 c |= *(src-width);
49 int sx, int dy, int dx, int height, int width)
56 area.sy = sx * vc->vc_font.width;
58 area.dy = dx * vc->vc_font.width;
59 area.width = height * vc->vc_font.height;
60 area.height = width * vc->vc_font.width;
48 cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
65 cw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
120 u32 width = (vc->vc_font.height + 7)/8; local
292 int width = (vc->vc_font.width + 7)/8; local
[all...]
H A Dfbcon_ud.c29 int width = (vc->vc_font.width + 7) >> 3; local
30 unsigned int cellsize = vc->vc_font.height * width;
33 offset = offset * width;
49 int sx, int dy, int dx, int height, int width)
57 area.sx = vxres - ((sx + width) * vc->vc_font.width);
59 area.dx = vxres - ((dx + width) * vc->vc_font.width);
61 area.width
48 ud_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
66 ud_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
157 u32 width = (vc->vc_font.width + 7)/8; local
[all...]
/drivers/video/fbdev/
H A Datafb.h5 int dx, int height, int width);
7 int sy, int sx, int height, int width);
9 int dy, int dx, u32 width,
13 int dx, int height, int width);
15 int sy, int sx, int height, int width);
17 int dy, int dx, u32 width,
21 int dx, int height, int width);
23 int sy, int sx, int height, int width);
25 int dy, int dx, u32 width,
29 int dx, int height, int width);
[all...]
H A Datafb_mfb.c26 int height, int width)
31 if (sx == 0 && dx == 0 && width == next_line) {
32 src = (u8 *)info->screen_base + sy * (width >> 3);
33 dest = (u8 *)info->screen_base + dy * (width >> 3);
34 fb_memmove(dest, src, height * (width >> 3));
39 fb_memmove(dest, src, width >> 3);
47 fb_memmove(dest, src, width >> 3);
55 int sy, int sx, int height, int width)
62 if (sx == 0 && width == next_line) {
64 fb_memset255(dest, height * (width >>
24 atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
54 atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
77 atafb_mfb_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument
[all...]
H A Dc2p.h13 extern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width,
17 extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width,
H A Datafb_iplan2p2.c26 int height, int width)
57 width -= 8;
59 w = width >> 4;
72 if (width & 15)
73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL),
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL);
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL);
79 if ((sx + width) & 15) {
83 width
24 atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
193 atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
239 atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument
[all...]
H A Datafb_iplan2p4.c26 int height, int width)
57 width -= 8;
59 w = width >> 4;
72 if (width & 15)
73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL),
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL);
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL);
79 if ((sx + width) & 15) {
83 width
24 atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
207 atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
253 atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument
[all...]
H A Dc2p_iplan2.c78 * @width: Image width (in pixels)
85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument
100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16));
105 w = width;
106 if (dst_idx+width <= 16) {
110 memcpy(d.pixels+dst_idx, c, width);
111 c += width;
117 w = width;
127 w = width
[all...]
H A Dc2p_planar.c78 * @width: Image width (in pixels)
86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, argument
101 last = ~(0xffffffffU >> ((dst_idx+width) % 32));
105 w = width;
106 if (dst_idx+width <= 32) {
110 memcpy(d.pixels+dst_idx, c, width);
111 c += width;
118 w = width;
129 w = width
[all...]
H A Datafb_iplan2p8.c33 int height, int width)
64 width -= 8;
66 w = width >> 4;
79 if (width & 15)
80 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL),
83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL);
84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL);
86 if ((sx + width) & 15) {
90 width
31 atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, int dx, int height, int width) argument
242 atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color, int sy, int sx, int height, int width) argument
288 atafb_iplan2p8_linefill(struct fb_info *info, u_long next_line, int dy, int dx, u32 width, const u8 *data, u32 bgcolor, u32 fgcolor) argument
[all...]
/drivers/media/platform/soc_camera/
H A Dsoc_scale_crop.c29 return r1->width < r2->width || r1->height < r2->height;
36 r1->left + r1->width < r2->left + r2->width ||
69 if (rect->width < subrect->width)
70 subrect->width = rect->width;
77 else if (rect->left + rect->width >
78 subrect->left + subrect->width)
104 unsigned int width, height; local
222 unsigned int width = mf->width, height = mf->height, tmp_w, tmp_h; local
305 soc_camera_client_scale(struct soc_camera_device *icd, struct v4l2_rect *rect, struct v4l2_rect *subrect, struct v4l2_mbus_framefmt *mf, unsigned int *width, unsigned int *height, bool host_can_scale, unsigned int shift) argument
[all...]
/drivers/media/platform/s5p-tv/
H A Dmixer_grp_layer.c26 { .width = 1, .height = 1, .size = 2 },
38 { .width = 1, .height = 1, .size = 2 },
50 { .width = 1, .height = 1, .size = 2 },
62 { .width = 1, .height = 1, .size = 4 },
164 x_center = dst->x_offset + dst->width / 2;
168 dst->width = round_down(dst->width, 2);
171 dst->width = round_up(dst->width, 2);
175 dst->width
[all...]
H A Dmixer_vp_layer.c27 { .width = 1, .height = 1, .size = 1 },
28 { .width = 2, .height = 2, .size = 2 },
40 { .width = 1, .height = 1, .size = 1 },
41 { .width = 2, .height = 2, .size = 2 },
53 { .width = 1, .height = 1, .size = 1 },
54 { .width = 2, .height = 2, .size = 2 },
67 { .width = 128, .height = 32, .size = 4096 },
68 { .width = 128, .height = 32, .size = 2048 },
155 x_center = dst->x_offset + dst->width / 2;
159 dst->width
[all...]
/drivers/clk/socfpga/
H A Dclk.h30 #define div_mask(width) ((1 << (width)) - 1)
47 u32 width; /* only valid if div_reg != 0 */ member in struct:socfpga_gate_clk
57 u32 width; /* only valid if div_reg != 0 */ member in struct:socfpga_periph_clk
/drivers/gpu/drm/vmwgfx/
H A Dsvga_overlay.h138 uint32 *width, /* IN / OUT */
146 *width = (*width + 1) & ~1;
155 *size = (*width + 3) & ~3;
167 tmp = ((*width >> 1) + 3) & ~3;
185 *size = *width * 2;
137 VMwareVideoGetAttributes(const SVGAOverlayFormat format, uint32 *width, uint32 *height, uint32 *size, uint32 *pitches, uint32 *offsets) argument
/drivers/clk/mxs/
H A Dclk-frac.c24 * @width: the divider bit width
34 u8 width; member in struct:clk_frac
47 div &= (1 << frac->width) - 1;
49 return (parent_rate >> frac->width) * div;
64 tmp <<= frac->width;
71 return (parent_rate >> frac->width) * div;
86 tmp <<= frac->width;
96 val &= ~(((1 << frac->width) - 1) << frac->shift);
112 void __iomem *reg, u8 shift, u8 width, u
111 mxs_clk_frac(const char *name, const char *parent_name, void __iomem *reg, u8 shift, u8 width, u8 busy) argument
[all...]
/drivers/gpu/drm/omapdrm/
H A Dtcm.h59 u16 width, height; /* container dimensions */ member in struct:tcm
66 to the list. It may also contain copies of width and height to notice
67 any changes to the publicly available width and height fields. */
71 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u8 align,
89 * width and height fits within container
94 struct tcm *sita_init(u16 width, u16 height, struct tcm_pt *attr);
118 * @param width Width(in pages) of area to be reserved.
131 static inline s32 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, argument
136 (area == NULL || width == 0 || height == 0 ||
139 (height > tcm->height || width > tc
[all...]
/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c38 if (!region->width || !region->height)
47 sx += region->width - 1;
48 dx += region->width - 1;
62 BCI_SEND(BCI_W_H(region->width, region->height));
70 if (!rect->width || !rect->height)
89 BCI_SEND( BCI_W_H(rect->width, rect->height) );
95 int fg, bg, size, i, width; local
99 if (!image->width || !image->height)
122 width = (image->width
[all...]
/drivers/acpi/acpica/
H A Dutprint.c66 u8 base, s32 width, s32 precision, u8 type);
230 * width - Field width
243 u8 base, s32 width, s32 precision, u8 type)
275 width--;
278 width--;
281 width--;
285 width--;
287 width--;
302 width
240 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) argument
362 s32 width = -1; local
[all...]
/drivers/media/common/
H A Dbtcx-risc.c99 clips[n].c.width = -win->left;
103 if (win->left + win->width > swidth) {
107 clips[n].c.width = win->width - clips[n].c.left;
115 clips[n].c.width = win->width;
123 clips[n].c.width = win->width;
138 nw = (win->width) & ~mask;
139 if (nx + nw > win->left + win->width)
187 btcx_calc_skips(int line, int width, int *maxy, struct btcx_skiplist *skips, unsigned int *nskips, const struct v4l2_clip *clips, unsigned int nclips) argument
[all...]
/drivers/dma/
H A Dfsldma.h218 #define DMA_IN(fsl_chan, addr, width) \
220 in_be##width(addr) : in_le##width(addr))
221 #define DMA_OUT(fsl_chan, addr, val, width) \
223 out_be##width(addr, val) : out_le##width(addr, val))
225 #define DMA_TO_CPU(fsl_chan, d, width) \
227 be##width##_to_cpu((__force __be##width)(v##width)
[all...]
/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c67 cmd[5] = (area->height << 16) | area->width;
76 u16 width, u16 height, u32 fgcolor,
97 bytes = (image->width + 7) >> 3;
103 cmd[8] = (height << 16) | width;
125 u16 width, u16 height, u32 fgcolor,
136 cmd[2] = (height << 16) | width;
140 bytes = image->width;
164 u16 width, u16 height, u32 fgcolor,
174 bytes = image->width << 1;
179 cmd[2] = (height << 16) | width;
75 mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument
124 mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument
163 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument
199 u16 width = image->width, height = image->height; local
260 u32 x2, y2, vxres, vyres, height, width, fg; local
[all...]

Completed in 480 milliseconds

1234567891011>>