From 9334e11593b6dd3e55e3ee44131146a44794367c Mon Sep 17 00:00:00 2001 From: Dmitry Kornev Date: Tue, 21 Nov 2023 14:13:46 -0800 Subject: [PATCH] Add recordable class for segmentation output Summary: Add a new recordable class for segmentation outputs. Reviewed By: georges-berenger Differential Revision: D51197410 fbshipit-source-id: 0857de242a985eaab7d62afdab386d359de64e4e --- vrs/StreamId.cpp | 1 + vrs/StreamId.h | 1 + 2 files changed, 2 insertions(+) diff --git a/vrs/StreamId.cpp b/vrs/StreamId.cpp index c8f6508a..207d1934 100644 --- a/vrs/StreamId.cpp +++ b/vrs/StreamId.cpp @@ -135,6 +135,7 @@ const map& getRecordableTypeIdRegistry() { {RecordableTypeId::MapRecordableClass, "Map Data Class"}, {RecordableTypeId::SensorVarianceBiasRecordableClass, "Sensor Variance/Bias Data Class"}, {RecordableTypeId::AnchorRecordableClass, "Anchor Data Class"}, + {RecordableTypeId::SegmentationRecordableClass, "Segmentation Data Class"}, /// << Annotations >> {RecordableTypeId::AnnotationRecordableClass, "Annotation Data Class"}, diff --git a/vrs/StreamId.h b/vrs/StreamId.h index fa41ec31..eeb02259 100644 --- a/vrs/StreamId.h +++ b/vrs/StreamId.h @@ -157,6 +157,7 @@ enum class RecordableTypeId : uint16_t { MapRecordableClass = 377, ///< For map data streams. SensorVarianceBiasRecordableClass = 378, ///< For sensor variance/bias results. AnchorRecordableClass = 379, ///< For anchor data streams (i.e. spatial persistence anchors). + SegmentationRecordableClass = 380, ///< For segmentation data streams. // << Annotations >> AnnotationRecordableClass = 400, ///< For annotation streams.