Home
last modified time | relevance | path

Searched refs:hmargin (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.patch138 - hmargin = (uint32_t)(page->hmargin * scale * page->hres * ((image->bps + 7) / 8));
140 + hmargin = _TIFFClampDoubleToUInt32(page->hmargin * scale * page->hres * ((image->bps + 7) / …
145 - hmargin = (uint32_t)(page->hmargin * scale * ((image->bps + 7) / 8));
147 + hmargin = _TIFFClampDoubleToUInt32(page->hmargin * scale * ((image->bps + 7) / 8));
151 if ((hmargin * 2.0) > (pwidth * page->hres))
156 - owidth = (uint32_t)((pwidth * page->hres) - (hmargin * 2));
158 + owidth = _TIFFClampDoubleToUInt32((pwidth * page->hres) - (hmargin * 2));
163 - owidth = (uint32_t)(iwidth - (hmargin * 2 * page->hres));
165 + owidth = _TIFFClampDoubleToUInt32(iwidth - (hmargin * 2 * page->hres));
/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
559 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2; in nv17_ctv_update_rescaler()
562 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), in nv17_ctv_update_rescaler()
563 hmargin, overscan); in nv17_ctv_update_rescaler()
568 (output_mode->hdisplay - 2*hmargin); in nv17_ctv_update_rescaler()
572 regs->fp_horiz_regs[FP_VALID_START] = hmargin; in nv17_ctv_update_rescaler()
573 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1; in nv17_ctv_update_rescaler()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i2c/
H A Dch7006_drv.c264 priv->hmargin); in ch7006_encoder_create_resources()
303 priv->hmargin = val; in ch7006_encoder_set_property()
461 priv->hmargin = 50; in ch7006_encoder_init()
H A Dch7006_priv.h90 int hmargin; member
H A Dch7006_mode.c352 * priv->hmargin * mode->vtotal) / norm->vtotal / 100 / 4; in ch7006_setup_properties()
/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
185 hmargin = 0; in drm_cvt_mode()
187 hmargin = hdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
188 hmargin -= hmargin % CVT_H_GRANULARITY; in drm_cvt_mode()
191 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
/OK3568_Linux_fs/u-boot/common/
H A Dedid.c2341 int hdisplay_rnd, hmargin, vdisplay_rnd, vmargin, vsync; in drm_cvt_mode() local
2365 hmargin = 0; in drm_cvt_mode()
2367 hmargin = hdisplay_rnd * CVT_MARGIN_PERCENTAGE / 1000; in drm_cvt_mode()
2368 hmargin -= hmargin % CVT_H_GRANULARITY; in drm_cvt_mode()
2371 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()