libcamera  v0.4.0
Supporting cameras in Linux since 2019
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 
12 namespace libcamera {
13 
14 namespace ipa::ipu3::algorithms {
15 
17 {
18 public:
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 */
Global IPA context data shared between all algorithms.
Definition: ipa_context.h:86
Top-level libcamera namespace.
Definition: backtrace.h:17
A class to handle black level correction.
Definition: blc.h:16
IPU3-specific FrameContext.
Definition: ipa_context.h:79
The base class for all IPA algorithms.
Definition: algorithm.h:22
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