libipa: awb: Tidy up includes

Drop unneeded headers and add missing ones.

The yaml_parser.h header is dropped from awb_grey.h as the classes it
provides are only used in virtual functions defined by the base class,
so any required definitions are guaranteed to be available already.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2025-02-23 23:12:40 +02:00
parent afd87c342c
commit 643af7f2e7
4 changed files with 8 additions and 10 deletions

View file

@ -8,7 +8,12 @@
#include "awb_bayes.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <map>
#include <ostream>
#include <vector>
#include <libcamera/base/log.h>
#include <libcamera/control_ids.h>

View file

@ -7,14 +7,6 @@
#pragma once
#include <map>
#include <memory>
#include <tuple>
#include <vector>
#include <libcamera/base/utils.h>
#include <libcamera/control_ids.h>
#include <libcamera/controls.h>
#include "libcamera/internal/vector.h"

View file

@ -7,7 +7,7 @@
#include "awb_grey.h"
#include <cmath>
#include <algorithm>
#include <libcamera/base/log.h>
#include <libcamera/control_ids.h>

View file

@ -7,8 +7,9 @@
#pragma once
#include <optional>
#include "libcamera/internal/vector.h"
#include "libcamera/internal/yaml_parser.h"
#include "awb.h"
#include "interpolator.h"