scuffle_h264/enums/
video_format.rs

1use nutype_enum::nutype_enum;
2
3nutype_enum! {
4    /// The `VideoFormat` is a nutype enum for `video_format` as defined in
5    /// ISO/IEC-14496-10-2022 - E.2.1 Table E-2.
6    ///
7    /// Defaults to 5 (unspecified).
8    pub enum VideoFormat(u8) {
9        /// The video type is component.
10        Component = 0,
11
12        /// The video type is PAL.
13        PAL = 1,
14
15        /// The video type is NTSC.
16        NTSC = 2,
17
18        /// The video type is SECAM.
19        SECAM = 3,
20
21        /// The video type is MAC.
22        MAC = 4,
23
24        /// The video type is Unspecified.
25        Unspecified = 5,
26
27        /// The video type is Reserved.
28        Reserved1 = 6,
29
30        /// The video type is Reserved.
31        Reserved2 = 7,
32    }
33}