Skip to content

Commit 8863bda

Browse files
authored
Merge pull request #115 from hao-yao/main
ARL platform Beta release on 2024-07-18
2 parents 289e645 + a354967 commit 8863bda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+9875
-630
lines changed

CMakeLists.txt

+18-5
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ set (CMAKE_CXX_STANDARD 11)
9090
add_compile_options(-Wall -Werror
9191
-fstack-protector
9292
-fPIE -fPIC
93-
-U_FORTIFY_SOURCE
94-
-D_FORTIFY_SOURCE=2
9593
-DDCHECK_ALWAYS_ON
9694
-Wformat -Wformat-security
9795
)
@@ -158,7 +156,21 @@ include_directories(include
158156
src/image_process
159157
)
160158

161-
set(LIBCAMHAL_LD_FLAGS "-fPIE -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wl,-z,relro -Wl,-z,now")
159+
set(LIBCAMHAL_LD_FLAGS "-fPIE -fPIC -Wformat -Wformat-security -Wl,-z,relro -Wl,-z,now")
160+
161+
# check if _FORTIFY_SOURCE is default defined with -O
162+
include(CheckFortifyLevel)
163+
set(FORTIFY_SOURCE_VALUE)
164+
check_fortify_source(FORTIFY_SOURCE_VALUE)
165+
if(FORTIFY_SOURCE_VALUE)
166+
message(STATUS "compiler default _FORTIFY_SOURCE=${FORTIFY_SOURCE_VALUE}")
167+
else()
168+
message(STATUS "_FORTIFY_SOURCE is not defined or could not be determined.")
169+
add_compile_options(-D_FORTIFY_SOURCE=2)
170+
set(LIBCAMHAL_LD_FLAGS "${LIBCAMHAL_LD_FLAGS} -D_FORTIFY_SOURCE=2")
171+
message(STATUS "define _FORTIFY_SOURCE=2")
172+
endif()
173+
162174
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${LIBCAMHAL_LD_FLAGS}")
163175

164176
add_subdirectory(src)
@@ -309,12 +321,13 @@ else()
309321
target_link_libraries(camhal_static ${LIBIACSS_LIBS})
310322
endif()
311323

312-
# DUMP_DMA_BUF_FOR_DRM_PRIME_S
313324
find_package(LIBDRM)
325+
if(LIBDRM_FOUND AND ("${LIBDRM_VERSION}" VERSION_GREATER_EQUAL 2.4.114))
314326
include_directories(${LIBDRM_INCLUDE_DIRS})
315327
target_link_libraries(camhal ${LIBDRM_LIBS})
316328
target_link_libraries(camhal_static ${LIBDRM_LIBS})
317-
# DUMP_DMA_BUF_FOR_DRM_PRIME_E
329+
add_definitions(-DLIBDRM_SUPPORT_MMAP_OFFSET)
330+
endif()
318331

319332
# Include libipu(4) headers
320333
find_package(LIBIPU)

cmake/CheckFortifyLevel.cmake

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# CheckFortifySource.cmake
2+
function(check_fortify_source output_variable)
3+
# Create a simple C++ source file to check _FORTIFY_SOURCE
4+
set(CHECK_SOURCE_CODE "#include <stdio.h>
5+
#ifndef _FORTIFY_SOURCE
6+
#define _FORTIFY_SOURCE 0
7+
#endif
8+
int main(){printf(\"%d\", _FORTIFY_SOURCE);return 0;}")
9+
10+
# Set the full path for the source file
11+
set(SOURCE_FILE_NAME "${CMAKE_BINARY_DIR}/check_fortify_source.c")
12+
file(WRITE "${SOURCE_FILE_NAME}" "${CHECK_SOURCE_CODE}")
13+
14+
# Try to compile the source file
15+
try_compile(FORTIFY_SOURCE_COMPILED
16+
"${CMAKE_BINARY_DIR}/temp" "${SOURCE_FILE_NAME}"
17+
COMPILE_DEFINITIONS "-O2"
18+
COPY_FILE "${CMAKE_BINARY_DIR}/check_fortify_source.out"
19+
OUTPUT_VARIABLE COMPILE_OUTPUT
20+
)
21+
22+
# Check if compilation was successful
23+
if(FORTIFY_SOURCE_COMPILED)
24+
# Run the compiled program to get the value of _FORTIFY_SOURCE
25+
execute_process(COMMAND "${CMAKE_BINARY_DIR}/check_fortify_source.out"
26+
RESULT_VARIABLE RUN_RESULT
27+
OUTPUT_VARIABLE FORTIFY_SOURCE_VALUE
28+
ERROR_QUIET
29+
OUTPUT_STRIP_TRAILING_WHITESPACE)
30+
if(RUN_RESULT EQUAL 0)
31+
# Set the variable outside the function
32+
set(${output_variable} "${FORTIFY_SOURCE_VALUE}" PARENT_SCOPE)
33+
else()
34+
message(STATUS "Failed to run the compiled test program.")
35+
set(${output_variable} "" PARENT_SCOPE)
36+
endif()
37+
else()
38+
message(STATUS "Compilation failed; _FORTIFY_SOURCE is not defined.")
39+
message(STATUS "Compiler output: ${COMPILE_OUTPUT}")
40+
set(${output_variable} "" PARENT_SCOPE)
41+
endif()
42+
endfunction()

config/linux/ipu6/sensors/ar0234.xml

+4-12
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<link srcName="Intel IPU6 CSI-2 1" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="0" enable="true"/>
2626
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="16" sinkName="Intel IPU6 BE SOC capture 0" sinkPad="0" enable="true"/>
2727

28-
<control name="ar0234 b" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
2928
<control name="ar0234 b" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
3029
<control name="ar0234 b" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
3130

@@ -42,7 +41,6 @@
4241
<link srcName="Intel IPU6 CSI-2 1" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="0" enable="true"/>
4342
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="16" sinkName="Intel IPU6 BE SOC capture 0" sinkPad="0" enable="true"/>
4443

45-
<control name="ar0234 b" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
4644
<control name="ar0234 b" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
4745
<control name="ar0234 b" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
4846

@@ -86,7 +84,7 @@
8684
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
8785
<initialSkipFrame value="0"/>
8886
<exposureLag value="2"/>
89-
<gainLag value="1"/>
87+
<gainLag value="0"/>
9088
<ltmGainLag value="1"/>
9189
<maxRequestsInflight value="6"/>
9290
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -106,7 +104,6 @@
106104
<link srcName="Intel IPU6 CSI-2 2" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="1" enable="true"/>
107105
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="17" sinkName="Intel IPU6 BE SOC capture 1" sinkPad="0" enable="true"/>
108106

109-
<control name="ar0234 c" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
110107
<control name="ar0234 c" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
111108
<control name="ar0234 c" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
112109

@@ -123,7 +120,6 @@
123120
<link srcName="Intel IPU6 CSI-2 2" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="1" enable="true"/>
124121
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="17" sinkName="Intel IPU6 BE SOC capture 1" sinkPad="0" enable="true"/>
125122

126-
<control name="ar0234 c" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
127123
<control name="ar0234 c" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
128124
<control name="ar0234 c" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
129125

@@ -166,7 +162,7 @@
166162
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
167163
<initialSkipFrame value="0"/>
168164
<exposureLag value="2"/>
169-
<gainLag value="1"/>
165+
<gainLag value="0"/>
170166
<ltmGainLag value="1"/>
171167
<maxRequestsInflight value="6"/>
172168
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -187,7 +183,6 @@
187183
<link srcName="Intel IPU6 CSI-2 4" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="2" enable="true"/>
188184
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="18" sinkName="Intel IPU6 BE SOC capture 2" sinkPad="0" enable="true"/>
189185

190-
<control name="ar0234 e" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
191186
<control name="ar0234 e" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
192187
<control name="ar0234 e" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
193188

@@ -204,7 +199,6 @@
204199
<link srcName="Intel IPU6 CSI-2 4" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="2" enable="true"/>
205200
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="18" sinkName="Intel IPU6 BE SOC capture 2" sinkPad="0" enable="true"/>
206201

207-
<control name="ar0234 e" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
208202
<control name="ar0234 e" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
209203
<control name="ar0234 e" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
210204

@@ -247,7 +241,7 @@
247241
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
248242
<initialSkipFrame value="0"/>
249243
<exposureLag value="2"/>
250-
<gainLag value="1"/>
244+
<gainLag value="0"/>
251245
<ltmGainLag value="1"/>
252246
<maxRequestsInflight value="6"/>
253247
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -267,7 +261,6 @@
267261
<link srcName="Intel IPU6 CSI-2 5" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="3" enable="true"/>
268262
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="19" sinkName="Intel IPU6 BE SOC capture 3" sinkPad="0" enable="true"/>
269263

270-
<control name="ar0234 f" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
271264
<control name="ar0234 f" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
272265
<control name="ar0234 f" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
273266

@@ -284,7 +277,6 @@
284277
<link srcName="Intel IPU6 CSI-2 5" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC" sinkPad="3" enable="true"/>
285278
<link srcName="Intel IPU6 CSI2 BE SOC" srcPad="19" sinkName="Intel IPU6 BE SOC capture 3" sinkPad="0" enable="true"/>
286279

287-
<control name="ar0234 f" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
288280
<control name="ar0234 f" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
289281
<control name="ar0234 f" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
290282

@@ -327,7 +319,7 @@
327319
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
328320
<initialSkipFrame value="0"/>
329321
<exposureLag value="2"/>
330-
<gainLag value="1"/>
322+
<gainLag value="0"/>
331323
<ltmGainLag value="1"/>
332324
<maxRequestsInflight value="6"/>
333325
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->

config/linux/ipu6/sensors/ar0234_usb.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
3939
<initialSkipFrame value="0"/>
4040
<exposureLag value="2"/>
41-
<gainLag value="1"/>
41+
<gainLag value="0"/>
4242
<ltmGainLag value="1"/>
4343
<hdrExposureNum value="2"/>
4444
<hdrExposureType value="fix-exposure-ratio"/>
@@ -72,7 +72,7 @@
7272
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
7373
<initialSkipFrame value="0"/>
7474
<exposureLag value="2"/>
75-
<gainLag value="1"/>
75+
<gainLag value="0"/>
7676
<ltmGainLag value="1"/>
7777
<hdrExposureNum value="2"/>
7878
<hdrExposureType value="fix-exposure-ratio"/>
@@ -106,7 +106,7 @@
106106
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
107107
<initialSkipFrame value="0"/>
108108
<exposureLag value="2"/>
109-
<gainLag value="1"/>
109+
<gainLag value="0"/>
110110
<ltmGainLag value="1"/>
111111
<hdrExposureNum value="2"/>
112112
<hdrExposureType value="fix-exposure-ratio"/>
@@ -140,7 +140,7 @@
140140
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
141141
<initialSkipFrame value="0"/>
142142
<exposureLag value="2"/>
143-
<gainLag value="1"/>
143+
<gainLag value="0"/>
144144
<ltmGainLag value="1"/>
145145
<hdrExposureNum value="2"/>
146146
<hdrExposureType value="fix-exposure-ratio"/>
204 KB
Binary file not shown.

config/linux/ipu6ep/sensors/ar0234.xml

+4-12
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<link srcName="Intel IPU6 CSI-2 1" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 0" sinkPad="0" enable="true"/>
2626
<link srcName="Intel IPU6 CSI2 BE SOC 0" srcPad="1" sinkName="Intel IPU6 BE SOC capture 0" sinkPad="0" enable="true"/>
2727

28-
<control name="ar0234 b" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
2928
<control name="ar0234 b" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
3029
<control name="ar0234 b" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
3130

@@ -42,7 +41,6 @@
4241
<link srcName="Intel IPU6 CSI-2 1" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 0" sinkPad="0" enable="true"/>
4342
<link srcName="Intel IPU6 CSI2 BE SOC 0" srcPad="1" sinkName="Intel IPU6 BE SOC capture 0" sinkPad="0" enable="true"/>
4443

45-
<control name="ar0234 b" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
4644
<control name="ar0234 b" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
4745
<control name="ar0234 b" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
4846

@@ -86,7 +84,7 @@
8684
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
8785
<initialSkipFrame value="0"/>
8886
<exposureLag value="2"/>
89-
<gainLag value="1"/>
87+
<gainLag value="0"/>
9088
<ltmGainLag value="1"/>
9189
<maxRequestsInflight value="6"/>
9290
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -107,7 +105,6 @@
107105
<link srcName="Intel IPU6 CSI-2 2" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 1" sinkPad="0" enable="true"/>
108106
<link srcName="Intel IPU6 CSI2 BE SOC 1" srcPad="1" sinkName="Intel IPU6 BE SOC 1 capture 0" sinkPad="0" enable="true"/>
109107

110-
<control name="ar0234 c" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
111108
<control name="ar0234 c" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
112109
<control name="ar0234 c" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
113110

@@ -124,7 +121,6 @@
124121
<link srcName="Intel IPU6 CSI-2 2" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 1" sinkPad="0" enable="true"/>
125122
<link srcName="Intel IPU6 CSI2 BE SOC 1" srcPad="1" sinkName="Intel IPU6 BE SOC 1 capture 0" sinkPad="0" enable="true"/>
126123

127-
<control name="ar0234 c" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
128124
<control name="ar0234 c" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
129125
<control name="ar0234 c" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
130126

@@ -167,7 +163,7 @@
167163
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
168164
<initialSkipFrame value="0"/>
169165
<exposureLag value="2"/>
170-
<gainLag value="1"/>
166+
<gainLag value="0"/>
171167
<ltmGainLag value="1"/>
172168
<maxRequestsInflight value="6"/>
173169
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -189,7 +185,6 @@
189185
<link srcName="Intel IPU6 CSI-2 4" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 2" sinkPad="0" enable="true"/>
190186
<link srcName="Intel IPU6 CSI2 BE SOC 2" srcPad="1" sinkName="Intel IPU6 BE SOC 2 capture 0" sinkPad="0" enable="true"/>
191187

192-
<control name="ar0234 e" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
193188
<control name="ar0234 e" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
194189
<control name="ar0234 e" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
195190

@@ -206,7 +201,6 @@
206201
<link srcName="Intel IPU6 CSI-2 4" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 2" sinkPad="0" enable="true"/>
207202
<link srcName="Intel IPU6 CSI2 BE SOC 2" srcPad="1" sinkName="Intel IPU6 BE SOC 2 capture 0" sinkPad="0" enable="true"/>
208203

209-
<control name="ar0234 e" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
210204
<control name="ar0234 e" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
211205
<control name="ar0234 e" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
212206

@@ -249,7 +243,7 @@
249243
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
250244
<initialSkipFrame value="0"/>
251245
<exposureLag value="2"/>
252-
<gainLag value="1"/>
246+
<gainLag value="0"/>
253247
<ltmGainLag value="1"/>
254248
<maxRequestsInflight value="6"/>
255249
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -270,7 +264,6 @@
270264
<link srcName="Intel IPU6 CSI-2 5" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 3" sinkPad="0" enable="true"/>
271265
<link srcName="Intel IPU6 CSI2 BE SOC 3" srcPad="1" sinkName="Intel IPU6 BE SOC 3 capture 0" sinkPad="0" enable="true"/>
272266

273-
<control name="ar0234 f" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
274267
<control name="ar0234 f" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
275268
<control name="ar0234 f" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
276269

@@ -287,7 +280,6 @@
287280
<link srcName="Intel IPU6 CSI-2 5" srcPad="1" sinkName="Intel IPU6 CSI2 BE SOC 3" sinkPad="0" enable="true"/>
288281
<link srcName="Intel IPU6 CSI2 BE SOC 3" srcPad="1" sinkName="Intel IPU6 BE SOC 3 capture 0" sinkPad="0" enable="true"/>
289282

290-
<control name="ar0234 f" ctrlId="V4L2_CID_MIPI_LANES" value="2" ctrlName="set mipi lane"/>
291283
<control name="ar0234 f" ctrlId="V4L2_CID_VFLIP" value="1" ctrlName="set vflip"/>
292284
<control name="ar0234 f" ctrlId="V4L2_CID_HFLIP" value="1" ctrlName="set hflip"/>
293285

@@ -330,7 +322,7 @@
330322
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
331323
<initialSkipFrame value="0"/>
332324
<exposureLag value="2"/>
333-
<gainLag value="1"/>
325+
<gainLag value="0"/>
334326
<ltmGainLag value="1"/>
335327
<maxRequestsInflight value="6"/>
336328
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->

config/linux/ipu6ep/sensors/ar0234_usb.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
3838
<initialSkipFrame value="0"/>
3939
<exposureLag value="2"/>
40-
<gainLag value="1"/>
40+
<gainLag value="0"/>
4141
<ltmGainLag value="1"/>
4242
<maxRequestsInflight value="6"/>
4343
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -71,7 +71,7 @@
7171
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
7272
<initialSkipFrame value="0"/>
7373
<exposureLag value="2"/>
74-
<gainLag value="1"/>
74+
<gainLag value="0"/>
7575
<ltmGainLag value="1"/>
7676
<maxRequestsInflight value="6"/>
7777
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -105,7 +105,7 @@
105105
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
106106
<initialSkipFrame value="0"/>
107107
<exposureLag value="2"/>
108-
<gainLag value="1"/>
108+
<gainLag value="0"/>
109109
<ltmGainLag value="1"/>
110110
<maxRequestsInflight value="6"/>
111111
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->
@@ -139,7 +139,7 @@
139139
<pSysFormat value="V4L2_PIX_FMT_NV12"/>
140140
<initialSkipFrame value="0"/>
141141
<exposureLag value="2"/>
142-
<gainLag value="1"/>
142+
<gainLag value="0"/>
143143
<ltmGainLag value="1"/>
144144
<maxRequestsInflight value="6"/>
145145
<yuvColorRangeMode value="full"/> <!-- there are 2 yuv color range mode, like full, reduced. -->

0 commit comments

Comments
 (0)