Home
last modified time | relevance | path

Searched refs:vscale (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/media/i2c/
H A Dtw9910.c220 u16 vscale; member
240 .vscale = 0x0100,
247 .vscale = 0x0100,
254 .vscale = 0x0200,
261 .vscale = 0x0200,
268 .vscale = 0x0400,
275 .vscale = 0x0400,
285 .vscale = 0x0100,
292 .vscale = 0x0100,
299 .vscale = 0x0200,
[all …]
H A Dbt819.c66 int vscale; member
/linux/drivers/gpu/drm/
H A Ddrm_rect.c209 int vscale = drm_calc_scale(src_h, dst_h); in drm_rect_calc_vscale() local
211 if (vscale < 0 || dst_h == 0) in drm_rect_calc_vscale()
212 return vscale; in drm_rect_calc_vscale()
214 if (vscale < min_vscale || vscale > max_vscale) in drm_rect_calc_vscale()
217 return vscale; in drm_rect_calc_vscale()
H A Ddrm_atomic_helper.c905 int hscale, vscale; in drm_atomic_helper_check_plane_state() local
933 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale); in drm_atomic_helper_check_plane_state()
934 if (hscale < 0 || vscale < 0) { in drm_atomic_helper_check_plane_state()
/linux/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c222 u16 vscale; /* vertical scaling factor, 10/11 */ member
249 .vscale = 40960
269 .vscale = 51232
288 .vscale = 65535
637 ns2501_writeb(dvo, NS2501_REG10, conf->vscale & 0xff); in ns2501_mode_set()
638 ns2501_writeb(dvo, NS2501_REG11, conf->vscale >> 8); in ns2501_mode_set()
H A Dintel_plane.c1020 int hscale, vscale; in intel_plane_check_clipping() local
1031 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale); in intel_plane_check_clipping()
1032 if (hscale < 0 || vscale < 0) { in intel_plane_check_clipping()
/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c412 u32 vscale = 0x0; in medusa_set_resolution() local
433 vscale = 0x0; in medusa_set_resolution()
438 vscale = 0x0; in medusa_set_resolution()
443 vscale = 0x1E00; in medusa_set_resolution()
448 vscale = 0x1E00; in medusa_set_resolution()
453 vscale = 0x0; in medusa_set_resolution()
462 VSCALE_CTRL + (0x200 * decoder), vscale); in medusa_set_resolution()
/linux/Documentation/userspace-api/media/v4l/
H A Dselection-api-examples.rst74 double hscale, vscale;
85 vscale = (double)compose.r.height / crop.r.height;
H A Dcrop.rst271 double hscale, vscale;
307 vscale = format.fmt.pix.height / (double) crop.c.height;
311 aspect = aspect * hscale / vscale;
/linux/drivers/media/pci/bt8xx/
H A Dbttv-risc.c262 geo->vscale = (0x10000UL-sr) & 0x1fff; in bttv_calc_geo_old()
265 geo->vscale |= interleaved ? (BT848_VSCALE_INT<<8) : 0; in bttv_calc_geo_old()
318 geo->vscale = (0x10000UL - sr) & 0x1fff; in bttv_calc_geo()
319 geo->vscale |= both_fields ? (BT848_VSCALE_INT << 8) : 0; in bttv_calc_geo()
349 btaor((geo->vscale>>8), 0xe0, BT848_E_VSCALE_HI+off); in bttv_apply_geo()
350 btwrite(geo->vscale & 0xff, BT848_E_VSCALE_LO+off); in bttv_apply_geo()
H A Dbttvp.h140 u16 sheight,vscale,vdelay,vtotal; member
/linux/drivers/media/usb/em28xx/
H A Dem28xx-video.c344 return em28xx_scaler_set(dev, v4l2->hscale, v4l2->vscale); in em28xx_resolution_set()
1375 unsigned int *hscale, unsigned int *vscale) in size_to_scale() argument
1384 *vscale = (((unsigned long)maxh) << 12) / height - 4096L; in size_to_scale()
1385 if (*vscale > EM28XX_HVSCALE_MAX) in size_to_scale()
1386 *vscale = EM28XX_HVSCALE_MAX; in size_to_scale()
1390 unsigned int hscale, unsigned int vscale, in scale_to_size() argument
1397 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L); in scale_to_size()
1452 unsigned int hscale, vscale; in vidioc_try_fmt_vid_cap() local
1487 size_to_scale(dev, width, height, &hscale, &vscale); in vidioc_try_fmt_vid_cap()
1488 scale_to_size(dev, hscale, vscale, &width, &height); in vidioc_try_fmt_vid_cap()
[all …]
H A Dem28xx.h584 unsigned int vscale; /* vertical scale factor (see datasheet) */ member
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vp9.c619 u32 hscale, vscale; in config_registers() local
622 vscale = (refh << 14) / dst->vp9.height; in config_registers()
625 regs->vp9.reg29_31[i].ref_ver_scale = vscale; in config_registers()
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-common.c666 int vscale = 0; in coda_try_fmt_vid_cap() local
686 vscale = coda_jpeg_scale(q_data_src->height, f->fmt.pix.height); in coda_try_fmt_vid_cap()
689 f->fmt.pix.height = q_data_src->height >> vscale; in coda_try_fmt_vid_cap()
720 f->fmt.pix.height = round_up(f->fmt.pix.height, 16 >> vscale); in coda_try_fmt_vid_cap()
864 int vscale = 0; in coda_s_fmt_vid_cap() local
872 vscale = coda_jpeg_scale(q_data_src->height, f->fmt.pix.height); in coda_s_fmt_vid_cap()
882 r.height = q_data_src->height >> vscale; in coda_s_fmt_vid_cap()