[libcamera-devel] [PATCH v2 0/5] libcamera: pipeline: simple: Support scaling on the camea sensor

Dorota Czaplejewicz dorota.czaplejewicz at puri.sm
Mon Jun 13 11:11:00 CEST 2022


On Sun, 12 Jun 2022 18:23:06 +0300
Laurent Pinchart <laurent.pinchart at ideasonboard.com> wrote:

> Hello,
> 
> This patch series improves the simple pipeline handler to support
> scaling (in the generic sense, this can be binning/skipping or real
> scaling) on the camera sensor in addition to the converter. This is
> useful on platforms that don't have a converter, but also on platforms
> where the SoC camera pipeline has limitations on resolution and/or
> bandwidth.
> 
> Patches 1/5 and 2/5 are small drive-by improvements, patches 3/5 and 4/5
> prepare for sensor scaling support with some code refactoring, and patch
> 5/5 then performs the bulk of the work, with an explanation of the
> heuristics used to configure scaling.
> 
> Laurent Pinchart (5):
>   libcamera: pipeline: simple: Improve debug message on config failure
>   libcamera: pipeline: simple: Document the pipeline traversal algorithm
>   libcamera: pipeline: simple: Factor out format test to separate
>     function
>   libcamera: pipeline: simple: Store sensor resolution in configuration
>   libcamera: pipeline: simple: Support scaling on the sensor
> 
>  src/libcamera/pipeline/simple/simple.cpp | 270 ++++++++++++++++-------
>  1 file changed, 190 insertions(+), 80 deletions(-)
> 
> 
> base-commit: b4d4b78c82a23de3c6dd1676bf43bba1d6043652

Tested-by: Dorota Czaplejewicz <dorota.czaplejewicz at puri.sm>
Reviewed-by: Dorota Czaplejewicz <dorota.czaplejewicz at puri.sm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220613/8ba9783c/attachment.sig>


More information about the libcamera-devel mailing list