libcamera: Adapt Vector class to new location

Change the namespace of the Vector class from libipa to libcamera and
add it to the build.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Stefan Klug 2025-02-06 15:10:09 +01:00
parent e506b45822
commit cfd94e5f85
6 changed files with 11 additions and 16 deletions

View file

@ -53,6 +53,7 @@ libcamera_internal_sources = files([
'v4l2_pixelformat.cpp',
'v4l2_subdevice.cpp',
'v4l2_videodevice.cpp',
'vector.cpp',
'yaml_parser.cpp',
])

View file

@ -5,7 +5,7 @@
* Vector and related operations
*/
#include "vector.h"
#include "libcamera/internal/vector.h"
#include <libcamera/base/log.h>
@ -18,8 +18,6 @@ namespace libcamera {
LOG_DEFINE_CATEGORY(Vector)
namespace ipa {
/**
* \class Vector
* \brief Vector class
@ -346,6 +344,4 @@ bool vectorValidateYaml(const YamlObject &obj, unsigned int size)
}
#endif /* __DOXYGEN__ */
} /* namespace ipa */
} /* namespace libcamera */