Home
last modified time | relevance | path

Searched refs:scale_h (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c313 unsigned int scale_h, scale_v; in soc_camera_client_scale() local
333 scale_h = soc_camera_calc_scale(rect->width, shift, mf_tmp.width); in soc_camera_client_scale()
344 *width = soc_camera_shift_scale(subrect->width, shift, scale_h); in soc_camera_client_scale()
364 unsigned int scale_v, scale_h; in soc_camera_calc_client_output() local
390 scale_h = soc_camera_calc_scale(subrect->width, shift, pix->width); in soc_camera_calc_client_output()
393 dev_geo(dev, "3: scales %u:%u\n", scale_h, scale_v); in soc_camera_calc_client_output()
399 mf->width = soc_camera_shift_scale(rect->width, shift, scale_h); in soc_camera_calc_client_output()
Dsh_mobile_ceu_camera.c1369 u16 scale_v, scale_h; in sh_mobile_ceu_set_fmt() local
1450 scale_h = calc_scale(ceu_sub_width, &pix->width); in sh_mobile_ceu_set_fmt()
1455 scale_h = 0; in sh_mobile_ceu_set_fmt()
1459 pcdev->cflcr = scale_h | (scale_v << 16); in sh_mobile_ceu_set_fmt()
1467 ceu_sub_width, scale_h, pix->width, in sh_mobile_ceu_set_fmt()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_hqvdp.c529 int scale_h, scale_v; in sti_hqvdp_prepare_layer() local
616 scale_h = SCALE_FACTOR * layer->dst_w / layer->src_w; in sti_hqvdp_prepare_layer()
617 sti_hqvdp_update_hvsrc(HVSRC_HORI, scale_h, &cmd->hvsrc); in sti_hqvdp_prepare_layer()