Home
last modified time | relevance | path

Searched refs:max_height (Results 1 – 25 of 39) sorted by relevance

12

/linux-3.4.99/drivers/media/video/gspca/
Dw996Xcf.c396 max_width, max_height; in w9968cf_set_crop_window() local
400 max_height = 288; in w9968cf_set_crop_window()
403 max_height = 480; in w9968cf_set_crop_window()
426 fh = SC(sd->gspca_dev.height) / max_height; in w9968cf_set_crop_window()
429 ch = (fw >= fh) ? SC(sd->gspca_dev.height) / fw : max_height; in w9968cf_set_crop_window()
432 sd->sensor_height = max_height; in w9968cf_set_crop_window()
435 y = (max_height - ch) / 2; in w9968cf_set_crop_window()
/linux-3.4.99/include/media/
Dsh_mobile_ceu.h22 int max_height; member
/linux-3.4.99/drivers/media/video/omap3isp/
Dispresizer.c807 unsigned int max_height; in resizer_calc_ratios() local
818 max_height = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) / 64 + 1; in resizer_calc_ratios()
819 max_height = min_t(unsigned int, max_height, MAX_OUT_HEIGHT); in resizer_calc_ratios()
820 output->height = clamp(output->height, min_height, max_height); in resizer_calc_ratios()
1235 unsigned int max_height = in resizer_try_crop() local
1239 crop->height = clamp_t(u32, crop->height, min_height, max_height); in resizer_try_crop()
1421 fse->max_height = format.height; in resizer_enum_frame_size()
/linux-3.4.99/include/linux/
Dv4l2-subdev.h92 __u32 max_height; member
/linux-3.4.99/drivers/media/video/
Dsh_mobile_ceu_camera.c117 int max_height; member
1096 mf.height > pcdev->max_height) && shift < 4) { in sh_mobile_ceu_get_formats()
1398 unsigned int max_width, max_height; in client_s_fmt() local
1428 max_height = min(cap.bounds.height, pcdev->max_height); in client_s_fmt()
1436 tmp_w < max_width && tmp_h < max_height) { in client_s_fmt()
1438 tmp_h = min(2 * tmp_h, max_height); in client_s_fmt()
1568 if (mf.width > pcdev->max_width || mf.height > pcdev->max_height) in sh_mobile_ceu_set_crop()
1874 &pix->height, 4, pcdev->max_height, 2, 0); in sh_mobile_ceu_try_fmt()
1910 mf.height = pcdev->max_height; in sh_mobile_ceu_try_fmt()
2102 pcdev->max_height = pcdev->pdata->max_height ? : 1920; in sh_mobile_ceu_probe()
Dmt9v032.c352 fse->max_height = fse->min_height; in mt9v032_enum_frame_size()
Dmt9m032.c318 fse->max_height = MT9M032_ROW_SIZE_DEF; in mt9m032_enum_frame_size()
/linux-3.4.99/drivers/media/video/ivtv/
Divtvfb.c980 int max_height; in ivtvfb_init_vidmode() local
1019 max_height = itv->is_out_50hz ? 576 : 480; in ivtvfb_init_vidmode()
1021 if (osd_yres > max_height) in ivtvfb_init_vidmode()
1022 osd_yres = max_height; in ivtvfb_init_vidmode()
1028 if (osd_upper + start_window.height > max_height + 1) { in ivtvfb_init_vidmode()
1036 start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); in ivtvfb_init_vidmode()
/linux-3.4.99/drivers/gpu/drm/exynos/
Dexynos_drm_connector.c229 unsigned int max_width, unsigned int max_height) in exynos_drm_connector_fill_modes() argument
238 height = max_height; in exynos_drm_connector_fill_modes()
Dexynos_drm_fb.c210 dev->mode_config.max_height = 4096; in exynos_drm_mode_config_init()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_display.c310 dev->mode_config.max_height = 2048; in nouveau_display_create()
314 dev->mode_config.max_height = 4096; in nouveau_display_create()
317 dev->mode_config.max_height = 8192; in nouveau_display_create()
/linux-3.4.99/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h141 uint32_t max_width, uint32_t max_height);
Dvmwgfx_fb.c52 unsigned max_height; member
144 (var->yoffset + var->yres) > par->max_height) { in vmw_fb_check_var()
447 par->max_height = fb_height; in vmw_fb_init()
Dvmwgfx_kms.c1439 dev->mode_config.max_height = 8192; in vmw_kms_init()
1905 uint32_t max_width, uint32_t max_height) in vmw_du_connector_fill_modes() argument
1948 bmode->vdisplay > max_height) in vmw_du_connector_fill_modes()
2024 rects[i].y + rects[i].h > mode_config->max_height) { in vmw_kms_update_layout_ioctl()
/linux-3.4.99/drivers/gpu/drm/
Ddrm_fb_helper.c1242 height = dev->mode_config.max_height; in drm_setup_crtcs()
1324 dev->mode_config.max_height); in drm_fb_helper_initial_config()
1355 u32 max_width, max_height, bpp_sel; in drm_fb_helper_hotplug_event() local
1378 max_height = fb_helper->fb->height; in drm_fb_helper_hotplug_event()
1382 max_height); in drm_fb_helper_hotplug_event()
Ddrm_crtc.c1193 card_res->max_height = dev->mode_config.max_height; in drm_mode_getresources()
1440 dev->mode_config.max_height); in drm_mode_getconnector()
2095 if ((config->min_height > r.height) || (r.height > config->max_height)) in drm_mode_addfb()
2221 if ((config->min_height > r->height) || (r->height > config->max_height)) { in drm_mode_addfb2()
2223 r->height, config->min_height, config->max_height); in drm_mode_addfb2()
/linux-3.4.99/include/drm/
Ddrm_mode.h108 __u32 min_height, max_height; member
Ddrm_crtc.h434 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
763 int max_width, max_height; member
/linux-3.4.99/drivers/gpu/drm/udl/
Dudl_modeset.c393 dev->mode_config.max_height = 2048; in udl_modeset_init()
/linux-3.4.99/drivers/media/video/bt8xx/
Dbttv-driver.c2149 __s32 max_height; in limit_scaled_size_lock() local
2174 max_height = b->height; in limit_scaled_size_lock()
2180 max_height -= btv->vbi_end - b->top; in limit_scaled_size_lock()
2182 if (min_height > max_height) in limit_scaled_size_lock()
2193 max_height = c->max_scaled_height; in limit_scaled_size_lock()
2204 max_height >>= !V4L2_FIELD_HAS_BOTH(field); in limit_scaled_size_lock()
2208 *height = clamp(*height, min_height, max_height); in limit_scaled_size_lock()
2226 *height > max_height || in limit_scaled_size_lock()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_display.c1266 rdev->ddev->mode_config.max_height = 16384; in radeon_modeset_init()
1269 rdev->ddev->mode_config.max_height = 8192; in radeon_modeset_init()
1272 rdev->ddev->mode_config.max_height = 4096; in radeon_modeset_init()
/linux-3.4.99/drivers/media/video/davinci/
Dvpbe_display.c537 int max_height; in vpbe_try_format() local
564 max_height = vpbe_dev->current_timings.yres; in vpbe_try_format()
574 (pixfmt->height > max_height)) { in vpbe_try_format()
Dvpfe_capture.c820 u32 min_height = 1, min_width = 32, max_width, max_height; in vpfe_check_format() local
896 max_height = vpfe_dev->std_info.active_lines; in vpfe_check_format()
903 pixfmt->height = clamp((pixfmt->height), min_height, max_height); in vpfe_check_format()
/linux-3.4.99/drivers/gpu/drm/gma500/
Dframebuffer.c786 dev->mode_config.max_height = 4096; in psb_modeset_init()
/linux-3.4.99/drivers/staging/omapdrm/
Domap_drv.c401 dev->mode_config.max_height = 2048; in omap_modeset_init()

12