summaryrefslogtreecommitdiff
path: root/binary_data.cpp
AgeCommit message (Collapse)Author
2021-08-04binary_data: Use type-safe file flagsUmang Jain
In commit 91d06ae2fc61("libcamera: file: Use Flags<> class for open flags"), type-safe file mode flags are introduced. Adapt our usage accordingly in BinaryData, which uses the File class from libcamera. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
2021-06-28aiq: Provide a BinaryData wrapperKieran Bingham
The AIQ class loads data as instances of ia_binary_data. The data for this structure should be loaded from files, and the lifetime of the data is managed by the lifetime of the class. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>