Home
last modified time | relevance | path

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

/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.c147 int source_x = camif_crop->width; in s3c_camif_get_scaler_config() local
156 ret = camif_get_scaler_factor(source_x, target_x, &scaler->pre_h_ratio, in s3c_camif_get_scaler_config()
166 scaler->pre_dst_width = source_x / scaler->pre_h_ratio; in s3c_camif_get_scaler_config()
169 scaler->main_h_ratio = (source_x << 8) / (target_x << scaler->h_shift); in s3c_camif_get_scaler_config()
172 scaler->scaleup_h = (target_x >= source_x); in s3c_camif_get_scaler_config()
182 source_x, source_y, target_x, target_y, in s3c_camif_get_scaler_config()