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

libcamera v0.7.0 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 * 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::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:47
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:86
libcamera::ipa::ipu3::IPAFrameContext
IPU3-specific FrameContext.
Definition ipa_context.h:79