Searched refs:height (Results 151 - 175 of 633) sorted by relevance

1234567891011>>

/drivers/media/platform/soc_camera/
H A Dmx3_camera.c216 fmt->fmt.pix.height);
722 unsigned int width, unsigned int height,
741 height_field = height - 1;
805 soc_camera_limit_side(&rect->top, &rect->height, 0, 2, 4096);
827 if (mf.width != icd->user_width || mf.height != icd->user_height)
828 configure_geometry(mx3_cam, mf.width, mf.height,
832 mf.width, mf.height);
835 icd->user_height = mf.height;
859 dev_dbg(icd->parent, "Set format %dx%d\n", pix->width, pix->height);
867 configure_geometry(mx3_cam, pix->width, pix->height, xlat
721 configure_geometry(struct mx3_camera_dev *mx3_cam, unsigned int width, unsigned int height, const struct soc_mbus_pixelfmt *fmt) argument
[all...]
/drivers/usb/misc/sisusbvga/
H A Dsisusb_con.c240 c->vc_font.height = sisusb->current_font_height;
244 rows = c->vc_scan_lines / c->vc_font.height;
425 sisusbcon_clear(struct vc_data *c, int y, int x, int height, int width) argument
433 if (width <= 0 || height <= 0)
454 sisusbcon_memsetw(dest, eattr, height * cols * 2);
458 for (i = height; i > 0; i--, dest += cols)
468 length = ((height * cols) - x - (cols - width - x)) * 2;
480 int dy, int dx, int height, int width)
486 if (width <= 0 || height <= 0)
501 length = ((height * col
479 sisusbcon_bmove(struct vc_data *c, int sy, int sx, int dy, int dx, int height, int width) argument
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_connector.c135 unsigned int width, height; local
138 height = max_height;
142 * resolution then get max width and height from that driver.
145 display->ops->get_max_resol(display, &width, &height);
148 height);
/drivers/gpu/ipu-v3/
H A Dipu-cpmem.c424 u32 pixel_format, int stride, int height)
433 u_offset = stride * height;
434 v_offset = u_offset + (uv_stride * height / 2);
440 u_offset = stride * height;
441 v_offset = u_offset + (uv_stride * height);
447 u_offset = stride * height;
504 #define U_OFFSET(pix, x, y) ((pix->width * pix->height) + \
506 #define V_OFFSET(pix, x, y) ((pix->width * pix->height) + \
507 (pix->width * pix->height / 4) + \
509 #define U2_OFFSET(pix, x, y) ((pix->width * pix->height)
423 ipu_cpmem_set_yuv_planar(struct ipuv3_channel *ch, u32 pixel_format, int stride, int height) argument
[all...]
/drivers/media/pci/zoran/
H A Dzr36016.h44 __u16 height; member in struct:zr36016
/drivers/media/platform/davinci/
H A Dvpif_capture.h89 /* Indicates height of the image data */
90 u32 height; member in struct:common_obj
H A Dvpif_display.h97 u32 height; member in struct:common_obj
H A Dvpfe_capture.c99 unsigned int height; member in struct:vpfe_standard
302 f->fmt.pix.height = image_win.height;
305 f->fmt.pix.height;
391 vpfe_standards[i].height;
407 vpfe_dev->crop.height = vpfe_dev->std_info.active_lines;
409 pix->height = vpfe_dev->crop.height;
437 pix->sizeimage = pix->bytesperline * pix->height;
446 pix->sizeimage = pix->bytesperline * pix->height;
[all...]
/drivers/media/platform/s5p-g2d/
H A Dg2d.c71 .height = DEFAULT_HEIGHT,
336 f->fmt.pix.height = frm->height;
361 if (f->fmt.pix.height > MAX_HEIGHT)
362 f->fmt.pix.height = MAX_HEIGHT;
366 if (f->fmt.pix.height < 1)
367 f->fmt.pix.height = 1;
370 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline;
400 frm->height = f->fmt.pix.height;
[all...]
/drivers/media/platform/vsp1/
H A Dvsp1_hsit.c102 fse->min_height = format->height;
103 fse->max_height = format->height;
143 format->height = clamp_t(unsigned int, fmt->format.height,
H A Dvsp1_lut.c136 fse->min_height = format->height;
137 fse->max_height = format->height;
177 format->height = clamp_t(unsigned int, fmt->format.height,
/drivers/video/fbdev/aty/
H A Dmach64_cursor.c106 h = cursor->image.height;
148 unsigned int height = cursor->image.height; local
159 for (i = 0; i < height; i++) {
/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.h104 unsigned int height; member in struct:sh_mobile_lcdc_chan::__anon7238
H A Dgoldfishfb.c188 u32 width, height; local
218 height = readl(fb->reg_base + FB_GET_HEIGHT);
230 fb->fb.var.yres = height;
232 fb->fb.var.yres_virtual = height * 2;
235 fb->fb.var.height = readl(fb->reg_base + FB_GET_PHYS_HEIGHT);
246 framesize = width * height * 2 * 2;
251 width, height, fb->fb.screen_base);
H A Dhgafb.c119 .height = -1,
464 for (rows = rect->height; rows--; y++) {
487 for (rows = area->height; rows--; ) {
495 y1 = area->sy + area->height - 1;
496 y2 = area->dy + area->height - 1;
498 for (rows = area->height; rows--;) {
516 for (rows = image->height; rows--; y++) {
H A Dssd1307fb.c50 u32 height; member in struct:ssd1307fb_par
148 array = ssd1307fb_alloc_array(par->width * par->height / 8,
154 * The screen is divided in pages, each having a height of 8
182 for (i = 0; i < (par->height / 8); i++) {
197 ssd1307fb_write_array(par->client, array, par->width * par->height / 8);
339 ret = ret & ssd1307fb_write_cmd(par->client, par->height - 1);
395 par->page_offset + (par->height / 8) - 1);
462 if (of_property_read_u32(node, "solomon,height", &par->height))
468 vmem_size = par->width * par->height /
[all...]
/drivers/gpu/drm/
H A Ddrm_fb_cma_helper.c125 unsigned int height = mode_cmd->height / (i ? vsub : 1); local
135 min_size = (height - 1) * mode_cmd->pitches[i]
193 seq_printf(m, "fb: %dx%d@%4.4s\n", fb->width, fb->height,
261 DRM_DEBUG_KMS("surface width(%d), height(%d) and bpp(%d)\n",
268 mode_cmd.height = sizes->surface_height;
273 size = mode_cmd.pitches[0] * mode_cmd.height;
307 drm_fb_helper_fill_var(fbi, helper, fb->width, fb->height);
/drivers/staging/media/omap24xx/
H A Dtcm825x.c388 unsigned int height)
391 unsigned long pixels = width * height;
395 if (tcm825x_sizes[isize + 1].height
418 enum image_size isize = tcm825x_find_size(s, pix->width, pix->height);
605 isize = tcm825x_find_size(s, pix->width, pix->height);
610 pix->height = tcm825x_sizes[isize].height;
622 pix->sizeimage = pix->bytesperline * pix->height;
872 sensor->pix.height = tcm825x_sizes[QVGA].height;
386 tcm825x_find_size(struct v4l2_int_device *s, unsigned int width, unsigned int height) argument
[all...]
/drivers/media/common/saa7146/
H A Dsaa7146_video.c152 vv->ov.win.w.width, vv->ov.win.w.height,
224 int size = buf->fmt->width*buf->fmt->height;
650 field = (f->fmt.pix.height > maxh / 2)
676 if (f->fmt.pix.height > maxh)
677 f->fmt.pix.height = maxh;
687 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * f->fmt.pix.height;
689 f->fmt.pix.width, f->fmt.pix.height,
714 if (win->w.width < 48 || win->w.height < 32) {
715 DEB_D("min width/height. (%d,%d)\n",
716 win->w.width, win->w.height);
[all...]
/drivers/media/platform/
H A Dsh_veu.c164 .height = VGA_HEIGHT, \
173 .height = VGA_HEIGHT, \
419 pix->height = vfmt->frame.height;
424 pix->sizeimage = vfmt->bytesperline * pix->height *
427 f->type, pix->sizeimage, pix->width, pix->height, pix->pixelformat);
463 &pix->height, MIN_H, MAX_H, 0, 0);
469 pix->sizeimage = pix->height * pix->bytesperline * fmt->depth / fmt->ydepth;
549 vfmt->offset_c = offset + y_line * vfmt->frame.height;
588 vfmt->frame.height
[all...]
/drivers/media/usb/em28xx/
H A Dem28xx-video.c278 u16 width, u16 height)
281 u8 cheight = height >> 2;
282 u8 overflow = (height >> 9 & 0x02) | (width >> 10 & 0x01);
297 /* FIXME: align width+height to multiples of 4 ?! */
300 em28xx_write_reg(dev, 0x35, height >> 4);
333 int height = norm_maxh(dev); local
344 em28xx_accumulator_set(dev, 1, (width - 4) >> 2, 1, (height - 4) >> 2);
354 em28xx_capture_area_set(dev, 0, 2, width, height);
356 em28xx_capture_area_set(dev, 0, 0, width, height);
384 if (v4l2->width * 2 * v4l2->height > 72
277 em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart, u16 width, u16 height) argument
1205 size_to_scale(struct em28xx *dev, unsigned int width, unsigned int height, unsigned int *hscale, unsigned int *vscale) argument
1221 scale_to_size(struct em28xx *dev, unsigned int hscale, unsigned int vscale, unsigned int *width, unsigned int *height) argument
1275 unsigned int height = f->fmt.pix.height; local
1325 em28xx_set_video_format(struct em28xx *dev, unsigned int fourcc, unsigned width, unsigned height) argument
[all...]
/drivers/media/i2c/
H A Dmt9m032.c42 * width and height include active boundary and black parts
208 - crop->height;
214 div_u64((crop->height + MT9M032_VBLANK_MAX) *
219 - crop->height;
237 sensor->crop.height - 1);
464 rect.height = clamp_t(unsigned int, ALIGN(crop->rect.height, 2),
469 rect.height = min_t(unsigned int, rect.height,
474 if (rect.width != __crop->width || rect.height !
[all...]
/drivers/media/i2c/soc_camera/
H A Dmt9v022.c290 rect.height = ALIGN(rect.height, 2);
297 soc_camera_limit_side(&rect.top, &rect.height,
305 rect.height + mt9v022->y_skip_top + 43);
315 /* Setup frame format: defaults apart from width and height */
341 rect.height + mt9v022->y_skip_top);
346 dev_dbg(&client->dev, "Frame %dx%d pixel\n", rect.width, rect.height);
369 a->bounds.height = MT9V022_MAX_HEIGHT;
385 mf->height = mt9v022->rect.height;
[all...]
H A Dov9740.c547 static void ov9740_res_roundup(u32 *width, u32 *height) argument
556 if (*height > OV9740_MAX_HEIGHT)
557 *height = OV9740_MAX_HEIGHT;
561 static int ov9740_set_res(struct i2c_client *client, u32 width, u32 height) argument
572 if ((width != OV9740_MAX_WIDTH) || (height != OV9740_MAX_HEIGHT))
579 * or the full height of the sensor (or both if the aspect ratio is
582 if ((OV9740_MAX_WIDTH * height) > (OV9740_MAX_HEIGHT * width)) {
583 scale_input_x = (OV9740_MAX_HEIGHT * width) / height;
587 scale_input_y = (OV9740_MAX_WIDTH * height) / width;
628 ret = ov9740_reg_write(client, OV9740_Y_OUTPUT_SIZE_HI, height >>
[all...]
/drivers/media/parport/
H A Dc-qcam.c53 int width, height; member in struct:qcam
286 /* Set the height and width. These refer to the actual
409 lines = qcam->height;
557 pix->height = qcam->height;
561 pix->sizeimage = 3 * qcam->width * qcam->height;
571 if (pix->height < 60 || pix->width < 80) {
572 pix->height = 60;
574 } else if (pix->height < 120 || pix->width < 160) {
575 pix->height
[all...]

Completed in 1131 milliseconds

1234567891011>>