[0/2] libcamera: Add and use Matrix::transpose()
mbox series

Message ID 20260913153105.2478177-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • libcamera: Add and use Matrix::transpose()
Related show

Message

Laurent Pinchart Sept. 13, 2026, 3:31 p.m. UTC
Hello,

A change to the software ISP recently introduce hand-coded matrix
transposition. This is a feature that belongs to the Matrix class. This
small series adds a new Matrix::transpose() function and uses it in the
software ISP.

The code has been compile-tested only.

Laurent Pinchart (2):
  libcamera: matrix: Add a transpose() function
  libcamera: software_isp: debayer_egl: Use Matrix::transpose()

 include/libcamera/internal/matrix.h        | 12 ++++++++++
 src/libcamera/matrix.cpp                   | 27 ++++++++++++++++++++++
 src/libcamera/software_isp/debayer_egl.cpp | 19 ++++-----------
 3 files changed, 43 insertions(+), 15 deletions(-)


base-commit: 87c7285663aaad7608fdc18d5216ec6811c685c7