/drivers/media/platform/ti-vpe/ |
H A D | sc.c | 65 unsigned int dst_w) 73 if (dst_w > src_w) { 76 if ((dst_w << 1) < src_w) 77 dst_w <<= 1; /* first level decimation */ 78 if ((dst_w << 1) < src_w) 79 dst_w <<= 1; /* second level decimation */ 81 if (dst_w == src_w) { 84 sixteenths = (dst_w << 4) / src_w; 159 unsigned int dst_w, unsigned int dst_h) 188 if (src_w == dst_w 64 sc_set_hs_coeffs(struct sc_data *sc, void *addr, unsigned int src_w, unsigned int dst_w) argument 157 sc_config_scaler(struct sc_data *sc, u32 *sc_reg0, u32 *sc_reg8, u32 *sc_reg17, unsigned int src_w, unsigned int src_h, unsigned int dst_w, unsigned int dst_h) argument [all...] |
H A D | sc.h | 200 unsigned int dst_w); 205 unsigned int dst_w, unsigned int dst_h);
|
H A D | vpe.c | 813 unsigned int dst_w = d_q_data->c_rect.width; local 857 sc_set_hs_coeffs(ctx->dev->sc, ctx->sc_coeff_h.addr, src_w, dst_w); 862 src_w, src_h, dst_w, dst_h);
|
/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 241 ("Adjust to width %d src_w %d dst_w %d src_x %d dst_x %d\n", 242 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); 248 reg_2834 = f->dst_w; 264 if ((f->tru_x - f->pan_x > -1) && (f->tru_x - f->pan_x <= 40) && (f->dst_w >= 680)) 266 else if ((f->tru_x - f->pan_x < 0) && (f->tru_x - f->pan_x >= -20) && (f->dst_w >= 660)) 269 if (f->dst_w >= f->src_w) 275 if (f->dst_w < f->src_w) 281 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; 283 if (f->dst_w >= f->src_w) { 285 master_width = (f->src_w * 0x00200000) / (f->dst_w); [all...] |
H A D | ivtv-driver.h | 402 u32 dst_w; member in struct:yuv_frame_info
|
/drivers/gpu/drm/ |
H A D | drm_rect.c | 132 int dst_w = drm_rect_width(dst); local 133 int hscale = drm_calc_scale(src_w, dst_w); 135 if (hscale < 0 || dst_w == 0) 200 int dst_w = drm_rect_width(dst); local 201 int hscale = drm_calc_scale(src_w, dst_w); 203 if (hscale < 0 || dst_w == 0) 209 drm_rect_adjust_size(dst, max_dst_w - dst_w, 0); 215 int max_src_w = dst_w * max_hscale;
|
/drivers/gpu/drm/sti/ |
H A D | sti_layer.c | 96 layer->dst_w = clamp_val(dest_w, 0, mode->crtc_hdisplay - dest_x); 114 layer->dst_w, layer->dst_h, layer->dst_x, layer->dst_y,
|
H A D | sti_layer.h | 81 * @dst_w dst_h: size of the output (crtc) area 101 int dst_w, dst_h; member in struct:sti_layer
|
H A D | sti_vid.c | 66 xds = sti_vtg_get_pixel_number(*mode, vid->dst_x + vid->dst_w - 1);
|
H A D | sti_gdp.c | 289 xds = sti_vtg_get_pixel_number(*mode, layer->dst_x + layer->dst_w - 1);
|
/drivers/video/fbdev/msm/ |
H A D | mdp_ppp.c | 343 uint32_t dst_w, dst_h; local 353 dst_w = req->dst_rect.h; 356 dst_w = req->dst_rect.w; 364 get_edge_info(req->src_rect.w, req->src_rect.x, dst_w, 441 uint32_t dst_w, dst_h; local 444 dst_w = req->dst_rect.h; 447 dst_w = req->dst_rect.w; 450 if ((req->src_rect.w == dst_w) && (req->src_rect.h == dst_h) && 459 if (scale_params(req->src_rect.w, dst_w, 1, &phase_init_x, 465 scale_factor_x = (dst_w * 1 [all...] |
/drivers/gpu/drm/i915/ |
H A D | intel_overlay.c | 429 short dst_w; member in struct:put_image_params 560 if (params->dst_w > 1) 562 /(params->dst_w); 738 iowrite32((params->dst_h << 16) | params->dst_w, ®s->DWINSZ); 891 tmp = ((rec->src_scan_w << 16) / rec->dst_w) >> 16; 1135 params->dst_w = put_image_rec->dst_width;
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 912 u32 src_w, src_h, dst_w, dst_h; local 919 dst_w = dst->h; 922 dst_w = dst->w; 926 ret = gsc_get_ratio_shift(src_w, dst_w, &sc->pre_hratio); 941 sc->main_hratio = (src_w << 16) / dst_w;
|
H A D | exynos_drm_fimc.c | 960 u32 src_w, src_h, dst_w, dst_h; local 972 dst_w = dst->h; 975 dst_w = dst->w; 980 hfactor = fls(src_w / dst_w / 2); 998 sc->hratio = (src_w << 14) / (dst_w << hfactor); 1000 sc->up_h = (dst_w >= src_w) ? true : false;
|