Lines Matching refs:bayer

58 	struct ccdc_params_raw bayer;  member
69 .bayer = {
162 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset()
163 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset()
164 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset()
165 regw(ccdc_cfg.bayer.gain.b_mg, BMGGAIN); in ccdc_config_gain_offset()
167 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
189 ccdc_cfg.bayer.gain.r_ye = GAIN_DEFAULT; in ccdc_restore_defaults()
190 ccdc_cfg.bayer.gain.gb_g = GAIN_DEFAULT; in ccdc_restore_defaults()
191 ccdc_cfg.bayer.gain.gr_cy = GAIN_DEFAULT; in ccdc_restore_defaults()
192 ccdc_cfg.bayer.gain.b_mg = GAIN_DEFAULT; in ccdc_restore_defaults()
347 memcpy(&ccdc_cfg.bayer.config_params, in ccdc_set_params()
616 struct ccdc_params_raw *params = &ccdc_cfg.bayer; in ccdc_config_raw()
618 &ccdc_cfg.bayer.config_params; in ccdc_config_raw()
793 ccdc_cfg.bayer.buf_type = buf_type; in ccdc_set_buftype()
801 return ccdc_cfg.bayer.buf_type; in ccdc_get_buftype()
824 struct ccdc_a_law *alaw = &ccdc_cfg.bayer.config_params.alaw; in ccdc_set_pixel_format()
827 ccdc_cfg.bayer.pix_fmt = CCDC_PIXFMT_RAW; in ccdc_set_pixel_format()
844 struct ccdc_a_law *alaw = &ccdc_cfg.bayer.config_params.alaw; in ccdc_get_pixel_format()
863 ccdc_cfg.bayer.win = *win; in ccdc_set_image_window()
872 *win = ccdc_cfg.bayer.win; in ccdc_get_image_window()
880 &ccdc_cfg.bayer.config_params; in ccdc_get_line_length()
886 len = ccdc_cfg.bayer.win.width; in ccdc_get_line_length()
888 len = ccdc_cfg.bayer.win.width * 2; in ccdc_get_line_length()
897 ccdc_cfg.bayer.frm_fmt = frm_fmt; in ccdc_set_frame_format()
906 return ccdc_cfg.bayer.frm_fmt; in ccdc_get_frame_format()