scuffle_h265/enums/num_temporal_layers.rs
1use nutype_enum::nutype_enum;
2
3nutype_enum! {
4 /// The number of temporal layers in the stream.
5 ///
6 /// `0` and `1` are special values.
7 ///
8 /// Any other value represents the actual number of temporal layers.
9 pub enum NumTemporalLayers(u8) {
10 /// The stream might be temporally scalable.
11 Unknown = 0,
12 /// The stream is not temporally scalable.
13 NotScalable = 1,
14 }
15}