[libcamera-devel,v4] libcamera: Add OV5647 sensor properties
diff mbox series

Message ID 20210621200426.533327-1-vedantparanjape160201@gmail.com
State Accepted
Headers show
Series
  • [libcamera-devel,v4] libcamera: Add OV5647 sensor properties
Related show

Commit Message

Vedant Paranjape June 21, 2021, 8:04 p.m. UTC
Brief specifications available at
https://cdn.sparkfun.com/datasheets/Dev/RaspberryPi/ov5647_full.pdf

> pixel size: 1.4 μm x 1.4 μm

Change in this patch is referenced from Page 5: key specifications
section of the above linked pdf

Signed-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
 src/libcamera/camera_sensor_properties.cpp | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Paul Elder June 22, 2021, 4:06 a.m. UTC | #1
Hi Vedant,

On Tue, Jun 22, 2021 at 01:34:26AM +0530, Vedant Paranjape wrote:
> Brief specifications available at
> https://cdn.sparkfun.com/datasheets/Dev/RaspberryPi/ov5647_full.pdf
> 
> > pixel size: 1.4 μm x 1.4 μm
> 
> Change in this patch is referenced from Page 5: key specifications
> section of the above linked pdf
> 
> Signed-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>
> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>

> ---
>  src/libcamera/camera_sensor_properties.cpp | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
> index f660743a..fc4ea78d 100644
> --- a/src/libcamera/camera_sensor_properties.cpp
> +++ b/src/libcamera/camera_sensor_properties.cpp
> @@ -81,6 +81,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
>  				{ 1, controls::draft::TestPatternModeColorBars },
>  			},
>  		} },
> +		{ "ov5647", {
> +			.unitCellSize = { 1400, 1400 },
> +			.testPatternModes = {},
> +		} },
>  		{ "ov5693", {
>  			.unitCellSize = { 1400, 1400 },
>  			.testPatternModes = {
> -- 
> 2.25.1
>

Patch
diff mbox series

diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index f660743a..fc4ea78d 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -81,6 +81,10 @@  const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
 				{ 1, controls::draft::TestPatternModeColorBars },
 			},
 		} },
+		{ "ov5647", {
+			.unitCellSize = { 1400, 1400 },
+			.testPatternModes = {},
+		} },
 		{ "ov5693", {
 			.unitCellSize = { 1400, 1400 },
 			.testPatternModes = {