Skip to content

Commit

Permalink
Add recordable class for segmentation output
Browse files Browse the repository at this point in the history
Summary: Add a new recordable class for segmentation outputs.

Reviewed By: georges-berenger

Differential Revision: D51197410

fbshipit-source-id: 0857de242a985eaab7d62afdab386d359de64e4e
  • Loading branch information
Dmitry Kornev authored and facebook-github-bot committed Nov 21, 2023
1 parent d4fb0bb commit 9334e11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions vrs/StreamId.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const map<RecordableTypeId, const char*>& 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"},
Expand Down
1 change: 1 addition & 0 deletions vrs/StreamId.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9334e11

Please sign in to comment.