Home
last modified time | relevance | path

Searched refs:border (Results 1 – 4 of 4) sorted by relevance

/drivers/media/platform/vivid/
Dvivid-tpg.c818 tpg->border.left = 0; in tpg_calculate_square_border()
819 tpg->border.width = w; in tpg_calculate_square_border()
820 tpg->border.top = 0; in tpg_calculate_square_border()
821 tpg->border.height = h; in tpg_calculate_square_border()
827 tpg->border.width = ((4 * h) / 3) & ~1; in tpg_calculate_square_border()
828 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
829 tpg->border.width -= 2; in tpg_calculate_square_border()
830 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
833 tpg->border.height = ((3 * w) / 4) & ~1; in tpg_calculate_square_border()
834 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
[all …]
Dvivid-tpg.h107 struct v4l2_rect border; member
/drivers/gpu/drm/i915/
Dintel_panel.c174 u32 border, sync_pos, blank_width, sync_width; in centre_horizontally() local
181 border = (mode->hdisplay - width + 1) / 2; in centre_horizontally()
182 border += border & 1; /* make the border even */ in centre_horizontally()
185 mode->crtc_hblank_start = width + border; in centre_horizontally()
196 u32 border, sync_pos, blank_width, sync_width; in centre_vertically() local
203 border = (mode->vdisplay - height + 1) / 2; in centre_vertically()
206 mode->crtc_vblank_start = height + border; in centre_vertically()
248 u32 *border) in i9xx_scale_aspect() argument
267 *border = LVDS_BORDER_ENABLE; in i9xx_scale_aspect()
283 *border = LVDS_BORDER_ENABLE; in i9xx_scale_aspect()
[all …]
/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c78 int border; member
305 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP in hdcs_set_size()
307 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
392 hdcs->array.border = 4; in hdcs_probe_1x00()
454 hdcs->array.border = 4; in hdcs_probe_1020()