scuffle_h265/enums/constant_frame_rate.rs
1use nutype_enum::nutype_enum;
2
3nutype_enum! {
4 /// Represents all possible values of the `constant_frame_rate` field in the
5 /// [`HEVCDecoderConfigurationRecord`](crate::config::HEVCDecoderConfigurationRecord).
6 ///
7 /// ISO/IEC 14496-15 - 8.3.2.1.3
8 pub enum ConstantFrameRate(u8) {
9 /// Indicates that the stream may or may not be of constant frame rate.
10 Unknown = 0,
11 /// Indicates that the stream to which this configuration record
12 /// applies is of constant frame rate.
13 Constant = 1,
14 /// Indicates that the representation of each temporal
15 /// layer in the stream is of constant frame rate.
16 TemporalLayerConstant = 2,
17 }
18}