2.5.51 IDeckLinkMacOutput Interface¶
macOS-specific extensions for IDeckLinkOutput
.
Interface |
Interface ID |
Description |
---|---|---|
IID_IDeckLinkMutableVideoFrame |
|
|
IID_IDeckLinkOutput |
An |
2.5.51.1 IDeckLinkMacOutput::CreateVideoFrameFromCVPixelBufferRef method¶
-
HRESULT IDeckLinkMacOutput::CreateVideoFrameFromCVPixelBufferRef(void *cvPixelBuffer, IDeckLinkMutableVideoFrame **outFrame);¶
The CreateVideoFrameFromCVPixelBufferRef method creates a new video frame with the specified parameters (see
IDeckLinkMutableVideoFrame
for more information) using the CVPixelBuffer provided to it. The new video frame retains the CVPixelBuffer.- Parameters:
cvPixelBuffer – A void pointer that can be cast to a CVPixelBufferRef
outFrame – Newly created video frame
- Return values:
E_INVALIDARG – One of the attributes/attachments of the provided CVPixelBuffer is not supported
E_FAIL – Failure
S_OK – Success