MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / Mxf_OperationalPattern

Function Mxf_OperationalPattern

Source/MediaInfo/Multiple/File_Mxf.cpp:233–263  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

231
232//---------------------------------------------------------------------------
233static const char* Mxf_OperationalPattern(const int128u OperationalPattern)
234{
235 //Item and Package Complexity
236 int32u Code_Compare4=(int32u)OperationalPattern.lo;
237 switch ((int8u)(Code_Compare4>>24))
238 {
239 case 0x01 : switch ((int8u)(Code_Compare4>>16))
240 {
241 case 0x01 : return "OP-1a";
242 case 0x02 : return "OP-1b";
243 case 0x03 : return "OP-1c";
244 default : return "";
245 }
246 case 0x02 : switch ((int8u)(Code_Compare4>>16))
247 {
248 case 0x01 : return "OP-2a";
249 case 0x02 : return "OP-2b";
250 case 0x03 : return "OP-2c";
251 default : return "";
252 }
253 case 0x03 : switch ((int8u)(Code_Compare4>>16))
254 {
255 case 0x01 : return "OP-3a";
256 case 0x02 : return "OP-3b";
257 case 0x03 : return "OP-3c";
258 default : return "";
259 }
260 case 0x10 : return "OP-Atom";
261 default : return "";
262 }
263}
264
265//---------------------------------------------------------------------------
266static const char* Mxf_EssenceContainer(const int128u EssenceContainer)

Callers 2

Streams_FinishMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected