add support for the soih61 sensor

pull/1506/head
Nicolas Rey 2024-07-27 12:34:38 -03:00
parent 2c321166c7
commit c84994f371
No known key found for this signature in database
GPG Key ID: 2F84E9E2FFF5EB7C
2 changed files with 13 additions and 0 deletions

View File

@ -207,6 +207,19 @@ case "$video_frontend" in
insmod fisp_imx136.ko sensor_w=1920 sensor_h=1080 fps=25
fi
;;
"soih61")
codec_max_width=1280
codec_max_height=720
if [ "$video_system" == "NTSC" ]; then
insmod fisp328.ko cfg_path=/etc/sensors/isp328_soih61.cfg
insmod fisp_algorithm.ko pwr_freq=0
insmod fisp_soih61.ko sensor_w=1280 sensor_h=720 fps=30
elif [ "$video_system" == "PAL" ]; then
insmod fisp328.ko cfg_path=/etc/sensors/isp328_soih61.cfg
insmod fisp_algorithm.ko pwr_freq=1
insmod fisp_soih61.ko sensor_w=1280 sensor_h=720 fps=25
fi
;;
*)
echo "Invalid argument for video frontend: $video_frontend"
exit