[v1,0/2] Clarify rectangle behavior
mbox series

Message ID 20260616120828.375547-1-stefan.klug@ideasonboard.com
Headers show
Series
  • Clarify rectangle behavior
Related show

Message

Stefan Klug June 16, 2026, 12:08 p.m. UTC
Hi all,

This series changes the behavior of PixelArraySize to represent the
physical sensor area instead of the readable pixel area. The reasoning
is explained in a bit more detail in patch 1. Patch 2 is a small cleanup
that also shows how limited the impact on the overall project is.

With these patches applied I am able to draw proper bounding rectangles
in camshark. An implemented is available in
https://gitlab.freedesktop.org/camera/camshark/-/tree/sklug/next?ref_type=heads

Best regards,
Stefan

Stefan Klug (2):
  libcamera: Clarify meaning of PixelArraySize and other rectangles
  libcamera: ipa: core: Rename IPACameraSensorInfo::activeAreaSize to
    pixelArraySize

 include/libcamera/ipa/core.mojom              |   6 +-
 src/ipa/rkisp1/algorithms/lsc.cpp             |   6 +-
 src/ipa/rpi/common/ipa_base.cpp               |   4 +-
 src/libcamera/property_ids_core.yaml          | 116 ++++++++++--------
 src/libcamera/sensor/camera_sensor_legacy.cpp |  28 +++--
 src/libcamera/sensor/camera_sensor_raw.cpp    |  18 ++-
 6 files changed, 96 insertions(+), 82 deletions(-)