| 33 | static const uint8_t KnownVersion = 3; |
| 34 | |
| 35 | static bool HasTrackMatte(TrackMatteType type) { |
| 36 | switch (type) { |
| 37 | case TrackMatteType::Alpha: |
| 38 | case TrackMatteType::AlphaInverted: |
| 39 | case TrackMatteType::Luma: |
| 40 | case TrackMatteType::LumaInverted: |
| 41 | return true; |
| 42 | default: |
| 43 | return false; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | uint16_t Codec::MaxSupportedTagLevel() { |
| 48 | return static_cast<uint16_t>(TagCode::Count) - 1; |