Lines Matching full:isp
63 __hw_param_copy(&par->isp.control, &cfg->isp.control); in __fimc_is_hw_update_param()
67 __hw_param_copy(&par->isp.otf_input, &cfg->isp.otf_input); in __fimc_is_hw_update_param()
71 __hw_param_copy(&par->isp.dma1_input, &cfg->isp.dma1_input); in __fimc_is_hw_update_param()
75 __hw_param_copy(&par->isp.dma2_input, &cfg->isp.dma2_input); in __fimc_is_hw_update_param()
79 __hw_param_copy(&par->isp.aa, &cfg->isp.aa); in __fimc_is_hw_update_param()
83 __hw_param_copy(&par->isp.flash, &cfg->isp.flash); in __fimc_is_hw_update_param()
87 __hw_param_copy(&par->isp.awb, &cfg->isp.awb); in __fimc_is_hw_update_param()
91 __hw_param_copy(&par->isp.effect, &cfg->isp.effect); in __fimc_is_hw_update_param()
95 __hw_param_copy(&par->isp.iso, &cfg->isp.iso); in __fimc_is_hw_update_param()
99 __hw_param_copy(&par->isp.adjust, &cfg->isp.adjust); in __fimc_is_hw_update_param()
103 __hw_param_copy(&par->isp.metering, &cfg->isp.metering); in __fimc_is_hw_update_param()
107 __hw_param_copy(&par->isp.afc, &cfg->isp.afc); in __fimc_is_hw_update_param()
111 __hw_param_copy(&par->isp.otf_output, &cfg->isp.otf_output); in __fimc_is_hw_update_param()
115 __hw_param_copy(&par->isp.dma1_output, &cfg->isp.dma1_output); in __fimc_is_hw_update_param()
119 __hw_param_copy(&par->isp.dma2_output, &cfg->isp.dma2_output); in __fimc_is_hw_update_param()
209 struct isp_param *isp; in __is_get_frame_size() local
211 isp = &is->config[is->config_index].isp; in __is_get_frame_size()
212 mf->width = isp->otf_input.width; in __is_get_frame_size()
213 mf->height = isp->otf_input.height; in __is_get_frame_size()
219 struct isp_param *isp; in __is_set_frame_size() local
223 isp = &is->config[index].isp; in __is_set_frame_size()
227 /* Update isp size info (OTF only) */ in __is_set_frame_size()
228 isp->otf_input.width = mf->width; in __is_set_frame_size()
229 isp->otf_input.height = mf->height; in __is_set_frame_size()
230 isp->otf_output.width = mf->width; in __is_set_frame_size()
231 isp->otf_output.height = mf->height; in __is_set_frame_size()
267 struct isp_param *isp; in __is_set_sensor() local
270 isp = &is->config[index].isp; in __is_set_sensor()
275 isp->otf_input.frametime_min = 0; in __is_set_sensor()
276 isp->otf_input.frametime_max = 66666; in __is_set_sensor()
279 isp->otf_input.frametime_min = 0; in __is_set_sensor()
280 isp->otf_input.frametime_max = (u32)1000000 / fps; in __is_set_sensor()
289 struct isp_param *isp; in __is_set_init_isp_aa() local
291 isp = &is->config[is->config_index].isp; in __is_set_init_isp_aa()
293 isp->aa.cmd = ISP_AA_COMMAND_START; in __is_set_init_isp_aa()
294 isp->aa.target = ISP_AA_TARGET_AF | ISP_AA_TARGET_AE | in __is_set_init_isp_aa()
296 isp->aa.mode = 0; in __is_set_init_isp_aa()
297 isp->aa.scene = 0; in __is_set_init_isp_aa()
298 isp->aa.sleep = 0; in __is_set_init_isp_aa()
299 isp->aa.face = 0; in __is_set_init_isp_aa()
300 isp->aa.touch_x = 0; in __is_set_init_isp_aa()
301 isp->aa.touch_y = 0; in __is_set_init_isp_aa()
302 isp->aa.manual_af_setting = 0; in __is_set_init_isp_aa()
303 isp->aa.err = ISP_AF_ERROR_NONE; in __is_set_init_isp_aa()
311 struct isp_param *isp = &is->config[index].isp; in __is_set_isp_flash() local
313 isp->flash.cmd = cmd; in __is_set_isp_flash()
314 isp->flash.redeye = redeye; in __is_set_isp_flash()
315 isp->flash.err = ISP_FLASH_ERROR_NONE; in __is_set_isp_flash()
323 struct isp_param *isp; in __is_set_isp_awb() local
325 isp = &is->config[index].isp; in __is_set_isp_awb()
327 isp->awb.cmd = cmd; in __is_set_isp_awb()
328 isp->awb.illumination = val; in __is_set_isp_awb()
329 isp->awb.err = ISP_AWB_ERROR_NONE; in __is_set_isp_awb()
337 struct isp_param *isp; in __is_set_isp_effect() local
339 isp = &is->config[index].isp; in __is_set_isp_effect()
341 isp->effect.cmd = cmd; in __is_set_isp_effect()
342 isp->effect.err = ISP_IMAGE_EFFECT_ERROR_NONE; in __is_set_isp_effect()
350 struct isp_param *isp; in __is_set_isp_iso() local
352 isp = &is->config[index].isp; in __is_set_isp_iso()
354 isp->iso.cmd = cmd; in __is_set_isp_iso()
355 isp->iso.value = val; in __is_set_isp_iso()
356 isp->iso.err = ISP_ISO_ERROR_NONE; in __is_set_isp_iso()
365 struct isp_param *isp; in __is_set_isp_adjust() local
368 isp = &is->config[index].isp; in __is_set_isp_adjust()
372 isp->adjust.contrast = val; in __is_set_isp_adjust()
375 isp->adjust.saturation = val; in __is_set_isp_adjust()
378 isp->adjust.sharpness = val; in __is_set_isp_adjust()
381 isp->adjust.exposure = val; in __is_set_isp_adjust()
384 isp->adjust.brightness = val; in __is_set_isp_adjust()
387 isp->adjust.hue = val; in __is_set_isp_adjust()
390 isp->adjust.contrast = 0; in __is_set_isp_adjust()
391 isp->adjust.saturation = 0; in __is_set_isp_adjust()
392 isp->adjust.sharpness = 0; in __is_set_isp_adjust()
393 isp->adjust.exposure = 0; in __is_set_isp_adjust()
394 isp->adjust.brightness = 0; in __is_set_isp_adjust()
395 isp->adjust.hue = 0; in __is_set_isp_adjust()
400 isp->adjust.cmd = cmd; in __is_set_isp_adjust()
401 isp->adjust.err = ISP_ADJUST_ERROR_NONE; in __is_set_isp_adjust()
404 isp->adjust.cmd |= cmd; in __is_set_isp_adjust()
411 struct isp_param *isp; in __is_set_isp_metering() local
415 isp = &is->config[index].isp; in __is_set_isp_metering()
419 isp->metering.cmd = val; in __is_set_isp_metering()
422 isp->metering.win_pos_x = val; in __is_set_isp_metering()
425 isp->metering.win_pos_y = val; in __is_set_isp_metering()
428 isp->metering.win_width = val; in __is_set_isp_metering()
431 isp->metering.win_height = val; in __is_set_isp_metering()
438 isp->metering.err = ISP_METERING_ERROR_NONE; in __is_set_isp_metering()
446 struct isp_param *isp; in __is_set_isp_afc() local
448 isp = &is->config[index].isp; in __is_set_isp_afc()
450 isp->afc.cmd = cmd; in __is_set_isp_afc()
451 isp->afc.manual = val; in __is_set_isp_afc()
452 isp->afc.err = ISP_AFC_ERROR_NONE; in __is_set_isp_afc()
667 struct isp_param *isp; in fimc_is_set_initial_params() local
675 isp = &is->config[index].isp; in fimc_is_set_initial_params()
684 /* ISP */ in fimc_is_set_initial_params()
685 isp->control.cmd = CONTROL_COMMAND_START; in fimc_is_set_initial_params()
686 isp->control.bypass = CONTROL_BYPASS_DISABLE; in fimc_is_set_initial_params()
687 isp->control.err = CONTROL_ERROR_NONE; in fimc_is_set_initial_params()
690 isp->otf_input.cmd = OTF_INPUT_COMMAND_ENABLE; in fimc_is_set_initial_params()
692 isp->otf_input.width = DEFAULT_PREVIEW_STILL_WIDTH; in fimc_is_set_initial_params()
693 isp->otf_input.height = DEFAULT_PREVIEW_STILL_HEIGHT; in fimc_is_set_initial_params()
697 isp->otf_input.format = OTF_INPUT_FORMAT_STRGEN_COLORBAR_BAYER; in fimc_is_set_initial_params()
699 isp->otf_input.format = OTF_INPUT_FORMAT_BAYER; in fimc_is_set_initial_params()
700 isp->otf_input.bitwidth = 10; in fimc_is_set_initial_params()
701 isp->otf_input.order = OTF_INPUT_ORDER_BAYER_GR_BG; in fimc_is_set_initial_params()
702 isp->otf_input.crop_offset_x = 0; in fimc_is_set_initial_params()
703 isp->otf_input.crop_offset_y = 0; in fimc_is_set_initial_params()
704 isp->otf_input.err = OTF_INPUT_ERROR_NONE; in fimc_is_set_initial_params()
706 isp->dma1_input.cmd = DMA_INPUT_COMMAND_DISABLE; in fimc_is_set_initial_params()
707 isp->dma1_input.width = 0; in fimc_is_set_initial_params()
708 isp->dma1_input.height = 0; in fimc_is_set_initial_params()
709 isp->dma1_input.format = 0; in fimc_is_set_initial_params()
710 isp->dma1_input.bitwidth = 0; in fimc_is_set_initial_params()
711 isp->dma1_input.plane = 0; in fimc_is_set_initial_params()
712 isp->dma1_input.order = 0; in fimc_is_set_initial_params()
713 isp->dma1_input.buffer_number = 0; in fimc_is_set_initial_params()
714 isp->dma1_input.width = 0; in fimc_is_set_initial_params()
715 isp->dma1_input.err = DMA_INPUT_ERROR_NONE; in fimc_is_set_initial_params()
718 isp->dma2_input.cmd = DMA_INPUT_COMMAND_DISABLE; in fimc_is_set_initial_params()
719 isp->dma2_input.width = 0; in fimc_is_set_initial_params()
720 isp->dma2_input.height = 0; in fimc_is_set_initial_params()
721 isp->dma2_input.format = 0; in fimc_is_set_initial_params()
722 isp->dma2_input.bitwidth = 0; in fimc_is_set_initial_params()
723 isp->dma2_input.plane = 0; in fimc_is_set_initial_params()
724 isp->dma2_input.order = 0; in fimc_is_set_initial_params()
725 isp->dma2_input.buffer_number = 0; in fimc_is_set_initial_params()
726 isp->dma2_input.width = 0; in fimc_is_set_initial_params()
727 isp->dma2_input.err = DMA_INPUT_ERROR_NONE; in fimc_is_set_initial_params()
730 isp->aa.cmd = ISP_AA_COMMAND_START; in fimc_is_set_initial_params()
731 isp->aa.target = ISP_AA_TARGET_AE | ISP_AA_TARGET_AWB; in fimc_is_set_initial_params()
769 isp->otf_output.cmd = OTF_OUTPUT_COMMAND_ENABLE; in fimc_is_set_initial_params()
771 isp->otf_output.width = DEFAULT_PREVIEW_STILL_WIDTH; in fimc_is_set_initial_params()
772 isp->otf_output.height = DEFAULT_PREVIEW_STILL_HEIGHT; in fimc_is_set_initial_params()
775 isp->otf_output.format = OTF_OUTPUT_FORMAT_YUV444; in fimc_is_set_initial_params()
776 isp->otf_output.bitwidth = 12; in fimc_is_set_initial_params()
777 isp->otf_output.order = 0; in fimc_is_set_initial_params()
778 isp->otf_output.err = OTF_OUTPUT_ERROR_NONE; in fimc_is_set_initial_params()
781 isp->dma1_output.cmd = DMA_OUTPUT_COMMAND_DISABLE; in fimc_is_set_initial_params()
782 isp->dma1_output.width = 0; in fimc_is_set_initial_params()
783 isp->dma1_output.height = 0; in fimc_is_set_initial_params()
784 isp->dma1_output.format = 0; in fimc_is_set_initial_params()
785 isp->dma1_output.bitwidth = 0; in fimc_is_set_initial_params()
786 isp->dma1_output.plane = 0; in fimc_is_set_initial_params()
787 isp->dma1_output.order = 0; in fimc_is_set_initial_params()
788 isp->dma1_output.buffer_number = 0; in fimc_is_set_initial_params()
789 isp->dma1_output.buffer_address = 0; in fimc_is_set_initial_params()
790 isp->dma1_output.notify_dma_done = 0; in fimc_is_set_initial_params()
791 isp->dma1_output.dma_out_mask = 0; in fimc_is_set_initial_params()
792 isp->dma1_output.err = DMA_OUTPUT_ERROR_NONE; in fimc_is_set_initial_params()
797 isp->dma2_output.cmd = DMA_OUTPUT_COMMAND_DISABLE; in fimc_is_set_initial_params()
798 isp->dma2_output.width = 0; in fimc_is_set_initial_params()
799 isp->dma2_output.height = 0; in fimc_is_set_initial_params()
800 isp->dma2_output.format = 0; in fimc_is_set_initial_params()
801 isp->dma2_output.bitwidth = 0; in fimc_is_set_initial_params()
802 isp->dma2_output.plane = 0; in fimc_is_set_initial_params()
803 isp->dma2_output.order = 0; in fimc_is_set_initial_params()
804 isp->dma2_output.buffer_number = 0; in fimc_is_set_initial_params()
805 isp->dma2_output.buffer_address = 0; in fimc_is_set_initial_params()
806 isp->dma2_output.notify_dma_done = 0; in fimc_is_set_initial_params()
807 isp->dma2_output.dma_out_mask = 0; in fimc_is_set_initial_params()
808 isp->dma2_output.err = DMA_OUTPUT_ERROR_NONE; in fimc_is_set_initial_params()