decklink: Add HDR playback support
This commit is contained in:
parent
40edda536d
commit
bb12fe9db5
10 changed files with 275 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue