summaryrefslogtreecommitdiff
path: root/src/ipa/libipa
AgeCommit message (Expand)Author
2022-04-01libipa: camera_sensor_helper: Add OV5640 helperPaul Elder
2022-04-01libipa: camera_sensor_helper: Add IMX296 helperLaurent Pinchart
2022-04-01libipa: camera_sensor_helper: Add IMX290 helperLaurent Pinchart
2022-04-01libipa: camera_sensor_helper: Implement exponential gain modelLaurent Pinchart
2022-04-01libipa: camera_sensor_helper: Reorganize gain constantsLaurent Pinchart
2022-03-28ipa: libipa: Histogram: Constify the constructor spanJean-Michel Hautbois
2022-03-17libipa: Add CameraSensorHelper for OV2740Daniel Scally
2021-11-29ipa: libipa: Introduce Algorithm class templateJean-Michel Hautbois
2021-11-29libipa: Correct IMX219 in CameraSensorHelperJean-Michel Hautbois
2021-11-24ipa: libipa: Convert to pragma onceKieran Bingham
2021-08-31ipa: libipa: histogram: Fix typoLaurent Pinchart
2021-08-20ipa: move libipa::Algorithm to ipa/ipu3/algorithmsJean-Michel Hautbois
2021-08-09libcamera: Rename 'method' to 'function'Laurent Pinchart
2021-07-25libipa: Add CameraSensorHelper for ov8865Daniel Scally
2021-07-23libipa: Add CameraSensorHelper for IMX258Umang Jain
2021-07-15libipa: Correct OV5670 CameraSensorHelper gain valuesJean-Michel Hautbois
2021-07-15libipa: Add CameraSensorHelper for OV13858Jean-Michel Hautbois
2021-07-09ipa: libipa: Fixups in CameraSensorHelpersJean-Michel Hautbois
2021-06-28ipa: Create a camera sensor helper classJean-Michel Hautbois
2021-06-25libcamera/base: Validate internal headers as privateKieran Bingham
2021-06-25libcamera/base: Move span to base libraryKieran Bingham
2021-06-25libcamera/base: Move extended base functionalityKieran Bingham
2021-04-22ipa: ipu3: Add a histogram classJean-Michel Hautbois
2021-04-22ipa: Add a common interface for algorithm objectsJean-Michel Hautbois
2021-02-16libcamera: IPAInterface: Replace C API with the new C++-only APIPaul Elder
2020-12-08libcamera: ipa: Pass a set of controls and return results from ipa::start()Naushir Patuck
2020-07-17libcamera: ipa_interface: Add support for custom IPA data to configure()Laurent Pinchart
2020-05-16libcamera: Move IPA headers from include/ipa/ to include/libcamera/ipa/Laurent Pinchart
2020-05-16libcamera: Move internal headers to include/libcamera/internal/Laurent Pinchart
2020-05-13licenses: License all meson files under CC0-1.0Laurent Pinchart
2020-04-28libcamera: ipa: Add support for CameraSensorInfoJacopo Mondi
2020-04-28ipa: Pass IPA initialization settings to IPAInterface::init()Laurent Pinchart
2020-04-14ipa: Add start() and stop() operationsNiklas Söderlund
2020-01-14libcamera: Switch from utils::make_unique to std::make_uniqueLaurent Pinchart
2020-01-12ipa: Switch to FrameBuffer interfaceNiklas Söderlund
2019-11-20ipa: Allow short-circuiting the ipa_context_opsLaurent Pinchart
2019-11-20ipa: Switch to the plain C APIJacopo Mondi
pt">} void Controller::Prepare(Metadata *image_metadata) { assert(switch_mode_called_); for (auto &algo : algorithms_) if (!algo->IsPaused()) algo->Prepare(image_metadata); } void Controller::Process(StatisticsPtr stats, Metadata *image_metadata) { assert(switch_mode_called_); for (auto &algo : algorithms_) if (!algo->IsPaused()) algo->Process(stats, image_metadata); } Metadata &Controller::GetGlobalMetadata() { return global_metadata_; } Algorithm *Controller::GetAlgorithm(std::string const &name) const { // The passed name must be the entire algorithm name, or must match the // last part of it with a period (.) just before. size_t name_len = name.length(); for (auto &algo : algorithms_) { char const *algo_name = algo->Name(); size_t algo_name_len = strlen(algo_name); if (algo_name_len >= name_len && strcasecmp(name.c_str(), algo_name + algo_name_len - name_len) == 0 && (name_len == algo_name_len || algo_name[algo_name_len - name_len - 1] == '.')) return algo.get(); } return nullptr; }