decklink: Add HDR playback support

This commit is contained in:
jpark37 2023-04-01 17:24:14 -07:00 • committed by Lain
commit bb12fe9db5
10 changed files with 275 additions and 16 deletions

View file

@ -110,6 +110,9 @@ bool DeckLinkDevice::Init()
attributes->GetFlag(BMDDeckLinkSupportsInternalKeying,
&supportsInternalKeyer);
attributes->GetFlag(BMDDeckLinkSupportsHDRMetadata,
&supportsHDRMetadata);
// Sub Device Counts
attributes->GetInt(BMDDeckLinkSubDeviceIndex, &subDeviceIndex);
attributes->GetInt(BMDDeckLinkNumberOfSubDevices, &numSubDevices);
@ -250,6 +253,11 @@ bool DeckLinkDevice::GetSupportsInternalKeyer(void) const
return supportsInternalKeyer;
}
bool DeckLinkDevice::GetSupportsHDRMetadata(void) const
{
return supportsHDRMetadata;
}
int64_t DeckLinkDevice::GetSubDeviceCount()
{
return numSubDevices;