libcamera: src/ipa/ipu3/algorithms/blc.h Source File

libcamera v0.0.4 Supporting cameras in Linux since 2019

Loading...
Searching...
No Matches
blc.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2021, Google inc.
4 *
5 * black_correction.h - IPU3 Black Level Correction control
6 */
7
8#pragma once
9
10#include "algorithm.h"
11
12namespace libcamera {
13
14namespace ipa::ipu3::algorithms {
15
16 class BlackLevelCorrection : public Algorithm
17{
18public:
19 BlackLevelCorrection();
20
21 void prepare(IPAContext &context, const uint32_t frame,
22 IPAFrameContext &frameContext,
23 ipu3_uapi_params *params) override;
24};
25
26} /* namespace ipa::ipu3::algorithms */
27
28} /* namespace libcamera */
libcamera::ipa::Algorithm
The base class for all IPA algorithms.
Definition: algorithm.h:23
libcamera::ipa::ipu3::algorithms::BlackLevelCorrection
A class to handle black level correction.
Definition: blc.h:17
libcamera::ipa::ipu3::algorithms::BlackLevelCorrection::prepare
void prepare(IPAContext &context, const uint32_t frame, IPAFrameContext &frameContext, ipu3_uapi_params *params) override
Fill in the parameter structure, and enable black level correction.
Definition: blc.cpp:49
algorithm.h
Algorithm common interface.
libcamera
Top-level libcamera namespace.
Definition: backtrace.h:17
libcamera::ipa::ipu3::IPAContext
Global IPA context data shared between all algorithms.
Definition: ipa_context.h:83
libcamera::ipa::ipu3::IPAFrameContext
IPU3-specific FrameContext.
Definition: ipa_context.h:76