From a857a150e13d71abdc0b321984f08bd0a173a3b2 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 22 Nov 2022 15:42:35 +0000 Subject: pipeline: raspberrypi: Remove enum BuffferMask from the mojom interface The BufferMask enum provides a way of identifying which stream a frame buffer belongs to. This enum is defined in the raspberrypi.mojom interface file. However, the IPA does not need these enum definitions to mmap buffers that it uses. Move this enum out of the raspberrypi.mojom interface file and put it into the RPi namespace visible only to the pipeline handler. This removes the need to include the auto-generated IPA interface header in the RPi::Stream definition. Signed-off-by: Naushir Patuck Reviewed-by: Laurent Pinchart Reviewed-by: David Plowman Signed-off-by: Laurent Pinchart --- include/libcamera/ipa/raspberrypi.mojom | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/libcamera/ipa/raspberrypi.mojom b/include/libcamera/ipa/raspberrypi.mojom index 40f78d9e..d53644fe 100644 --- a/include/libcamera/ipa/raspberrypi.mojom +++ b/include/libcamera/ipa/raspberrypi.mojom @@ -8,14 +8,6 @@ module ipa.RPi; import "include/libcamera/ipa/core.mojom"; -enum BufferMask { - MaskID = 0x00ffff, - MaskStats = 0x010000, - MaskEmbeddedData = 0x020000, - MaskBayerData = 0x040000, - MaskExternalBuffer = 0x100000, -}; - /* Size of the LS grid allocation. */ const uint32 MaxLsGridSize = 0x8000; -- cgit v1.2.1