14 , PixelFormat(pixelFormat)
15 , FrameFlags(frameFlags)
44 case bmdFormat8BitYUV:
46 return sizeof(char) * 2 * this->
Width;
48 case bmdFormat10BitYUV:
53 case bmdFormat8BitARGB:
55 return sizeof(char) * 4 * this->
Width;
57 case bmdFormat8BitBGRA:
59 return sizeof(char) * 4 * this->
Width;
61 case bmdFormat10BitRGB:
66 case bmdFormat12BitRGB:
71 case bmdFormat12BitRGBLE:
76 case bmdFormat10BitRGBXLE:
81 case bmdFormat10BitRGBX:
96 case bmdFormat12BitRAWGRBG:
101 case bmdFormat12BitRAWJPEG:
134 this->
Mutex.unlock();
142 HRESULT result = E_NOINTERFACE;
153 if (iid == IID_IUnknown)
159 else if (iid == IID_IDeckLinkVideoFrame)
161 *ppv = (IDeckLinkVideoFrame*)
this;
182 if (newRefValue == 0)
virtual void STDMETHODCALLTYPE SetFlags(BMDFrameFlags flags)
virtual long STDMETHODCALLTYPE GetWidth()
virtual ULONG STDMETHODCALLTYPE AddRef()
BMDPixelFormat PixelFormat
PlusOutputVideoFrame(long width, long height, BMDPixelFormat pixelFormat, BMDFrameFlags frameFlags)
virtual HRESULT STDMETHODCALLTYPE GetBytes(void **buffer)
virtual ~PlusOutputVideoFrame()
PhidgetLCD_Font int * width
virtual long STDMETHODCALLTYPE GetRowBytes()
const char int const char int flags
PhidgetLCD_Font int int * height
virtual long STDMETHODCALLTYPE GetHeight()
virtual BMDFrameFlags STDMETHODCALLTYPE GetFlags()
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv)
virtual BMDPixelFormat STDMETHODCALLTYPE GetPixelFormat()
std::atomic< ULONG > ReferenceCount
virtual ULONG STDMETHODCALLTYPE Release()