File tree 1 file changed +27
-0
lines changed 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 31
31
(V4L2_CID_USER_BCM2835_ISP_BASE + 0x0007)
32
32
#define V4L2_CID_USER_BCM2835_ISP_DPC \
33
33
(V4L2_CID_USER_BCM2835_ISP_BASE + 0x0008)
34
+ #define V4L2_CID_USER_BCM2835_ISP_CDN \
35
+ (V4L2_CID_USER_BCM2835_ISP_BASE + 0x0009)
34
36
35
37
/*
36
38
* All structs below are directly mapped onto the equivalent structs in
@@ -175,6 +177,31 @@ struct bcm2835_isp_gamma {
175
177
__u16 y [BCM2835_NUM_GAMMA_PTS ];
176
178
};
177
179
180
+ /**
181
+ * enum bcm2835_isp_cdn_mode - Mode of operation for colour denoise.
182
+ *
183
+ * @CDN_MODE_FAST: Fast (but lower quality) colour denoise
184
+ * algorithm, typically used for video recording.
185
+ * @CDN_HIGH_QUALITY: High quality (but slower) colour denoise
186
+ * algorithm, typically used for stills capture.
187
+ */
188
+ enum bcm2835_isp_cdn_mode {
189
+ CDN_MODE_FAST = 0 ,
190
+ CDN_MODE_HIGH_QUALITY = 1 ,
191
+ };
192
+
193
+ /**
194
+ * struct bcm2835_isp_cdn - Colour denoise parameters set with the
195
+ * V4L2_CID_USER_BCM2835_ISP_CDN ctrl.
196
+ *
197
+ * @enabled: Enable colour denoise.
198
+ * @mode: Colour denoise operating mode (see enum &bcm2835_isp_cdn_mode)
199
+ */
200
+ struct bcm2835_isp_cdn {
201
+ __u32 enabled ;
202
+ __u32 mode ;
203
+ };
204
+
178
205
/**
179
206
* struct bcm2835_isp_denoise - Denoise parameters set with the
180
207
* V4L2_CID_USER_BCM2835_ISP_DENOISE ctrl.
You can’t perform that action at this time.
0 commit comments