[libcamera-devel,0/4] Add more formats to rkisp1
mbox series

Message ID 20220707150310.3645858-1-paul.elder@ideasonboard.com
Headers show
Series
  • Add more formats to rkisp1
Related show

Message

Paul Elder July 7, 2022, 3:03 p.m. UTC
This series adds support to the rkisp1 pipeline handler for YUV420,
YVU420, YUV422, and YVU422 as available output formats. The first two
are already supported, while the latter two require a modification in
how V4L2PixelFormats are chosen, which is in patch 2/4.

Patch 4/4 is RFC as it adds a format that is not yet supported by the
driver but will be in the future, and I want to commence discussion on
how this situation should be handled, including backwards compatibility
and preventing the user from choosing the format when on an older
version of the driver. (The kernel patch hasn't been sent yet because I
haven't yet been able to test it on the rk3399)

Paul Elder (4):
  pipeline: rkisp1: Add output support for YUV420 and YVU420
  libcamera: v4l2_pixelformat: Use multiplanar if single is unavailable
  pipeline: rkisp1: Add support for YUV422 and YVU422
  pipeline: rkisp1: Add support for UYVY

 src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 9 ++++++++-
 src/libcamera/v4l2_pixelformat.cpp            | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)