This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 5f056946d4cb4f7dc80f9c40650314732e049b66
Author: zhangsenlin <[email protected]>
AuthorDate: Mon Dec 29 14:08:05 2025 +0800

    include/sys/video_controls: add lens shading correction control
    
    Add the V4L2_CID_LENS_SHADING_CORRECTION control ID so that a camera
    driver can expose enabling or disabling lens shading correction (LSC)
    in its ISP pipeline.
    
    Signed-off-by: zhangsenlin <[email protected]>
---
 include/sys/video_controls.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/sys/video_controls.h b/include/sys/video_controls.h
index c05888d092e..2a069c5a120 100644
--- a/include/sys/video_controls.h
+++ b/include/sys/video_controls.h
@@ -106,6 +106,8 @@ enum v4l2_colorfx
 #define V4L2_CID_AUTOBRIGHTNESS       USER_CID(17)   /* Auto brightness */
 #define V4L2_CID_ROTATE               USER_CID(18)   /* Rotation */
 
+#define V4L2_CID_LENS_SHADING_CORRECTION USER_CID(19) /* Lens shading 
correction */
+
 /* Camera class control IDs */
 
 #define V4L2_CID_EXPOSURE_AUTO        CAMERA_CID(0)  /* Auto exposure */

Reply via email to