rv1126_rv1109: uvc: add isp line config

Change-Id: Iad092d5275f661bb41b1e30834ccd0be94dbf580
Signed-off-by: Mark Huang <huangjc@rock-chips.com>
This commit is contained in:
Mark Huang
2021-08-11 09:23:46 +08:00
parent f0aa96a734
commit 67cbfc22de
2 changed files with 11 additions and 0 deletions

View File

@ -48,8 +48,18 @@ echo "camera_max_height= ${camera_max_height}"
export CAMERA_MAX_WIDTH=${camera_max_width}
export CAMERA_MAX_HEIGHT=${camera_max_height}
#line config
isp_line=$((${camera_max_height} / 2))
ispp_line=0 #$((${camera_max_height} / 4 * 3 )) #no fec
cif_line=$((${camera_max_height} / 4 * 3 ))
echo "isp_line= $isp_line , ispp_line= $isp_line, cif_line= $cif_line"
echo $isp_line > /sys/module/video_rkisp/parameters/wait_line
echo $ispp_line > /sys/module/video_rkispp/parameters/wait_line
echo $cif_line > /sys/devices/platform/rkcif_mipi_lvds/line_int_num
#rockit log level ctrl: 1:fatal error; 2: error; 3: warning; 4:infomational; 5:debug level; 6:verbose
export rt_log_level=3
#export uvc_app_log_level=3
#export ENABLE_EPTZ=1