New upstream version 23.2.1+dfsg1
This commit is contained in:
parent
cdc9a9fc87
commit
b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions
33
plugins/decklink/DecklinkBase.h
Normal file
33
plugins/decklink/DecklinkBase.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
|
||||
#include <obs-module.h>
|
||||
|
||||
#include "platform.hpp"
|
||||
|
||||
#include "decklink-device-discovery.hpp"
|
||||
#include "decklink-device-instance.hpp"
|
||||
#include "decklink-device-mode.hpp"
|
||||
|
||||
class DecklinkBase {
|
||||
|
||||
protected:
|
||||
DecklinkBase(DeckLinkDeviceDiscovery *discovery_);
|
||||
ComPtr<DeckLinkDeviceInstance> instance;
|
||||
DeckLinkDeviceDiscovery *discovery;
|
||||
std::recursive_mutex deviceMutex;
|
||||
volatile long activateRefs = 0;
|
||||
BMDPixelFormat pixelFormat = bmdFormat8BitYUV;
|
||||
video_colorspace colorSpace = VIDEO_CS_DEFAULT;
|
||||
video_range_type colorRange = VIDEO_RANGE_DEFAULT;
|
||||
speaker_layout channelFormat = SPEAKERS_STEREO;
|
||||
|
||||
public:
|
||||
virtual bool Activate(DeckLinkDevice *device, long long modeId);
|
||||
virtual void Deactivate();
|
||||
|
||||
DeckLinkDevice *GetDevice() const;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue