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

Function ShowSource_IsInList

Source/MediaInfo/File__Analyze_Streams.cpp:1322–1344  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1320
1321//---------------------------------------------------------------------------
1322size_t ShowSource_IsInList(video Value)
1323{
1324 size_t Offset = 0;
1325 switch (Value)
1326 {
1327 case Video_MaxCLL:
1328 case Video_MaxFALL:
1329 Offset++;
1330 [[fallthrough]];
1331 case Video_colour_description_present:
1332 case Video_colour_range:
1333 case Video_colour_primaries:
1334 case Video_matrix_coefficients:
1335 case Video_transfer_characteristics:
1336 case Video_MasteringDisplay_ColorPrimaries:
1337 case Video_MasteringDisplay_Luminance:
1338 Offset++;
1339 [[fallthrough]];
1340 default:;
1341 }
1342
1343 return Offset;
1344}
1345
1346//---------------------------------------------------------------------------
1347void File__Analyze::Fill (stream_t StreamKind, size_t StreamPos, size_t Parameter, const Ztring &Value, bool Replace)

Callers 2

FillMethod · 0.70
MergeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected