Home
last modified time | relevance | path

Searched refs:hscale (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/media/i2c/
H A Dtw9910.c219 u16 hscale; member
239 .hscale = 0x0100,
246 .hscale = 0x0100,
253 .hscale = 0x0200,
260 .hscale = 0x0200,
267 .hscale = 0x0400,
274 .hscale = 0x0400,
284 .hscale = 0x0100,
291 .hscale = 0x0100,
298 .hscale = 0x0200,
[all …]
H A Dbt819.c65 int hscale; member
186 init[0x08 * 2 - 1] = timing->hscale >> 8; in bt819_init()
187 init[0x09 * 2 - 1] = timing->hscale & 0xff; in bt819_init()
277 bt819_write(decoder, 0x08, (timing->hscale >> 8) & 0xff); in bt819_s_std()
278 bt819_write(decoder, 0x09, timing->hscale & 0xff); in bt819_s_std()
/linux/drivers/gpu/drm/
H A Ddrm_rect.c174 int hscale = drm_calc_scale(src_w, dst_w); in drm_rect_calc_hscale() local
176 if (hscale < 0 || dst_w == 0) in drm_rect_calc_hscale()
177 return hscale; in drm_rect_calc_hscale()
179 if (hscale < min_hscale || hscale > max_hscale) in drm_rect_calc_hscale()
182 return hscale; in drm_rect_calc_hscale()
H A Ddrm_atomic_helper.c904 int hscale, vscale; in drm_atomic_helper_check_plane_state() local
931 hscale = drm_rect_calc_hscale(src, dst, min_scale, max_scale); in drm_atomic_helper_check_plane_state()
933 if (hscale < 0 || vscale < 0) { in drm_atomic_helper_check_plane_state()
/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c411 u32 hscale = 0x0; in medusa_set_resolution() local
432 hscale = 0x13E34B; in medusa_set_resolution()
437 hscale = 0x10A273; in medusa_set_resolution()
442 hscale = 0x3115B2; in medusa_set_resolution()
447 hscale = 0x378D84; in medusa_set_resolution()
452 hscale = 0x0; in medusa_set_resolution()
460 HSCALE_CTRL + (0x200 * decoder), hscale); in medusa_set_resolution()
/linux/Documentation/userspace-api/media/v4l/
H A Dselection-api-examples.rst74 double hscale, vscale;
84 hscale = (double)compose.r.width / crop.r.width;
H A Dcrop.rst271 double hscale, vscale;
306 hscale = format.fmt.pix.width / (double) crop.c.width;
311 aspect = aspect * hscale / vscale;
/linux/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c57 bool hscale = true, vscale = true; in radeon_legacy_rmx_mode_set() local
115 hscale = false; in radeon_legacy_rmx_mode_set()
124 hscale = false; in radeon_legacy_rmx_mode_set()
132 if (!hscale) in radeon_legacy_rmx_mode_set()
/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c257 geo->hscale = ((totalwidth*4096UL)/xsf-4096); in bttv_calc_geo_old()
310 geo->hscale = (c_width * 4096U + (width >> 1)) / width - 4096; in bttv_calc_geo()
347 btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off); in bttv_apply_geo()
348 btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off); in bttv_apply_geo()
H A Dbttvp.h139 u16 width,hscale,hdelay; member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c1015 int hscale, vscale; in intel_plane_check_clipping() local
1025 hscale = drm_rect_calc_hscale(src, dst, min_scale, max_scale); in intel_plane_check_clipping()
1027 if (hscale < 0 || vscale < 0) { in intel_plane_check_clipping()
H A Dintel_display_types.h738 int hscale; member
/linux/drivers/media/usb/em28xx/
H A Dem28xx.h583 unsigned int hscale; /* horizontal scale factor (see datasheet) */ member