From d2fbc4b6c51f11de82fe8332804ef132871665d8 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 9 Jun 2025 11:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=B8=A7=E7=8E=87=E6=94=B9?= =?UTF-8?q?=E5=9B=9E30=E5=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- imx678mipi_Sensor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/imx678mipi_Sensor.c b/imx678mipi_Sensor.c index 42998e3..33a3452 100644 --- a/imx678mipi_Sensor.c +++ b/imx678mipi_Sensor.c @@ -59,7 +59,7 @@ static struct imgsensor_info_struct imgsensor_info = { .grabwindow_width = 3840, //record different mode's width of grabwindow .grabwindow_height = 2160, //record different mode's height of grabwindow .mipi_data_lp2hs_settle_dc = 85, - .max_framerate = 10, + .max_framerate = 300, }, .cap = { .pclk = 74250000, @@ -70,7 +70,7 @@ static struct imgsensor_info_struct imgsensor_info = { .grabwindow_width = 3840, .grabwindow_height = 2160, .mipi_data_lp2hs_settle_dc = 85, - .max_framerate = 10, + .max_framerate = 300, }, .cap1 = { .pclk = 74250000, @@ -81,7 +81,7 @@ static struct imgsensor_info_struct imgsensor_info = { .grabwindow_width = 3840, .grabwindow_height = 2160, .mipi_data_lp2hs_settle_dc = 85, - .max_framerate = 10, + .max_framerate = 300, }, .normal_video = { .pclk = 74250000, @@ -120,7 +120,7 @@ static struct imgsensor_info_struct imgsensor_info = { }, .margin = 3, .min_shutter = 3, - .max_frame_length = 0xffff, + .max_frame_length = 0xfffff, .ae_shut_delay_frame = 0, .ae_sensor_gain_delay_frame = 0, .ae_ispGain_delay_frame = 2, @@ -311,7 +311,7 @@ static void set_dummy(void) write_cmos_sensor(0x3001, 0x01); write_cmos_sensor(0x3028, (imgsensor.frame_length&0x0000ff)); write_cmos_sensor(0x3029, (imgsensor.frame_length&0x00ff00)>>8); - write_cmos_sensor(0x302a, (imgsensor.frame_length&0x0f0000)>>16); + write_cmos_sensor(0x302a, (imgsensor.frame_length&0xff0000)>>16); write_cmos_sensor(0x3001, 0x00); } #endif