[0/2] pipeline: simple: Add ScalerCrop reporting
mbox series

Message ID 20260507-kbingham-simple-scaler-crop-v1-0-7a5af1948565@ideasonboard.com
Headers show
Series
  • pipeline: simple: Add ScalerCrop reporting
Related show

Message

Kieran Bingham May 7, 2026, 3:25 p.m. UTC
While the Simple Pipeline handler doesn't support ScalerCrop, it can be
beneficial to report the ScalerCropMaximum and the ScalerCrop metadata
anyway as applications can use this information to determine the
positioning of the pixels captured in respect to the active area.

This series reports the AnalogCrop as the ScalerCropMaximum in the
camera properties, and also as the the ScalerCrop in each completed
frame metadata.

I'm curious on opinions if we should have more specific names for
reporting this metadata when theres' not actually a ScalerCrop
involved... 

With this series, it's possible to view the bounding rectangles and crop
positions of the selected modes in camshark.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
Kieran Bingham (2):
      pipeline: simple: Report ScalerCropMaximum camera property
      pipeline: simple: Report the ScalerCrop

 src/libcamera/pipeline/simple/simple.cpp | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
base-commit: 183e37362f57ff3ce7493abf0bc6f1b57b931f55
change-id: 20260507-kbingham-simple-scaler-crop-60b506e2bc4c

Best regards,