Lines Matching refs:ccdcparam
271 static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
273 if (ccdcparam->datasft < CCDC_DATA_NO_SHIFT ||
274 ccdcparam->datasft > CCDC_DATA_SHIFT_6BIT) {
279 if (ccdcparam->mfilt1 < CCDC_NO_MEDIAN_FILTER1 ||
280 ccdcparam->mfilt1 > CCDC_MEDIAN_FILTER1) {
285 if (ccdcparam->mfilt2 < CCDC_NO_MEDIAN_FILTER2 ||
286 ccdcparam->mfilt2 > CCDC_MEDIAN_FILTER2) {
291 if ((ccdcparam->med_filt_thres < 0) ||
292 (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) {
298 if (ccdcparam->data_sz < CCDC_DATA_16BITS ||
299 ccdcparam->data_sz > CCDC_DATA_8BITS) {
304 if (ccdcparam->alaw.enable) {
305 if (ccdcparam->alaw.gama_wd < CCDC_GAMMA_BITS_13_4 ||
306 ccdcparam->alaw.gama_wd > CCDC_GAMMA_BITS_09_0) {
312 if (ccdcparam->blk_clamp.b_clamp_enable) {
313 if (ccdcparam->blk_clamp.sample_pixel < CCDC_SAMPLE_1PIXELS ||
314 ccdcparam->blk_clamp.sample_pixel > CCDC_SAMPLE_16PIXELS) {
319 if (ccdcparam->blk_clamp.sample_ln < CCDC_SAMPLE_1LINES ||
320 ccdcparam->blk_clamp.sample_ln > CCDC_SAMPLE_16LINES) {