ipa: raspberrypi: Change to C style code comments
As part of the on-going refactor efforts for the source files in src/ipa/raspberrypi/, switch all C++ style comments to C style comments. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
177df04d2b
commit
acd5d9979f
@@ -14,8 +14,10 @@ using namespace libcamera;
|
||||
|
||||
LOG_DEFINE_CATEGORY(RPiDpc)
|
||||
|
||||
// We use the lux status so that we can apply stronger settings in darkness (if
|
||||
// necessary).
|
||||
/*
|
||||
* We use the lux status so that we can apply stronger settings in darkness (if
|
||||
* necessary).
|
||||
*/
|
||||
|
||||
#define NAME "rpi.dpc"
|
||||
|
||||
@@ -39,13 +41,13 @@ void Dpc::read(boost::property_tree::ptree const ¶ms)
|
||||
void Dpc::prepare(Metadata *imageMetadata)
|
||||
{
|
||||
DpcStatus dpcStatus = {};
|
||||
// Should we vary this with lux level or analogue gain? TBD.
|
||||
/* Should we vary this with lux level or analogue gain? TBD. */
|
||||
dpcStatus.strength = config_.strength;
|
||||
LOG(RPiDpc, Debug) << "strength " << dpcStatus.strength;
|
||||
imageMetadata->set("dpc.status", dpcStatus);
|
||||
}
|
||||
|
||||
// Register algorithm with the system.
|
||||
/* Register algorithm with the system. */
|
||||
static Algorithm *create(Controller *controller)
|
||||
{
|
||||
return (Algorithm *)new Dpc(controller);
|
||||
|
||||
Reference in New Issue
Block a user