scuffle-h265 0.2.2

A pure Rust H.265 header decoder.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use nutype_enum::nutype_enum;

nutype_enum! {
    /// Represents all possible values of the `constant_frame_rate` field in the
    /// [`HEVCDecoderConfigurationRecord`](crate::config::HEVCDecoderConfigurationRecord).
    ///
    /// ISO/IEC 14496-15 - 8.3.2.1.3
    pub enum ConstantFrameRate(u8) {
        /// Indicates that the stream may or may not be of constant frame rate.
        Unknown = 0,
        /// Indicates that the stream to which this configuration record
        /// applies is of constant frame rate.
        Constant = 1,
        /// Indicates that the representation of each temporal
        /// layer in the stream is of constant frame rate.
        TemporalLayerConstant = 2,
    }
}