summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_noise.py
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2024-12-16 16:20:10 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2024-12-23 17:38:40 +0900
commit344064a1115d3d14640046d0edea960ba1ede45c (patch)
tree91159f40b4894344c27a3da3128dcb05effef59a /utils/raspberrypi/ctt/ctt_noise.py
parentbd077a11eed5bad324cfe72ae04f8d3835bb2459 (diff)
ipa: rkisp1: Add Lux algorithm module
Add a lux algorithm module to rkisp1 IPA for estimating the lux level of an image. This is reported in metadata, as well as saved in the frame context so that other algorithms (mainly AGC) can use its value. It does not set any controls. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_noise.py')
0 files changed, 0 insertions, 0 deletions
href='#n56'>56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2019, Raspberry Pi Ltd
 *
 * cam_helper_ov5647.cpp - camera information for ov5647 sensor
 */

#include <assert.h>

#include "cam_helper.h"

using namespace RPiController;

class CamHelperOv5647 : public CamHelper
{
public:
	CamHelperOv5647();
	uint32_t gainCode(double gain) const override;
	double gain(uint32_t gainCode) const override;
	void getDelays(int &exposureDelay, int &gainDelay,
		       int &vblankDelay) const override;
	unsigned int hideFramesStartup() const override;
	unsigned int hideFramesModeSwitch() const override;
	unsigned int mistrustFramesStartup() const override;
	unsigned int mistrustFramesModeSwitch() const override;