[v3,0/2] Add cmNew to dewarp paremeters
mbox series

Message ID 20260709124159.387110-1-stefan.klug@ideasonboard.com
Headers show
Series
  • Add cmNew to dewarp paremeters
Related show

Message

Stefan Klug July 9, 2026, 12:41 p.m. UTC
Hi all,

This tiny series adds support for a second camera matrix to the dw100
dewarp implementation (reasoning see patch 2).

Patch 1 contains a bit of preparatory refactoring, patch 2 implements
the feature.

In v2 the union was dropped from DewarpParams to ensure we don't get
into undefined-behavior-land.

In v3 tiny fixes were applied tp pass CI. The comment on patch 2 was
improved but the overall level of documentation (or lack thereof) didn't
change.

Best regards,
Stefan

Stefan Klug (2):
  libcamera: converter: converter_dw100: Refactor dewarp param handling
  libcamera: converter: converter_dw100: Allow to transform between
    different camera matrices

 .../internal/converter/converter_dw100.h      |   7 +-
 .../converter/converter_dw100_vertexmap.h     |  37 ++++-
 src/libcamera/converter/converter_dw100.cpp   |  28 +++-
 .../converter/converter_dw100_vertexmap.cpp   | 132 +++++++++++-------
 4 files changed, 139 insertions(+), 65 deletions(-)