/drivers/media/platform/omap/ |
H A D | omap_voutlib.c | 48 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/media/platform/soc_camera/ |
H A D | soc_scale_crop.c | 29 return r1->width < r2->width || r1->height < r2->height; 37 r1->top + r1->height < r2->top + r2->height; 72 if (rect->height < subrect->height) 73 subrect->height = rect->height; 84 else if (rect->top + rect->height > 85 subrect->top + subrect->height) 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/video/console/ |
H A D | fbcon_rotate.h | 40 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 D | fbcon_ud.c | 28 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 D | fbcon_cw.c | 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; 29 int width = (vc->vc_font.height + 7) >> 3; 49 int sx, int dy, int dx, int height, int width) 55 area.sx = vxres - ((sy + height) * vc->vc_font.height); 57 area.dx = vxres - ((dy + height) * vc->vc_font.height); 59 area.width = height * vc->vc_font.height; 60 area.height 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 [all...] |
H A D | bitblit.c | 28 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 D | fbcon_ccw.c | 28 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 D | fbcon_rotate.c | 37 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/platform/s5p-tv/ |
H A D | mixer_grp_layer.c | 26 { .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 D | mixer_vp_layer.c | 27 { .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/fbdev/ |
H A D | c2p.h | 14 u32 height, u32 dst_nextline, u32 dst_nextplane, 18 u32 height, u32 dst_nextline, u32 src_nextline,
|
H A D | atafb.h | 5 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 D | atafb_mfb.c | 26 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 D | svga_overlay.h | 139 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/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 67 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/video/fbdev/sis/ |
H A D | sis_accel.c | 118 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/media/platform/vivid/ |
H A D | vivid-vid-common.c | 207 dev->src_rect.height != dev->sink_rect.height) 258 mp->height = pix->height; 284 pix->height = mp->height; 294 /* v4l2_rect helper function: copy the width/height values */ 298 r->height = size->height; 301 /* v4l2_rect helper function: width and height o [all...] |
H A D | vivid-vid-out.c | 40 unsigned h = dev->fmt_out_rect.height; 141 size = dev->bytesperline_out[p] * dev->fmt_out_rect.height + 231 dev->sink_rect.height = 480; 235 dev->sink_rect.height = 576; 243 dev->sink_rect.height = bt->height; 253 if (bt->width == 720 && bt->height <= 576) 266 dev->crop_out.height /= 2; 302 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) 303 return dev->sink_rect.height [all...] |
/drivers/media/pci/solo6x10/ |
H A D | solo6x10-enc.c | 35 unsigned long height; local 60 height = solo_dev->video_vsize; 63 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | 64 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); 68 height = solo_dev->video_vsize; 71 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | 72 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); 76 height = solo_dev->video_vsize / 2; 79 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | 80 SOLO_DIM_V_MB_NUM_FIELD(height / 1 [all...] |
/drivers/video/fbdev/savage/ |
H A D | savagefb_accel.c | 38 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/platform/vsp1/ |
H A D | vsp1_rwpf.c | 67 fse->min_height = format->height; 68 fse->max_height = format->height; 125 format->height = clamp_t(unsigned int, fmt->format.height, 137 crop->height = fmt->format.height; 169 sel->r.height = format->height; 200 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); 207 sel->r.height [all...] |
/drivers/video/fbdev/omap2/ |
H A D | vrfb.c | 138 void omap_vrfb_adjust_size(u16 *width, u16 *height, argument 142 *height = ALIGN(*height, VRFB_PAGE_HEIGHT); 146 u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) argument 154 return (width * height * bytespp) + get_extra_physical_size( 163 unsigned long height; local 174 height = (phys_size - extra) / (width * bytespp); 177 return min_t(unsigned long, height, 2048); 182 u16 width, u16 height, 193 width, height, bytesp 181 omap_vrfb_setup(struct vrfb *vrfb, unsigned long paddr, u16 width, u16 height, unsigned bytespp, bool yuv_mode) argument 243 omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) argument [all...] |
/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 42 args->size = pitch * args->height; 57 surf.height = args->height;
|
/drivers/media/usb/pwc/ |
H A D | pwc-uncompress.c | 64 pdev->width * pdev->height * 3 / 2); 73 n = pdev->width * pdev->height; 78 for (line = 0; line < pdev->height; line++) {
|
/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx_hdcs.c | 77 int width, height; member in struct:hdcs::__anon2453 289 unsigned int width, unsigned int height) 298 height = (height + 3) & ~0x3; 305 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP 306 > hdcs->array.height) 307 height = hdcs->array.height - 2 * hdcs->array.border - 310 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 288 hdcs_set_size(struct sd *sd, unsigned int width, unsigned int height) argument [all...] |