libcamera: software_isp: Add a clarification comment to AWB
The computed AWB gains are applied when constructing LUT tables rather than in awb.cpp itself. This can look confusing when reading awb.cpp, let's add a clarifying comment. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
058f589ae3
commit
21088e605c
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ void Awb::prepare(IPAContext &context,
|
|||
[[maybe_unused]] DebayerParams *params)
|
||||
{
|
||||
auto &gains = context.activeState.awb.gains;
|
||||
/* Just report, the gains are applied in LUT algorithm. */
|
||||
frameContext.gains.red = gains.r();
|
||||
frameContext.gains.blue = gains.b();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue