int update_mi_mp(struct xgold_v4l2_device *xgold_v4l2)
{struct xgold_hardware *xgold_hw = &xgold_v4l2->xgold_hw;struct marvinconfig *marvin_config = &xgold_hw->marvin_config;int ret = 0;if (marvin_config->jpeg_config.enable) {/* in case of jpeg encoding, we don't have to disable theMI, because the encodinganyway has to be started explicitely */if (!marvin_config->jpeg_config.busy) {if ((xgold_hw->mp_dma_add ==marvin_config->mi_config.mp.y_base)&& (xgold_hw->mp_dma_add !=marvin_config->mi_config.null_buff_dma_addr)) {
#ifdef CONFIG_CAMERA_FLASH_SUPPORT//if (xgold_hw->xgold_flash_enable == FLASH_ON)//xgold_set_flash(1);//去掉此句,
#endif
2.閃光燈延遲時間調整
Y:\work\bak-xmm6321\kitkat\hardware\intel\libcamera_native\Camera.h
#define CAMERA_PRE_SHOT_FLASH_US (1000 * 1000)