Lines Matching defs:isp

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