mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			829 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			829 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 936eed658f422f6fa057d8808f7cafb3c3014984 Mon Sep 17 00:00:00 2001
 | |
| From: Dave Stevenson <dave.stevenson@raspberrypi.org>
 | |
| Date: Fri, 6 Sep 2019 15:04:51 +0100
 | |
| Subject: [PATCH] v4l2: Add a Greyworld AWB mode.
 | |
| 
 | |
| Adds a simple greyworld white balance preset, mainly for use
 | |
| with cameras without an IR filter (eg Raspberry Pi NoIR)
 | |
| 
 | |
| Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
 | |
| ---
 | |
|  include/uapi/linux/v4l2-controls.h | 1 +
 | |
|  1 file changed, 1 insertion(+)
 | |
| 
 | |
| --- a/include/uapi/linux/v4l2-controls.h
 | |
| +++ b/include/uapi/linux/v4l2-controls.h
 | |
| @@ -950,6 +950,7 @@ enum v4l2_auto_n_preset_white_balance {
 | |
|  	V4L2_WHITE_BALANCE_FLASH		= 7,
 | |
|  	V4L2_WHITE_BALANCE_CLOUDY		= 8,
 | |
|  	V4L2_WHITE_BALANCE_SHADE		= 9,
 | |
| +	V4L2_WHITE_BALANCE_GREYWORLD		= 10,
 | |
|  };
 | |
|  
 | |
|  #define V4L2_CID_WIDE_DYNAMIC_RANGE		(V4L2_CID_CAMERA_CLASS_BASE+21)
 |