[libcamera-devel,v2,0/3] Raspberry Pi support for new sensors
mbox series

Message ID 20210308223939.2088-1-david.plowman@raspberrypi.com
Headers show
Series
  • Raspberry Pi support for new sensors
Related show

Message

David Plowman March 8, 2021, 10:39 p.m. UTC
Hi again everyone

Thanks to Laurent for reviewing the previous version of this
set. Here's a version 2, taking account of his comments. The
differences are:

1. In the first patch some stray comment lines have been deleted.

2. In the second patch, files have been ordered alphabetically.

3. There's a new 3rd patch, which edits the raspberrypi.mojom file so
that the vblank field in the SensorConfig is more accurately named
vblankDelay.

Thanks and best regards

David

David Plowman (3):
  ipa: raspberrypi: Make CamHelpers return the frame delay for vblanking
  ipa: raspberrypi: Add support for imx290/imx327 sensors
  ipa: raspberrypi: Rename vblank field in SensorConfig to vblankDelay

 include/libcamera/ipa/raspberrypi.mojom       |   2 +-
 src/ipa/raspberrypi/cam_helper.cpp            |   4 +-
 src/ipa/raspberrypi/cam_helper.hpp            |  11 +-
 src/ipa/raspberrypi/cam_helper_imx290.cpp     |  67 +++++++
 src/ipa/raspberrypi/cam_helper_imx477.cpp     |   7 +-
 src/ipa/raspberrypi/cam_helper_ov5647.cpp     |   7 +-
 src/ipa/raspberrypi/data/imx290.json          | 165 ++++++++++++++++++
 src/ipa/raspberrypi/data/meson.build          |   1 +
 src/ipa/raspberrypi/meson.build               |   1 +
 src/ipa/raspberrypi/raspberrypi.cpp           |   6 +-
 .../pipeline/raspberrypi/raspberrypi.cpp      |   2 +-
 11 files changed, 258 insertions(+), 15 deletions(-)
 create mode 100644 src/ipa/raspberrypi/cam_helper_imx290.cpp
 create mode 100644 src/ipa/raspberrypi/data/imx290.json

Comments

Laurent Pinchart March 8, 2021, 11:07 p.m. UTC | #1
Hi David,

Thank you for the patches.

On Mon, Mar 08, 2021 at 10:39:36PM +0000, David Plowman wrote:
> Hi again everyone
> 
> Thanks to Laurent for reviewing the previous version of this
> set. Here's a version 2, taking account of his comments. The
> differences are:
> 
> 1. In the first patch some stray comment lines have been deleted.
> 
> 2. In the second patch, files have been ordered alphabetically.
> 
> 3. There's a new 3rd patch, which edits the raspberrypi.mojom file so
> that the vblank field in the SensorConfig is more accurately named
> vblankDelay.

For the whole series,

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> David Plowman (3):
>   ipa: raspberrypi: Make CamHelpers return the frame delay for vblanking
>   ipa: raspberrypi: Add support for imx290/imx327 sensors
>   ipa: raspberrypi: Rename vblank field in SensorConfig to vblankDelay
> 
>  include/libcamera/ipa/raspberrypi.mojom       |   2 +-
>  src/ipa/raspberrypi/cam_helper.cpp            |   4 +-
>  src/ipa/raspberrypi/cam_helper.hpp            |  11 +-
>  src/ipa/raspberrypi/cam_helper_imx290.cpp     |  67 +++++++
>  src/ipa/raspberrypi/cam_helper_imx477.cpp     |   7 +-
>  src/ipa/raspberrypi/cam_helper_ov5647.cpp     |   7 +-
>  src/ipa/raspberrypi/data/imx290.json          | 165 ++++++++++++++++++
>  src/ipa/raspberrypi/data/meson.build          |   1 +
>  src/ipa/raspberrypi/meson.build               |   1 +
>  src/ipa/raspberrypi/raspberrypi.cpp           |   6 +-
>  .../pipeline/raspberrypi/raspberrypi.cpp      |   2 +-
>  11 files changed, 258 insertions(+), 15 deletions(-)
>  create mode 100644 src/ipa/raspberrypi/cam_helper_imx290.cpp
>  create mode 100644 src/ipa/raspberrypi/data/imx290.json
Naushir Patuck March 9, 2021, 7:29 a.m. UTC | #2
Hi David,

On Mon, 8 Mar 2021 at 22:39, David Plowman <david.plowman@raspberrypi.com>
wrote:

> Hi again everyone
>
> Thanks to Laurent for reviewing the previous version of this
> set. Here's a version 2, taking account of his comments. The
> differences are:
>
> 1. In the first patch some stray comment lines have been deleted.
>
> 2. In the second patch, files have been ordered alphabetically.
>
> 3. There's a new 3rd patch, which edits the raspberrypi.mojom file so
> that the vblank field in the SensorConfig is more accurately named
> vblankDelay.
>
> Thanks and best regards
>
> David


> David Plowman (3):
>   ipa: raspberrypi: Make CamHelpers return the frame delay for vblanking
>   ipa: raspberrypi: Add support for imx290/imx327 sensors
>   ipa: raspberrypi: Rename vblank field in SensorConfig to vblankDelay
>
>
For all three patches:
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>


>  include/libcamera/ipa/raspberrypi.mojom       |   2 +-
>  src/ipa/raspberrypi/cam_helper.cpp            |   4 +-
>  src/ipa/raspberrypi/cam_helper.hpp            |  11 +-
>  src/ipa/raspberrypi/cam_helper_imx290.cpp     |  67 +++++++
>  src/ipa/raspberrypi/cam_helper_imx477.cpp     |   7 +-
>  src/ipa/raspberrypi/cam_helper_ov5647.cpp     |   7 +-
>  src/ipa/raspberrypi/data/imx290.json          | 165 ++++++++++++++++++
>  src/ipa/raspberrypi/data/meson.build          |   1 +
>  src/ipa/raspberrypi/meson.build               |   1 +
>  src/ipa/raspberrypi/raspberrypi.cpp           |   6 +-
>  .../pipeline/raspberrypi/raspberrypi.cpp      |   2 +-
>  11 files changed, 258 insertions(+), 15 deletions(-)
>  create mode 100644 src/ipa/raspberrypi/cam_helper_imx290.cpp
>  create mode 100644 src/ipa/raspberrypi/data/imx290.json
>
> --
> 2.20.1
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel@lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
>