[libcamera-devel] [PATCH 0/3] cam: Support KMS scaling
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sun Aug 7 20:00:57 CEST 2022
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.
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