Definition at line 335 of file blackmagic_common.cpp.
◆ ProfileCallback()
| ProfileCallback::ProfileCallback |
( |
IDeckLinkProfile * | requestedProfile | ) |
|
|
inline |
◆ ~ProfileCallback()
| virtual ProfileCallback::~ProfileCallback |
( |
| ) |
|
|
inlinevirtual |
◆ AddRef()
◆ ProfileActivated()
| HRESULT ProfileCallback::ProfileActivated |
( |
IDeckLinkProfile * | activatedProfile | ) |
|
|
inlineoverride |
◆ ProfileChanging()
| HRESULT ProfileCallback::ProfileChanging |
( |
IDeckLinkProfile * | profileToBeActivated, |
|
|
BMD_BOOL | streamsWillBeForcedToStop ) |
|
inlineoverride |
◆ QueryInterface()
| HRESULT STDMETHODCALLTYPE ProfileCallback::QueryInterface |
( |
REFIID | iid, |
|
|
LPVOID * | ppv ) |
|
inlineoverride |
◆ Release()
◆ WaitForProfileActivation()
| bool ProfileCallback::WaitForProfileActivation |
( |
void | | ) |
|
|
inline |
Definition at line 365 of file blackmagic_common.cpp.
365 {
370 LOG(
LOG_LEVEL_INFO) <<
"[DeckLink] Profile " << profileName <<
" already active.\n";
371 return true;
372 }
373
374 LOG(
LOG_LEVEL_INFO) <<
"[DeckLink] Waiting for profile activation... (this may take few seconds)\n";
377 if (ret) {
378 LOG(
LOG_LEVEL_NOTICE) <<
"[DeckLink] Profile " << profileName <<
" activated succesfully.\n";
379 } else {
380 LOG(
LOG_LEVEL_ERROR) <<
"[DeckLink] Profile " << profileName <<
" activation timeouted!\n";
381 }
382 return ret;
383 }
static const map< BMDProfileID, pair< const char *, const char * > > kDeviceProfiles
static BMDProfileID GetDeckLinkProfileID(IDeckLinkProfile *profile)
#define LOG_LEVEL_NOTICE
information that may be interesting
#define LOG_LEVEL_INFO
normal reporting
#define LOG_LEVEL_ERROR
general errors
References BMD_BOOL, BMD_FALSE, GetDeckLinkProfileID(), kDeviceProfiles, LOG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_NOTICE, m_profileActivatedCondition, m_profileActivatedMutex, m_requestedProfile, and m_requestedProfileActivated.
Referenced by decklink_set_profile().
◆ m_profileActivatedCondition
| std::condition_variable ProfileCallback::m_profileActivatedCondition |
|
private |
◆ m_profileActivatedMutex
| std::mutex ProfileCallback::m_profileActivatedMutex |
|
private |
◆ m_refCount
| int ProfileCallback::m_refCount = 1 |
|
private |
◆ m_requestedProfile
| IDeckLinkProfile* ProfileCallback::m_requestedProfile |
|
private |
◆ m_requestedProfileActivated
| bool ProfileCallback::m_requestedProfileActivated = false |
|
private |
The documentation for this class was generated from the following file: