Lines Matching full:drc
123 __hw_param_copy(&par->drc.control, &cfg->drc.control); in __fimc_is_hw_update_param()
127 __hw_param_copy(&par->drc.otf_input, &cfg->drc.otf_input); in __fimc_is_hw_update_param()
131 __hw_param_copy(&par->drc.dma_input, &cfg->drc.dma_input); in __fimc_is_hw_update_param()
135 __hw_param_copy(&par->drc.otf_output, &cfg->drc.otf_output); in __fimc_is_hw_update_param()
220 struct drc_param *drc; in __is_set_frame_size() local
224 drc = &is->config[index].drc; in __is_set_frame_size()
232 /* Update drc size info (OTF only) */ in __is_set_frame_size()
233 drc->otf_input.width = mf->width; in __is_set_frame_size()
234 drc->otf_input.height = mf->height; in __is_set_frame_size()
235 drc->otf_output.width = mf->width; in __is_set_frame_size()
236 drc->otf_output.height = mf->height; in __is_set_frame_size()
460 struct drc_param *drc; in __is_set_drc_control() local
462 drc = &is->config[index].drc; in __is_set_drc_control()
464 drc->control.bypass = val; in __is_set_drc_control()
668 struct drc_param *drc; in fimc_is_set_initial_params() local
676 drc = &is->config[index].drc; in fimc_is_set_initial_params()
818 /* DRC */ in fimc_is_set_initial_params()
819 drc->control.cmd = CONTROL_COMMAND_START; in fimc_is_set_initial_params()
822 drc->otf_input.cmd = OTF_INPUT_COMMAND_ENABLE; in fimc_is_set_initial_params()
824 drc->otf_input.width = DEFAULT_PREVIEW_STILL_WIDTH; in fimc_is_set_initial_params()
825 drc->otf_input.height = DEFAULT_PREVIEW_STILL_HEIGHT; in fimc_is_set_initial_params()
828 drc->otf_input.format = OTF_INPUT_FORMAT_YUV444; in fimc_is_set_initial_params()
829 drc->otf_input.bitwidth = 12; in fimc_is_set_initial_params()
830 drc->otf_input.order = 0; in fimc_is_set_initial_params()
831 drc->otf_input.err = OTF_INPUT_ERROR_NONE; in fimc_is_set_initial_params()
833 drc->dma_input.cmd = DMA_INPUT_COMMAND_DISABLE; in fimc_is_set_initial_params()
834 drc->dma_input.width = 0; in fimc_is_set_initial_params()
835 drc->dma_input.height = 0; in fimc_is_set_initial_params()
836 drc->dma_input.format = 0; in fimc_is_set_initial_params()
837 drc->dma_input.bitwidth = 0; in fimc_is_set_initial_params()
838 drc->dma_input.plane = 0; in fimc_is_set_initial_params()
839 drc->dma_input.order = 0; in fimc_is_set_initial_params()
840 drc->dma_input.buffer_number = 0; in fimc_is_set_initial_params()
841 drc->dma_input.width = 0; in fimc_is_set_initial_params()
842 drc->dma_input.err = DMA_INPUT_ERROR_NONE; in fimc_is_set_initial_params()
845 drc->otf_output.cmd = OTF_OUTPUT_COMMAND_ENABLE; in fimc_is_set_initial_params()
847 drc->otf_output.width = DEFAULT_PREVIEW_STILL_WIDTH; in fimc_is_set_initial_params()
848 drc->otf_output.height = DEFAULT_PREVIEW_STILL_HEIGHT; in fimc_is_set_initial_params()
851 drc->otf_output.format = OTF_OUTPUT_FORMAT_YUV444; in fimc_is_set_initial_params()
852 drc->otf_output.bitwidth = 8; in fimc_is_set_initial_params()
853 drc->otf_output.order = 0; in fimc_is_set_initial_params()
854 drc->otf_output.err = OTF_OUTPUT_ERROR_NONE; in fimc_is_set_initial_params()