liyujie
2025-08-28 d9927380ed7c8366f762049be9f3fee225860833
android/hardware/aw/camera/3_4/allwinnertech/libAWIspApi/libisp_new/include/V4l2Camera/sunxi_camera_v2.h
....@@ -186,6 +186,10 @@
186186 __s32 reserved[16];
187187 };
188188
189
+struct dma_merge {
190
+ __u8 en;
191
+};
192
+
189193 struct vin_top_clk {
190194 __u32 clk_rate;
191195 };
....@@ -212,6 +216,11 @@
212216 __u32 ptn_type;
213217 };
214218
219
+struct buf_merge {
220
+ __u8 en;
221
+ __u8 buffer_num;
222
+};
223
+
215224 #define VIDIOC_ISP_AE_STAT_REQ \
216225 _IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct isp_stat_buf)
217226 #define VIDIOC_ISP_HIST_STAT_REQ \
....@@ -230,11 +239,14 @@
230239 _IOWR('V', BASE_VIDIOC_PRIVATE + 8, struct isp_hdr_ctrl)
231240 #define VIDIOC_SYNC_CTRL \
232241 _IOWR('V', BASE_VIDIOC_PRIVATE + 9, struct csi_sync_ctrl)
242
+#define VIDIOC_SET_DMA_MERGE \
243
+ _IOWR('V', BASE_VIDIOC_PRIVATE + 14, struct dma_merge)
233244 #define VIDIOC_ISP_DEBUG \
234245 _IOWR('V', BASE_VIDIOC_PRIVATE + 10, struct isp_debug_mode)
235246 #define VIDIOC_VIN_PTN_CFG \
236247 _IOWR('V', BASE_VIDIOC_PRIVATE + 11, struct vin_pattern_config)
237
-
248
+#define VIDIOC_SET_BUFFER_MERGE \
249
+ _IOWR('V', BASE_VIDIOC_PRIVATE + 15, struct buf_merge)
238250 /*
239251 * Events
240252 *