Searched refs:vscale (Results 1 - 24 of 24) sorted by relevance

/linux-master/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_scaler.h41 u32 hscale, u32 vscale, u32 hphase, u32 vphase);
H A Dsun8i_ui_scaler.c150 u32 hscale, u32 vscale, u32 hphase, u32 vphase)
164 vscale <<= SUN8I_UI_SCALER_SCALE_FRAC - 16;
176 SUN8I_SCALER_GSU_VSTEP(base), vscale);
148 sun8i_ui_scaler_setup(struct sun8i_mixer *mixer, int layer, u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, u32 hscale, u32 vscale, u32 hphase, u32 vphase) argument
H A Dsun8i_vi_scaler.h75 u32 hscale, u32 vscale, u32 hphase, u32 vphase,
H A Dsun8i_ui_layer.c136 u32 hscale, vscale; local
141 vscale = state->src_h / state->crtc_h;
144 dst_h, hscale, vscale, hphase, vphase);
H A Dsun8i_vi_layer.c171 u32 hscale, vscale, fps; local
203 vscale = (src_h << 16) / dst_h;
206 dst_h, hscale, vscale, hphase, vphase,
H A Dsun8i_vi_scaler.c928 u32 hscale, u32 vscale, u32 hphase, u32 vphase,
940 vscale <<= SUN8I_VI_SCALER_SCALE_FRAC - 16;
978 SUN8I_SCALER_VSU_YVSTEP(base), vscale);
992 vscale / format->vsub);
998 hscale, vscale, format);
926 sun8i_vi_scaler_setup(struct sun8i_mixer *mixer, int layer, u32 src_w, u32 src_h, u32 dst_w, u32 dst_h, u32 hscale, u32 vscale, u32 hphase, u32 vphase, const struct drm_format_info *format) argument
/linux-master/drivers/gpu/drm/
H A Ddrm_rect.c210 int vscale = drm_calc_scale(src_h, dst_h); local
212 if (vscale < 0 || dst_h == 0)
213 return vscale;
215 if (vscale < min_vscale || vscale > max_vscale)
218 return vscale;
H A Ddrm_atomic_helper.c871 int hscale, vscale; local
899 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale);
900 if (hscale < 0 || vscale < 0) {
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_uds.c265 unsigned int vscale; local
274 vscale = uds_compute_ratio(input->height, output->height);
276 dev_dbg(uds->entity.vsp1->dev, "hscale %u vscale %u\n", hscale, vscale);
283 if (uds->scale_alpha && (hscale >= 8192 || vscale >= 8192))
295 (uds_passband_width(vscale)
301 (vscale << VI6_UDS_SCALE_VFRAC_SHIFT));
/linux-master/drivers/media/i2c/
H A Dtw9910.c225 u16 vscale; member in struct:tw9910_scale_ctrl
245 .vscale = 0x0100,
252 .vscale = 0x0100,
259 .vscale = 0x0200,
266 .vscale = 0x0200,
273 .vscale = 0x0400,
280 .vscale = 0x0400,
290 .vscale = 0x0100,
297 .vscale = 0x0100,
304 .vscale
[all...]
H A Dbt819.c66 int vscale; member in struct:timing
H A Dmt9m114.c1221 unsigned int vscale; local
1228 vscale = DIV_ROUND_CLOSEST(crop->height, fmt->format.height ? : 1);
1230 format->height = crop->height / clamp(vscale, 1U, 2U);
/linux-master/drivers/gpu/drm/i915/display/
H A Dskl_scaler.c425 int hscale, vscale, max_vscale, max_hscale; local
464 vscale = drm_rect_calc_vscale(src, dst, 1, max_vscale);
466 if (hscale < 0 || vscale < 0) {
720 int hscale, vscale; local
737 vscale = drm_rect_calc_vscale(&src, dst, 0, INT_MAX);
740 uv_rgb_vphase = skl_scaler_calc_phase(1, vscale, false);
779 int hscale, vscale; local
785 vscale = drm_rect_calc_vscale(&plane_state->uapi.src,
793 y_vphase = skl_scaler_calc_phase(1, vscale, false);
797 uv_rgb_vphase = skl_scaler_calc_phase(2, vscale, fals
[all...]
H A Ddvo_ns2501.c222 u16 vscale; /* vertical scaling factor, 10/11 */ member in struct:ns2501_configuration
249 .vscale = 40960
269 .vscale = 51232
288 .vscale = 65535
637 ns2501_writeb(dvo, NS2501_REG10, conf->vscale & 0xff);
638 ns2501_writeb(dvo, NS2501_REG11, conf->vscale >> 8);
H A Dintel_atomic_plane.c911 int hscale, vscale; local
922 vscale = drm_rect_calc_vscale(src, dst, min_scale, max_scale);
923 if (hscale < 0 || vscale < 0) {
/linux-master/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c412 u32 vscale = 0x0; local
433 vscale = 0x0;
438 vscale = 0x0;
443 vscale = 0x1E00;
448 vscale = 0x1E00;
453 vscale = 0x0;
462 VSCALE_CTRL + (0x200 * decoder), vscale);
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-risc.c262 geo->vscale = (0x10000UL-sr) & 0x1fff;
265 geo->vscale |= interleaved ? (BT848_VSCALE_INT<<8) : 0;
318 geo->vscale = (0x10000UL - sr) & 0x1fff;
319 geo->vscale |= both_fields ? (BT848_VSCALE_INT << 8) : 0;
349 btaor((geo->vscale>>8), 0xe0, BT848_E_VSCALE_HI+off);
350 btwrite(geo->vscale & 0xff, BT848_E_VSCALE_LO+off);
H A Dbttvp.h140 u16 sheight,vscale,vdelay,vtotal; member in struct:bttv_geometry
/linux-master/drivers/media/pci/tw68/
H A Dtw68-video.c256 int vactive, vdelay, vscale; local
285 vscale = (vactive * 256) / height;
292 pr_debug("%s: hactive=%d, hdelay=%d, hscale=%d; vactive=%d, vdelay=%d, vscale=%d\n",
294 hactive, hdelay, hscale, vactive, vdelay, vscale);
308 comb = ((vscale & 0xf00) >> 4) | ((hscale & 0xf00) >> 8);
310 __func__, comb, vscale, hscale);
312 tw_writeb(TW68_VSCALE_LO, vscale);
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-video.c344 return em28xx_scaler_set(dev, v4l2->hscale, v4l2->vscale);
1377 unsigned int *hscale, unsigned int *vscale)
1386 *vscale = (((unsigned long)maxh) << 12) / height - 4096L;
1387 if (*vscale > EM28XX_HVSCALE_MAX)
1388 *vscale = EM28XX_HVSCALE_MAX;
1392 unsigned int hscale, unsigned int vscale,
1399 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L);
1454 unsigned int hscale, vscale; local
1489 size_to_scale(dev, width, height, &hscale, &vscale);
1490 scale_to_size(dev, hscale, vscale,
1375 size_to_scale(struct em28xx *dev, unsigned int width, unsigned int height, unsigned int *hscale, unsigned int *vscale) argument
1391 scale_to_size(struct em28xx *dev, unsigned int hscale, unsigned int vscale, unsigned int *width, unsigned int *height) argument
[all...]
H A Dem28xx.h583 unsigned int vscale; /* vertical scale factor (see datasheet) */ member in struct:em28xx_v4l2
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c57 bool hscale = true, vscale = true; local
116 vscale = false;
126 vscale = false;
144 if (!vscale)
/linux-master/drivers/staging/media/rkvdec/
H A Drkvdec-vp9.c653 u32 hscale, vscale; local
656 vscale = (refh << 14) / dst->vp9.height;
658 RKVDEC_VP9_REF_VER_SCALE(vscale),
/linux-master/drivers/media/platform/chips-media/coda/
H A Dcoda-common.c661 int vscale = 0; local
681 vscale = coda_jpeg_scale(q_data_src->height, f->fmt.pix.height);
684 f->fmt.pix.height = q_data_src->height >> vscale;
715 f->fmt.pix.height = round_up(f->fmt.pix.height, 16 >> vscale);
861 int vscale = 0; local
869 vscale = coda_jpeg_scale(q_data_src->height, f->fmt.pix.height);
879 r.height = q_data_src->height >> vscale;

Completed in 426 milliseconds