MCPcopy Create free account
hub / github.com/Tencent/libpag / HasTrackMatte

Function HasTrackMatte

src/codec/Codec.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33static const uint8_t KnownVersion = 3;
34
35static 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
47uint16_t Codec::MaxSupportedTagLevel() {
48 return static_cast<uint16_t>(TagCode::Count) - 1;

Callers 1

InstallReferencesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected