更新isp参数和后板编码的配置文件

This commit is contained in:
钟富强 2025-01-17 17:24:13 +08:00
parent bcfd6b3d50
commit bbfd61cbef
3 changed files with 8639 additions and 19 deletions

View File

@ -112,7 +112,9 @@
#ifdef CONFIG_SENSOR_GC2083_MIPI
// #include "SENSOR_H/gc2083_mipi_2_isp600_20231212_103735_gj_rgb.h"
// #include "SENSOR_H/gc2083_mipi_2_isp600_20230913_015805_gj_ir.h"
#include "SENSOR_H/gc2083_mipi_isp600_20241112_color.h"
// #include "SENSOR_H/gc2083_mipi_isp600_20241112_color.h"
// #include "SENSOR_H/gc2083_mipi_isp600_20250106_color.h"
#include "SENSOR_H/gc2083_mipi_isp600_20250116_color.h"
#include "SENSOR_H/gc2083_mipi_isp600_20240911_ir.h"
#endif
@ -199,7 +201,9 @@ struct isp_cfg_array cfg_arr[] = {
#ifdef CONFIG_SENSOR_GC2083_MIPI
// {"gc2083_mipi", "gc2083_mipi_2_isp600_20231212_103735_gj_rgb", 1920, 1088, 15, 0, 0, &gc2083_mipi_rgb_isp_cfg},
// {"gc2083_mipi", "gc2083_mipi_2_isp600_20230913_015805_gj_ir", 1920, 1088, 15, 0, 1, &gc2083_mipi_ir_isp_cfg},
{"gc2083_mipi", "gc2083_mipi_isp600_20241112_color", 1920, 1088, 15, 0, 0, &gc2083_mipi_isp_cfg},
// {"gc2083_mipi", "gc2083_mipi_isp600_20241112_color", 1920, 1088, 15, 0, 0, &gc2083_mipi_isp_cfg},
// {"gc2083_mipi", "gc2083_mipi_isp600_20250106_color", 1920, 1088, 15, 0, 0, &gc2083_mipi_isp_cfg},
{"gc2083_mipi", "gc2083_mipi_isp600_20250116_color", 1920, 1088, 15, 0, 0, &gc2083_mipi_isp_cfg},
{"gc2083_mipi", "gc2083_mipi_isp600_20240911_ir", 1920, 1088, 15, 0, 1, &gc2083_mipi_ir_isp_cfg},
#endif

View File

@ -23,7 +23,8 @@ online_share_buf_num = 2 #only for online enable, 1:one buf, 2:two buf
vipp_id = 0
#vipp wdr setting, 1:enable, 0:disable(default)
wdr_en = 0
# wdr_en = 0
wdr_en = 1
#drop frame num, offline: vipp drop frm, online: ve drop frm.
drop_frm_num = 0
@ -38,7 +39,10 @@ src_framerate = 15
vi_buffer_num = 3
#saturation, [-256, 512]
saturation_change = 0
# saturation_change = 0
# saturation_change = 64 #250114
saturation_change = 128 #250115
# saturation_change = 500 #250115
#Normal: nv21(yvu420sp), yu12(yuv420p), yv12, nv12
#only for jpeg/mjpeg: nv61, nv16
@ -66,7 +70,7 @@ video_encoder = "H.264"
#####use pfrofile, for h264: 0 -> base; 1 -> main; 2 -> high(suggested);
##### for h265: 0 -> main(suggested); 1 -> main10; 2 -> sti11
profile = 0
profile = 2
#LBC: aw_lbc_2_0x, aw_lbc_2_5x, aw_lbc_1_5x, aw_lbc_no_lossy
ve_ref_lbc_mode = "aw_lbc_1_5x"
@ -84,10 +88,12 @@ enable_gdc = 0
rc_mode = 1
init_qp = 37
min_i_qp = 25
max_i_qp = 50
min_p_qp = 25
max_p_qp = 50
# min_i_qp = 25
min_i_qp = 22
max_i_qp = 40
# min_p_qp = 25
min_p_qp = 22
max_p_qp = 40
moving_th = 20
mb_qp_limit_en = 1
quality = 1
@ -120,27 +126,36 @@ encode_rotate = 270
#encode mirror
mirror = 1 #0: disable, 1: enable
color2grey = "no" #yes or no
2dnr_en = 1
2dnr_strength_y = 127 #[0, 255]
2dnr_strength_c = 127 #[0, 255]
2dnr_threshold_y = 11 #[0, 15]
# 2dnr_strength_y = 127 #[0, 255]
# 2dnr_strength_c = 127 #[0, 255]
2dnr_strength_y = 150 #[0, 255]
# 2dnr_strength_c = 64 #[0, 255]
2dnr_strength_c = 150 #[0, 255]
# 2dnr_threshold_y = 11 #[0, 15]
# 2dnr_threshold_c = 11 #[0, 15]
2dnr_threshold_y = 7 #[0, 15]
2dnr_threshold_c = 7 #[0, 15]
3dnr_en = 1
3dnr_pix_level_en = 0
# 3dnr_pix_level_en = 0
3dnr_pix_level_en = 1
3dnr_smooth_en = 1
3dnr_pix_diff_th = 6 #[0, 31]
3dnr_max_mv_th = 8 #[0, 63]
3dnr_max_mad_th = 11 #[0, 63]
3dnr_min_coef = 13 #[0, 3dnr_max_coef]
# 3dnr_pix_diff_th = 6 #[0, 31]
3dnr_pix_diff_th = 10 #[0, 31]
3dnr_max_mv_th = 5 #[0, 63]
3dnr_max_mad_th = 48 #[0, 63]
# 3dnr_min_coef = 13 #[0, 3dnr_max_coef]
3dnr_min_coef = 14 #[0, 3dnr_max_coef]
3dnr_max_coef = 16 #[3dnr_min_coef, 16]
#roi test
roi_num = 0 # [0, 8]
roi_qp = 50 # (0, 51)
roi_qp = 30 # (0, 51)
roi_BgFrameRateEnable = 0 # if enable roi, decide if enable BgFrateRate to low non-roi area encode frame rate.
roi_BgFrameRateAttenuation = 3 # n: The ROI dst BgFrameRate is 1/n of the ROI src BgFrameRate.