Searched refs:lsc_cfg (Results 1 – 1 of 1) sorted by relevance
133 struct omap3isp_ccdc_lsc_config *lsc_cfg) in ccdc_lsc_validate_config() argument142 paxel_shift_x = lsc_cfg->gain_mode_m; in ccdc_lsc_validate_config()143 paxel_shift_y = lsc_cfg->gain_mode_n; in ccdc_lsc_validate_config()151 if (lsc_cfg->offset & 3) { in ccdc_lsc_validate_config()157 if ((lsc_cfg->initial_x & 1) || (lsc_cfg->initial_y & 1)) { in ccdc_lsc_validate_config()169 min_width = ((input_width + lsc_cfg->initial_x + paxel_width - 1) in ccdc_lsc_validate_config()173 min_height = ((input_height + lsc_cfg->initial_y + paxel_height - 1) in ccdc_lsc_validate_config()177 if (min_size > lsc_cfg->size) { in ccdc_lsc_validate_config()181 if (lsc_cfg->offset < (min_width * 4)) { in ccdc_lsc_validate_config()185 if ((lsc_cfg->size / lsc_cfg->offset) < min_height) { in ccdc_lsc_validate_config()[all …]