Add a skeletal AGC module just so that we can have some AGC tuning values that we can use to test during development of AGC in the IPAs. As rkisp1 is the main target, we only add support for rkisp1 for now. The parameters are mostly copied from the hardcoded values in ctt, except for the metering modes. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
21 lines
457 B
Python
21 lines
457 B
Python
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (C) 2019, Raspberry Pi Ltd
|
|
# Copyright (C) 2024, Paul Elder <paul.elder@ideasonboard.com>
|
|
|
|
from ..module import Module
|
|
|
|
import libtuning as lt
|
|
|
|
|
|
class AGC(Module):
|
|
type = 'agc'
|
|
hr_name = 'AGC (Base)'
|
|
out_name = 'GenericAGC'
|
|
|
|
# \todo Add sector shapes and stuff just like lsc
|
|
def __init__(self, *,
|
|
debug: list):
|
|
super().__init__()
|
|
|
|
self.debug = debug
|