/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun8i_ui_scaler.h | 41 u32 hscale, u32 vscale, u32 hphase, u32 vphase);
|
H A D | sun8i_ui_scaler.c | 150 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 D | sun8i_vi_scaler.h | 75 u32 hscale, u32 vscale, u32 hphase, u32 vphase,
|
H A D | sun8i_ui_layer.c | 136 u32 hscale, vscale; local 141 vscale = state->src_h / state->crtc_h; 144 dst_h, hscale, vscale, hphase, vphase);
|
H A D | sun8i_vi_layer.c | 171 u32 hscale, vscale, fps; local 203 vscale = (src_h << 16) / dst_h; 206 dst_h, hscale, vscale, hphase, vphase,
|
H A D | sun8i_vi_scaler.c | 928 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 D | drm_rect.c | 210 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 D | drm_atomic_helper.c | 871 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 D | vsp1_uds.c | 265 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 D | tw9910.c | 225 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 D | bt819.c | 66 int vscale; member in struct:timing
|
H A D | mt9m114.c | 1221 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 D | skl_scaler.c | 425 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 D | dvo_ns2501.c | 222 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 D | intel_atomic_plane.c | 911 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 D | cx25821-medusa-video.c | 412 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 D | bttv-risc.c | 262 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 D | bttvp.h | 140 u16 sheight,vscale,vdelay,vtotal; member in struct:bttv_geometry
|
/linux-master/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 256 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 D | em28xx-video.c | 344 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 D | em28xx.h | 583 unsigned int vscale; /* vertical scale factor (see datasheet) */ member in struct:em28xx_v4l2
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_crtc.c | 57 bool hscale = true, vscale = true; local 116 vscale = false; 126 vscale = false; 144 if (!vscale)
|
/linux-master/drivers/staging/media/rkvdec/ |
H A D | rkvdec-vp9.c | 653 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 D | coda-common.c | 661 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;
|