Home
last modified time | relevance | path

Searched refs:vmargin (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libtiff/tiff/
H A D0001-fix-the-FPE-in-tiffcrop-415-427-and-428.patch139 - vmargin = (uint32_t)(page->vmargin * scale * page->vres * ((image->bps + 7) / 8));
141 + vmargin = _TIFFClampDoubleToUInt32(page->vmargin * scale * page->vres * ((image->bps + 7) / …
146 - vmargin = (uint32_t)(page->vmargin * scale * ((image->bps + 7) / 8));
148 + vmargin = _TIFFClampDoubleToUInt32(page->vmargin * scale * ((image->bps + 7) / 8));
157 - olength = (uint32_t)((plength * page->vres) - (vmargin * 2));
159 + olength = _TIFFClampDoubleToUInt32((plength * page->vres) - (vmargin * 2));
164 - olength = (uint32_t)(ilength - (vmargin * 2 * page->vres));
166 + olength = _TIFFClampDoubleToUInt32(ilength - (vmargin * 2 * page->vres));
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c551 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local
560 vmargin = (output_mode->vdisplay - crtc_mode->vdisplay) / 2; in nv17_ctv_update_rescaler()
564 vmargin = interpolate(0, min(vmargin, output_mode->vdisplay/20), in nv17_ctv_update_rescaler()
565 vmargin, overscan); in nv17_ctv_update_rescaler()
570 (output_mode->vdisplay - 2*vmargin) & ~3; in nv17_ctv_update_rescaler()
574 regs->fp_vert_regs[FP_VALID_START] = vmargin; in nv17_ctv_update_rescaler()
575 regs->fp_vert_regs[FP_VALID_END] = output_mode->vdisplay - vmargin - 1; in nv17_ctv_update_rescaler()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_modes.c157 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
200 vmargin = 0; in drm_cvt_mode()
202 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
241 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + in drm_cvt_mode()
253 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
301 tmp2 = vdisplay_rnd + 2 * vmargin; in drm_cvt_mode()
309 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i2c/
H A Dch7006_drv.c266 priv->vmargin); in ch7006_encoder_create_resources()
311 priv->vmargin = val; in ch7006_encoder_set_property()
462 priv->vmargin = 50; in ch7006_encoder_init()
H A Dch7006_priv.h91 int vmargin; member
H A Dch7006_mode.c358 + norm->voffset) * priv->vmargin / 100 / 2; in ch7006_setup_properties()
/OK3568_Linux_fs/u-boot/common/
H A Dedid.c2341 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
2380 vmargin = 0; in drm_cvt_mode()
2382 vmargin = vdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
2384 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
2421 tmp2 = (vdisplay_rnd + 2 * vmargin + CVT_MIN_V_PORCH) * 2 + in drm_cvt_mode()
2434 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
2482 tmp2 = vdisplay_rnd + 2 * vmargin; in drm_cvt_mode()
2490 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()