Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/platform/s3c-camif/
Dcamif-core.c151 int target_y = vp->out_frame.rect.height; in s3c_camif_get_scaler_config() local
155 swap(target_x, target_y); in s3c_camif_get_scaler_config()
162 ret = camif_get_scaler_factor(source_y, target_y, &scaler->pre_v_ratio, in s3c_camif_get_scaler_config()
171 scaler->main_v_ratio = (source_y << 8) / (target_y << scaler->v_shift); in s3c_camif_get_scaler_config()
174 scaler->scaleup_v = (target_y >= source_y); in s3c_camif_get_scaler_config()
183 source_x, source_y, target_x, target_y, in s3c_camif_get_scaler_config()