[v3,0/1] Reduce statistics image area for GPU
mbox series

Message ID 20250813170240.50173-1-mzamazal@redhat.com
Headers show
Series
  • Reduce statistics image area for GPU
Related show

Message

Milan Zamazal Aug. 13, 2025, 5:02 p.m. UTC
This patch set on top of GPU ISP patches reduces CPU time spent in
processing statistics by about a half.

Changes in v3:
- Rectangle::croppedBy() dropped, already available methods used instead.
- The cropping is applied also in CPU debayering for consistency.

Changes in v2:
- Safer implementation of Rectangle::croppedBy() as suggested by Kieran.
- Test added for Rectangle::croppedBy().
- The comment about not passing x,y clarified.

Milan Zamazal (1):
  libcamera: software_isp: Reduce statistics image area

 src/libcamera/software_isp/debayer_cpu.cpp | 9 +++++++--
 src/libcamera/software_isp/debayer_egl.cpp | 7 +++++--
 2 files changed, 12 insertions(+), 4 deletions(-)