Home
last modified time | relevance | path

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

12

/drivers/media/i2c/
A Dtw9910.c240 .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,
306 .vscale = 0x0200,
[all …]
A Dbt819.c66 int vscale; member
A Dmt9m114.c1241 unsigned int vscale; in mt9m114_pa_set_fmt() local
1248 vscale = DIV_ROUND_CLOSEST(crop->height, fmt->format.height ? : 1); in mt9m114_pa_set_fmt()
1250 format->height = crop->height / clamp(vscale, 1U, 2U); in mt9m114_pa_set_fmt()
/drivers/gpu/drm/i915/display/
A Dskl_scaler.c372 int vscale = 0; in intel_atomic_setup_scaler() local
438 vscale = drm_rect_calc_vscale(src, dst, 1, max_vscale); in intel_atomic_setup_scaler()
440 if (hscale < 0 || vscale < 0) { in intel_atomic_setup_scaler()
477 if (hscale < 0 || vscale < 0) { in intel_atomic_setup_scaler()
489 scaler_state->scalers[*scaler_id].vscale = vscale; in intel_atomic_setup_scaler()
738 int hscale, vscale; in skl_pfit_enable() local
755 vscale = drm_rect_calc_vscale(&src, dst, 0, INT_MAX); in skl_pfit_enable()
758 uv_rgb_vphase = skl_scaler_calc_phase(1, vscale, false); in skl_pfit_enable()
800 int hscale, vscale; in skl_program_plane_scaler() local
806 vscale = drm_rect_calc_vscale(&plane_state->uapi.src, in skl_program_plane_scaler()
[all …]
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()
A Dintel_pfit.c114 int hscale, vscale, max_scale = 0x12000; /* 1.125 */ in intel_pch_pfit_check_scaling() local
129 vscale = drm_rect_calc_vscale(&src, dst, 0, max_scale); in intel_pch_pfit_check_scaling()
130 if (vscale < 0) { in intel_pch_pfit_check_scaling()
136 return vscale; in intel_pch_pfit_check_scaling()
A Dintel_plane.c1004 int hscale, vscale; in intel_plane_check_clipping() local
1015 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale); in intel_plane_check_clipping()
1016 if (hscale < 0 || vscale < 0) { in intel_plane_check_clipping()
/drivers/gpu/drm/
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()
A Ddrm_atomic_helper.c902 int hscale, vscale; in drm_atomic_helper_check_plane_state() local
930 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale); in drm_atomic_helper_check_plane_state()
931 if (hscale < 0 || vscale < 0) { in drm_atomic_helper_check_plane_state()
/drivers/gpu/drm/sun4i/
A Dsun8i_vi_scaler.c930 u32 hscale, u32 vscale, u32 hphase, u32 vphase, in sun8i_vi_scaler_setup() argument
942 vscale <<= SUN8I_VI_SCALER_SCALE_FRAC - 16; in sun8i_vi_scaler_setup()
980 SUN8I_SCALER_VSU_YVSTEP(base), vscale); in sun8i_vi_scaler_setup()
994 vscale / format->vsub); in sun8i_vi_scaler_setup()
1000 hscale, vscale, format); in sun8i_vi_scaler_setup()
A Dsun8i_ui_scaler.c150 u32 hscale, u32 vscale, u32 hphase, u32 vphase) in sun8i_ui_scaler_setup() argument
164 vscale <<= SUN8I_UI_SCALER_SCALE_FRAC - 16; in sun8i_ui_scaler_setup()
176 SUN8I_SCALER_GSU_VSTEP(base), vscale); in sun8i_ui_scaler_setup()
A Dsun8i_ui_layer.c90 u32 hscale, vscale; in sun8i_ui_layer_update_coord() local
95 vscale = state->src_h / state->crtc_h; in sun8i_ui_layer_update_coord()
99 dst_w, dst_h, hscale, vscale, in sun8i_ui_layer_update_coord()
105 dst_w, dst_h, hscale, vscale, in sun8i_ui_layer_update_coord()
A Dsun8i_ui_scaler.h41 u32 hscale, u32 vscale, u32 hphase, u32 vphase);
A Dsun8i_vi_layer.c124 u32 hscale, vscale, fps; in sun8i_vi_layer_update_coord() local
156 vscale = (src_h << 16) / dst_h; in sun8i_vi_layer_update_coord()
159 dst_h, hscale, vscale, hphase, vphase, in sun8i_vi_layer_update_coord()
A Dsun8i_vi_scaler.h75 u32 hscale, u32 vscale, u32 hphase, u32 vphase,
/drivers/media/platform/renesas/vsp1/
A Dvsp1_uds.c271 unsigned int vscale; in uds_configure_stream() local
278 vscale = uds_compute_ratio(input->height, output->height); in uds_configure_stream()
280 dev_dbg(uds->entity.vsp1->dev, "hscale %u vscale %u\n", hscale, vscale); in uds_configure_stream()
287 if (uds->scale_alpha && (hscale >= 8192 || vscale >= 8192)) in uds_configure_stream()
299 (uds_passband_width(vscale) in uds_configure_stream()
305 (vscale << VI6_UDS_SCALE_VFRAC_SHIFT)); in uds_configure_stream()
/drivers/media/pci/cx25821/
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()
/drivers/media/pci/tw68/
A Dtw68-video.c256 int vactive, vdelay, vscale; in tw68_set_scale() local
285 vscale = (vactive * 256) / height; in tw68_set_scale()
294 hactive, hdelay, hscale, vactive, vdelay, vscale); in tw68_set_scale()
308 comb = ((vscale & 0xf00) >> 4) | ((hscale & 0xf00) >> 8); in tw68_set_scale()
310 __func__, comb, vscale, hscale); in tw68_set_scale()
312 tw_writeb(TW68_VSCALE_LO, vscale); in tw68_set_scale()
/drivers/media/pci/bt8xx/
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()
A Dbttvp.h140 u16 sheight,vscale,vdelay,vtotal; member
/drivers/media/usb/em28xx/
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
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()
1521 &v4l2->hscale, &v4l2->vscale); in em28xx_set_video_format()
[all …]
A Dem28xx.h584 unsigned int vscale; /* vertical scale factor (see datasheet) */ member
/drivers/gpu/drm/radeon/
A Dradeon_legacy_crtc.c57 bool hscale = true, vscale = true; in radeon_legacy_rmx_mode_set() local
116 vscale = false; in radeon_legacy_rmx_mode_set()
126 vscale = false; in radeon_legacy_rmx_mode_set()
144 if (!vscale) in radeon_legacy_rmx_mode_set()
/drivers/media/platform/rockchip/rkvdec/
A Drkvdec-vp9.c653 u32 hscale, vscale; in config_registers() local
656 vscale = (refh << 14) / dst->vp9.height; in config_registers()
658 RKVDEC_VP9_REF_VER_SCALE(vscale), in config_registers()
/drivers/media/platform/chips-media/coda/
A Dcoda-common.c661 int vscale = 0; in coda_try_fmt_vid_cap() local
681 vscale = coda_jpeg_scale(q_data_src->height, f->fmt.pix.height); in coda_try_fmt_vid_cap()
684 f->fmt.pix.height = q_data_src->height >> vscale; in coda_try_fmt_vid_cap()
715 f->fmt.pix.height = round_up(f->fmt.pix.height, 16 >> vscale); in coda_try_fmt_vid_cap()
861 int vscale = 0; in coda_s_fmt_vid_cap() local
869 vscale = coda_jpeg_scale(q_data_src->height, f->fmt.pix.height); in coda_s_fmt_vid_cap()
879 r.height = q_data_src->height >> vscale; in coda_s_fmt_vid_cap()

Completed in 73 milliseconds

12