[libcamera-devel,v2,0/1] Add Bayer format support for RkISP1
mbox series

Message ID 20221003143638.604343-1-fsylvestre@baylibre.com
Headers show
Series
  • Add Bayer format support for RkISP1
Related show

Message

Florian Sylvestre Oct. 3, 2022, 2:36 p.m. UTC
This patch allows pipeline configuration for supporting raw format on RkISP1.
It also manage the fact that statistics will not be available while we bypass
ISP algorithms and that ISP is not supporting resizing on raw formats (so the
sensor resolution is forced if necessary).

Modifications in V2:
- Simplify the code for conversion from format to mbus code.
- Sort the bayer patterns alphabetically

Things that still need to be developped:
- manual exposure and gain will not be taken into account correctly
- need to remove second stream in case at least on of the stream is configured
in raw format.
- should we skip queuing ISP parameters? (tried one my side without success)

Florian Sylvestre (1):
  pipeline: rkisp1: Implement Bayer formats support

 include/libcamera/ipa/rkisp1.mojom            |  1 +
 src/ipa/rkisp1/rkisp1.cpp                     | 10 +++
 src/libcamera/pipeline/rkisp1/rkisp1.cpp      | 64 ++++++++++++++++++-
 src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 44 ++++++++++---
 4 files changed, 106 insertions(+), 13 deletions(-)