Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.c150 int target_y = vp->out_frame.rect.height; in s3c_camif_get_scaler_config() local
154 swap(target_x, target_y); in s3c_camif_get_scaler_config()
161 ret = camif_get_scaler_factor(source_y, target_y, &scaler->pre_v_ratio, in s3c_camif_get_scaler_config()
170 scaler->main_v_ratio = (source_y << 8) / (target_y << scaler->v_shift); in s3c_camif_get_scaler_config()
173 scaler->scaleup_v = (target_y >= source_y); in s3c_camif_get_scaler_config()
182 source_x, source_y, target_x, target_y, in s3c_camif_get_scaler_config()