sync(system): update front board system configuration.

This commit is contained in:
kangjun
2024-05-14 11:30:40 +08:00
parent 643879bc1e
commit 47b4c1d7b2
57 changed files with 19610 additions and 3891 deletions

View File

@@ -102,8 +102,8 @@
#endif // CONFIG_SENSOR_F355P_MIPI
#ifdef CONFIG_SENSOR_OV02B10_MIPI
#include "SENSOR_H/ov02b10_mipi_isp600_20221114b_color.h"
#include "SENSOR_H/ov02b10_mipi_isp600_20230811_104819_ir_v3.h"
#include "SENSOR_H/ov02b10_mipi_isp600_20240423_135454_rgb.h"
#include "SENSOR_H/ov02b10_mipi_isp600_20240423_133842_ir.h"
#endif // CONFIG_SENSOR_OV02B10_MIPI
#else
@@ -172,8 +172,10 @@ struct isp_cfg_array cfg_arr[] = {
#endif // CONFIG_SENSOR_F355P_MIPI
#ifdef CONFIG_SENSOR_OV02B10_MIPI
{"ov02b10_mipi", "ov02b10_mipi_isp600_20221114b_color", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_cfg},
{"ov02b10_mipi", "ov02b10_mipi_isp600_20230811_104819_ir_v3", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_ir_cfg},
{"ov02b1b_mipi", "ov02b10_mipi_isp600_20240423_135454_rgb", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_cfg},
{"ov02b1b_mipi", "ov02b10_mipi_isp600_20240423_135454_rgb", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_cfg},
{"ov02b10_mipi", "ov02b10_mipi_isp600_20240423_133842_ir", 1600, 1200, 30, 0, 0, &ov02b10_mipi_isp_ir_cfg},
{"ov02b10_mipi", "ov02b10_mipi_isp600_20240423_133842_ir", 1600, 1200, 30, 1, 0, &ov02b10_mipi_isp_ir_cfg},
#endif // CONFIG_SENSOR_OV02B10_MIPI
#ifdef CONFIG_SENSOR_GC1084_MIPI
@@ -198,10 +200,10 @@ int parser_ini_info(struct isp_param_config *param, char *isp_cfg_name, char *se
{
int i;
struct isp_cfg_pt *cfg = NULL;
ISP_WARN("%s(), L:%d, sensor_name:%s\n", __func__, __LINE__, sensor_name);
//load header parameter
for (i = 0; i < ARRAY_SIZE(cfg_arr); i++) {
if (!strncmp(sensor_name, cfg_arr[i].sensor_name, 6) &&
if (!strncmp(sensor_name, cfg_arr[i].sensor_name, 8) &&
(w == cfg_arr[i].width) && (h == cfg_arr[i].height) &&
(fps == cfg_arr[i].fps) && (wdr == cfg_arr[i].wdr) &&
(ir == cfg_arr[i].ir)) {
@@ -214,7 +216,7 @@ int parser_ini_info(struct isp_param_config *param, char *isp_cfg_name, char *se
if (i == ARRAY_SIZE(cfg_arr)) {
for (i = 0; i < ARRAY_SIZE(cfg_arr); i++) {
if (!strncmp(sensor_name, cfg_arr[i].sensor_name, 6) && (wdr == cfg_arr[i].wdr)) {
if (!strncmp(sensor_name, cfg_arr[i].sensor_name, 8) && (wdr == cfg_arr[i].wdr)) {
cfg = cfg_arr[i].cfg;
ISP_WARN("cannot find %s_%d_%d_%d_%d_%d isp config, use %s_%d_%d_%d_%d_%d -> [%s]\n", sensor_name, w, h, fps, wdr, ir,
cfg_arr[i].sensor_name, cfg_arr[i].width, cfg_arr[i].height, cfg_arr[i].fps, cfg_arr[i].wdr,
@@ -301,9 +303,9 @@ int parser_ini_regs_info(struct isp_lib_context *ctx, char *sensor_name,
{
int i;
struct isp_reg_pt *reg = NULL;
ISP_WARN("%s(), L:%d, sensor_name:%s\n", __func__, __LINE__, sensor_name);
for (i = 0; i < ARRAY_SIZE(reg_arr); i++) {
if (!strncmp(sensor_name, reg_arr[i].sensor_name, 6) &&
if (!strncmp(sensor_name, reg_arr[i].sensor_name, 8) &&
(w == reg_arr[i].width) && (h == reg_arr[i].height) &&// (fps == reg_arr[i].fps) &&
(wdr == reg_arr[i].wdr)) {