1.偏色修改

This commit is contained in:
payton 2024-01-31 11:02:30 +08:00
parent f7eea714b9
commit eaaec81f1d

View File

@ -2028,7 +2028,7 @@ DBG_WRN(">>>>>>>>>>>>>>> movie thread <<<<<<<<<<\r\n");
nvt_cmdsys_runcmd("ae dbg 0 256 1 "); nvt_cmdsys_runcmd("ae dbg 0 256 1 ");
nvt_cmdsys_runcmd("awb dbg 0 16 1 "); //nvt_cmdsys_runcmd("awb dbg 0 16 1 ");
HD_VIDEO_FRAME frame_capture = {0}; HD_VIDEO_FRAME frame_capture = {0};
VOS_TICK t1, t2; VOS_TICK t1, t2;
@ -2059,7 +2059,7 @@ DBG_WRN(">>>>>>>>>>>>>>> movie thread <<<<<<<<<<\r\n");
ae_preset_flag = TRUE; ae_preset_flag = TRUE;
vprc_frm_cnt_ae_preset = vprc_frm_cnt; vprc_frm_cnt_ae_preset = vprc_frm_cnt;
DBG_DUMP("ae preset vprc frame cnt = %lu\n", vprc_frm_cnt_ae_preset); DBG_DUMP("ae preset vprc frame cnt = %lu\n", vprc_frm_cnt_ae_preset);
Set_AEMODE(0); Set_AEMODE(1);
//Set_NIGHTMODE(0, 0); //Set_NIGHTMODE(0, 0);
setet_preset_param(); //sun chen@20240111 setet_preset_param(); //sun chen@20240111
} }
@ -2122,11 +2122,11 @@ DBG_WRN(">>>>>>>>>>>>>>> movie thread <<<<<<<<<<\r\n");
} }
} while(1); } while(1);
nvt_cmdsys_runcmd("ae dbg 0 0"); //nvt_cmdsys_runcmd("ae dbg 0 0");
nvt_cmdsys_runcmd("awb dbg 0 0"); //nvt_cmdsys_runcmd("awb dbg 0 0");
vos_perf_mark(&g_alg_end_time); vos_perf_mark(&g_alg_end_time);
} }
vos_util_delay_ms(33); vos_util_delay_ms(100);
// if ((g_moviefast_power_off_tsk_id = vos_task_create(MovieFast_PowerOffTsk, 0, "MovieFastPwrTsk", PRI_MOVIEFAST_CMDTSK, STKSIZE_MOVIEFAST_CMDTSK)) == 0) { // if ((g_moviefast_power_off_tsk_id = vos_task_create(MovieFast_PowerOffTsk, 0, "MovieFastPwrTsk", PRI_MOVIEFAST_CMDTSK, STKSIZE_MOVIEFAST_CMDTSK)) == 0) {
// DBG_ERR("MovieFast_PowerOffTsk create failed.\r\n"); // DBG_ERR("MovieFast_PowerOffTsk create failed.\r\n");
@ -2275,10 +2275,12 @@ DBG_WRN(">>>>>>>>>>>>>>> movie thread <<<<<<<<<<\r\n");
sf_ir_led_set(((2 == puiPara->NightMode) ? 2 : 1),puiPara->FlashLed, puiPara->NightMode, 1); sf_ir_led_set(((2 == puiPara->NightMode) ? 2 : 1),puiPara->FlashLed, puiPara->NightMode, 1);
} }
#endif #endif
Set_AEMODE(0); //sun chen@20240130 P+V start video record
vos_util_delay_ms(200);
vos_flag_set(MOVIEFAST_FLG_ID, FLGMOVIEFAST_RECSTART); vos_flag_set(MOVIEFAST_FLG_ID, FLGMOVIEFAST_RECSTART);
Set_AEMODE(0); //sun chen@20240111
#if FIX_RECORD_NOISE == ENABLE #if FIX_RECORD_NOISE == ENABLE
// UINT32 elapse_time_ms = ((t2 - t1) / 1000); // UINT32 elapse_time_ms = ((t2 - t1) / 1000);