[0/4] Move Vector class from libipa to libcamera
mbox series

Message ID 20250206141018.236272-1-stefan.klug@ideasonboard.com
Headers show
Series
  • Move Vector class from libipa to libcamera
Related show

Message

Stefan Klug Feb. 6, 2025, 2:10 p.m. UTC
This series moves the Vector class from libipa to libcamera. This allows
usage of the class inside pipeline handler code. The Matrix class
already lives inside libcamera so it is sensible to move the Vector
there, too.

Best regards,
Stefan

Stefan Klug (4):
  libcamera: Copy Vector class files from libipa
  libcamera: Adapt Vector class to new location
  ipa: Use Vector class from libcamera
  libipa: Drop Vector class

 include/libcamera/internal/meson.build             |  1 +
 .../libipa => include/libcamera/internal}/vector.h | 14 +++++---------
 src/ipa/ipu3/algorithms/awb.h                      |  2 +-
 src/ipa/libipa/colours.h                           |  2 +-
 src/ipa/libipa/meson.build                         |  2 --
 src/ipa/libipa/pwl.h                               |  2 +-
 src/ipa/rkisp1/algorithms/awb.h                    |  3 ++-
 src/ipa/rkisp1/ipa_context.h                       |  2 +-
 src/ipa/rpi/controller/rpi/agc_channel.cpp         |  7 ++++---
 src/libcamera/meson.build                          |  1 +
 src/{ipa/libipa => libcamera}/vector.cpp           |  6 +-----
 test/ipa/libipa/meson.build                        |  1 -
 test/meson.build                                   |  1 +
 test/{ipa/libipa => }/vector.cpp                   |  4 ++--
 14 files changed, 21 insertions(+), 27 deletions(-)
 rename {src/ipa/libipa => include/libcamera/internal}/vector.h (96%)
 rename src/{ipa/libipa => libcamera}/vector.cpp (99%)
 rename test/{ipa/libipa => }/vector.cpp (97%)