[libcamera-devel] [RFC PATCH 0/2] rkisp1: Get supported formats from driver
Paul Elder
paul.elder at ideasonboard.com
Tue Jul 19 14:10:01 CEST 2022
This series makes the rkisp1 pipeline get the list of supported formats
from the V4L2 device, as opposed to hardcoding it as before. This lets
us add support for, notably, UYVY without having to worry about driver
versions.
The current implementation of V4L2VideoDevice prevents this from working
as-is, so it is massaged in patch 1.
This series also obviously deprecates the series that I sent earlier
today: v3 "pipeline: rkisp1: Support devices without self path". That
series was meant to be a quick fix for the formats that we know are
supported for all versions of the driver.
Paul Elder (2):
libcamera: v4l2_videodevice: Get formats even if no framesizes
pipeline: rkisp1: Query the driver for formats
include/libcamera/internal/v4l2_videodevice.h | 2 +-
src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 50 +++++++++----------
src/libcamera/pipeline/rkisp1/rkisp1_path.h | 6 ++-
src/libcamera/v4l2_videodevice.cpp | 12 +++--
4 files changed, 38 insertions(+), 32 deletions(-)
--
2.30.2
More information about the libcamera-devel
mailing list