libcamera: yaml_parser: Split YamlObject from YamlParser

The YamlObject class was designed to represent data parsed from YAML
files. It is outgrowing the initial needs. Move it to a separate file to
prepare for a rename.

Most files that include yaml_parser.h only need access to a YamlObject.
Switch them to yaml_object.h. pipeline_base.cpp was including
yaml_parser.h indirectly through pipeline_base.h, include it directly
now.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2025-10-19 02:42:35 +03:00
parent 31a817cda2
commit 7133680dd7
33 changed files with 729 additions and 683 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
#include <libcamera/control_ids.h>
#include "libcamera/internal/yaml_parser.h"
#include "libcamera/internal/yaml_object.h"
/**
* \file blc.h