Searched refs:height (Results 1 - 25 of 547) sorted by relevance

1234567891011>>

/drivers/media/video/omap/
H A Domap_voutlib.c48 crop->height = (pix->height < fbuf->fmt.height) ?
49 pix->height : fbuf->fmt.height;
51 crop->height &= ~1;
53 crop->top = ((pix->height - crop->height) >> 1) & ~1;
79 try_win.height += try_win.top;
84 try_win.height
[all...]
/drivers/video/console/
H A Dfbcon_rotate.h40 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) argument
47 for (i = 0; i < height; i++) {
51 height - (1 + i),
58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) argument
60 int i, j, h = height, w = width;
61 int shift = (8 - (height % 8)) & 7;
64 height = (height + 7) & ~7;
69 pattern_set_bit(height - 1 - i - shift, j,
70 height, ou
76 rotate_ccw(const char *in, char *out, u32 width, u32 height) argument
[all...]
H A Dfbcon_ud.c28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2;
30 unsigned int cellsize = vc->vc_font.height * width;
49 int sx, int dy, int dx, int height, int width)
56 area.sy = vyres - ((sy + height) * vc->vc_font.height);
58 area.dy = vyres - ((dy + height) * vc->vc_font.height);
60 area.height = height * vc->vc_font.height;
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
[all...]
H A Dfbcon_cw.c28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.height + 7) >> 3;
50 int sx, int dy, int dx, int height, int width)
56 area.sx = vxres - ((sy + height) * vc->vc_font.height);
58 area.dx = vxres - ((dy + height) * vc->vc_font.height);
60 area.width = height * vc->vc_font.height;
61 area.height
49 cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
66 cw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
[all...]
H A Dbitblit.c28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2;
30 unsigned int cellsize = vc->vc_font.height * width;
47 int sx, int dy, int dx, int height, int width)
52 area.sy = sy * vc->vc_font.height;
54 area.dy = dy * vc->vc_font.height;
55 area.height = height * vc->vc_font.height;
62 int sx, int height, int width)
69 region.dy = sy * vc->vc_font.height;
46 bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, int sx, int dy, int dx, int height, int width) argument
61 bit_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
[all...]
H A Dfbcon_ccw.c28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.height + 7) >> 3;
30 int mod = vc->vc_font.height % 8;
64 int sx, int dy, int dx, int height, int width)
70 area.sx = sy * vc->vc_font.height;
72 area.dx = dy * vc->vc_font.height;
74 area.width = height * vc->vc_font.height;
75 area.height = width * vc->vc_font.width;
81 int sx, int height, in
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
[all...]
H A Dfbcon_rotate.c37 vc->vc_font.height;
42 d_cellsize = ((vc->vc_font.height + 7)/8) *
68 vc->vc_font.height);
77 vc->vc_font.height);
85 vc->vc_font.height);
/drivers/media/video/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 },
165 y_center = dst->y_offset + dst->height / 2;
169 dst->height = round_down(dst->height, 2);
172 dst->height = round_up(dst->height, 2);
176 dst->height
[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 },
156 y_center = dst->y_offset + dst->height / 2;
160 dst->height
[all...]
/drivers/video/
H A Dc2p.h14 u32 height, u32 dst_nextline, u32 dst_nextplane,
18 u32 height, u32 dst_nextline, u32 src_nextline,
H A Datafb.h5 int dx, int height, int width);
7 int sy, int sx, int height, int width);
13 int dx, int height, int width);
15 int sy, int sx, int height, int width);
21 int dx, int height, int width);
23 int sy, int sx, int height, int width);
29 int dx, int height, int width);
31 int sy, int sx, int height, int width);
H A Datafb_mfb.c26 int height, int width)
34 fb_memmove(dest, src, height * (width >> 3));
38 for (rows = height; rows--;) {
44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3);
45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3);
46 for (rows = height; rows--;) {
55 int sy, int sx, int height, int width)
64 fb_memset255(dest, height * (width >> 3));
66 fb_memclear(dest, height * (width >> 3));
68 for (rows = height; row
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
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dsvga_overlay.h139 uint32 *height, /* IN / OUT */
154 *height = (*height + 1) & ~1;
161 *size *= *height;
173 tmp *= (*height >> 1);
191 *size *= *height;
137 VMwareVideoGetAttributes(const SVGAOverlayFormat format, uint32 *width, uint32 *height, uint32 *size, uint32 *pitches, uint32 *offsets) argument
/drivers/video/mb862xx/
H A Dmb862xxfb_accel.c67 cmd[5] = (area->height << 16) | area->width;
76 u16 width, u16 height, u32 fgcolor,
101 (GDC_CMD_BITMAP << 16) | (2 + (step * height));
103 cmd[8] = (height << 16) | width;
105 while (i < height) {
125 u16 width, u16 height, u32 fgcolor,
134 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step));
136 cmd[2] = (height << 16) | width;
142 while (i < height) {
164 u16 width, u16 height, u3
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...]
/drivers/staging/media/solo6x10/
H A Denc.c34 unsigned long height; local
48 height = solo_dev->video_vsize;
51 SOLO_DIM_V_MB_NUM_FRAME(height / 8) |
52 SOLO_DIM_V_MB_NUM_FIELD(height / 16));
56 height = solo_dev->video_vsize;
59 SOLO_DIM_V_MB_NUM_FRAME(height / 8) |
60 SOLO_DIM_V_MB_NUM_FIELD(height / 16));
64 height = solo_dev->video_vsize / 2;
67 SOLO_DIM_V_MB_NUM_FRAME(height / 8) |
68 SOLO_DIM_V_MB_NUM_FIELD(height / 1
[all...]
/drivers/video/sis/
H A Dsis_accel.c118 int src_y, int dst_x, int dst_y, int width, int height)
139 src_y += height-1;
140 dst_y += height-1;
142 SiS300SetupRect(width, height)
205 int dst_x, int dst_y, int width, int height)
221 if((mymax - mymin) < height) {
244 SiS310SetupRect(width, height)
324 int width, height; local
335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres)
340 height
117 SiS300SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, int src_y, int dst_x, int dst_y, int width, int height) argument
204 SiS310SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, int src_y, int dst_x, int dst_y, int width, int height) argument
375 int height = area->height; local
[all...]
/drivers/staging/media/go7007/
H A Dwis-i2c.h37 unsigned int height; member in struct:video_decoder_resolution
/drivers/video/omap2/
H A Dvrfb.c114 void omap_vrfb_adjust_size(u16 *width, u16 *height, argument
118 *height = ALIGN(*height, VRFB_PAGE_HEIGHT);
122 u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) argument
130 return (width * height * bytespp) + get_extra_physical_size(
139 unsigned long height; local
150 height = (phys_size - extra) / (width * bytespp);
153 return min_t(unsigned long, height, 2048);
158 u16 width, u16 height,
169 width, height, bytesp
157 omap_vrfb_setup(struct vrfb *vrfb, unsigned long paddr, u16 width, u16 height, unsigned bytespp, bool yuv_mode) argument
217 omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) argument
[all...]
/drivers/video/matrox/
H A Dmatroxfb_accel.c200 int sx, int dy, int dx, int height, int width)
223 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo);
225 dy += height-1;
231 mga_ydstlen(dy, height);
238 int sy, int sx, int dy, int dx, int height,
262 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo);
264 dy += height-1;
271 mga_outl(M_LEN | M_EXEC, height);
283 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, area->width >> 1);
289 matrox_accel_bmove(minfo, minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, area->height, are
199 matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument
237 matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument
292 matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color, int sy, int sx, int height, int width) argument
321 matroxfb_cfb4_clear(struct matrox_fb_info *minfo, u_int32_t bgx, int sy, int sx, int height, int width) argument
388 matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx, u_int32_t bgx, const u_int8_t *chardata, int width, int height, int yy, int xx) argument
[all...]
/drivers/video/savage/
H A Dsavagefb_accel.c38 if (!region->width || !region->height)
54 sy += region->height - 1;
55 dy += region->height - 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) );
99 if (!image->width || !image->height)
123 size = (width * image->height)/8;
132 BCI_SEND(BCI_W_H(width, image->height));
/drivers/media/video/
H A Dsh_mobile_ceu_camera.c133 unsigned int height; member in struct:sh_mobile_ceu_cam
214 unsigned int height; local
223 height = fmt->fmt.pix.height;
228 height = icd->user_height;
233 sizes[0] = bytes_per_line * height;
665 unsigned int height, width, cdwdr_width, in_width, in_height; local
708 height = icd->user_height;
709 in_height = cam->height;
711 height
1279 unsigned int width, height; local
1397 unsigned int width = mf->width, height = mf->height, tmp_w, tmp_h; local
1472 client_scale(struct soc_camera_device *icd, struct v4l2_mbus_framefmt *mf, unsigned int *width, unsigned int *height, bool ceu_can_scale) argument
1858 int width, height; local
[all...]
H A Dbtcx-risc.c100 clips[n].c.height = win->height;
108 clips[n].c.height = win->height;
116 clips[n].c.height = -win->top;
119 if (win->top + win->height > sheight) {
124 clips[n].c.height = win->height - clips[n].c.top;
146 win->width, win->height, win->left, win->top, dx);
158 clips[i].c.width, clips[i].c.height,
[all...]
/drivers/media/video/pwc/
H A Dpwc-uncompress.c64 pdev->width * pdev->height * 3 / 2);
73 n = pdev->width * pdev->height;
78 for (line = 0; line < pdev->height; line++) {
/drivers/media/video/gspca/stv06xx/
H A Dstv06xx_hdcs.c137 int width, height; member in struct:hdcs::__anon1605
376 unsigned int width, unsigned int height)
385 height = (height + 3) & ~0x3;
392 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP
393 > hdcs->array.height)
394 height = hdcs->array.height - 2 * hdcs->array.border -
397 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) /
375 hdcs_set_size(struct sd *sd, unsigned int width, unsigned int height) argument
[all...]
/drivers/staging/omapdrm/
H A Dtcm.h59 u16 width, height; /* container dimensions */ member in struct:tcm
64 to the list. It may also contain copies of width and height to notice
65 any changes to the publicly available width and height fields. */
69 s32 (*reserve_2d)(struct tcm *tcm, u16 height, u16 width, u8 align,
87 * width and height fits within container
92 struct tcm *sita_init(u16 width, u16 height, struct tcm_pt *attr);
115 * @param height Height(in pages) of area to be reserved.
129 static inline s32 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, argument
134 (area == NULL || width == 0 || height == 0 ||
137 (height > tc
[all...]

Completed in 429 milliseconds

1234567891011>>