/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
* dpc.hpp - DPC (defective pixel correction) control algorithm
*/
#pragma once
#include "../algorithm.hpp"
#include "../dpc_status.h"
namespace RPiController {
// Back End algorithm to apply appropriate GEQ settings.
struct DpcConfig {
int strength;
};
class Dpc : public Algorithm
{
public:
Dpc(Controller *controller);
char const *Name() const override;
void Read(boost::property_tree::ptree const ¶ms) override;
void Prepare(Metadata *image_metadata) override;
private:
DpcConfig config_;
};
} // namespace RPiController
lass='main'>index : libcamera/vivid.git
blob: f8886eca8e6e4e3b6efdd4a11957528ea2e0f4cd (
plain)
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-twitter"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg>
|