[libcamera-devel] [PATCH 0/3] cam: Support KMS scaling
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Aug 9 00:33:38 CEST 2022
Quoting Laurent Pinchart via libcamera-devel (2022-08-07 19:00:57)
> Hello,
>
> This patch series improves the KMS sink in cam to scale the frame buffer
> to full screen when supported by the hardware, and to center the image
> instead of aligning it to the top-left corner otherwise.
>
> The series has been tested on a RockPi 4 board.
And an IPU3 SGo2:
Tested-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
>
> Please see individual patches for details.
>
> Laurent Pinchart (3):
> cam: drm: Add support for test-only commits
> cam: kms_sink: Make lifetime management of DRM request safer
> cam: kms_sink: Scale the frame buffer to full screen if supported
>
> src/cam/drm.cpp | 2 +
> src/cam/drm.h | 1 +
> src/cam/kms_sink.cpp | 99 +++++++++++++++++++++++++++++++++++++++-----
> src/cam/kms_sink.h | 13 +++++-
> 4 files changed, 102 insertions(+), 13 deletions(-)
>
>
> base-commit: 26c82ce13697e1af5950f4935ecff83c6453f351
> --
> Regards,
>
> Laurent Pinchart
>
More information about the libcamera-devel
mailing list