2.5.51 IDeckLinkMacOutput Interface

macOS-specific extensions for IDeckLinkOutput.

Related Interfaces

Interface

Interface ID

Description

IDeckLinkMutableVideoFrame

IID_IDeckLinkMutableVideoFrame

IDeckLinkMacOutput::CreateVideoFrameFromCVPixelBufferRef() outputs an IDeckLinkMutableVideoFrame object interface

IDeckLinkOutput

IID_IDeckLinkOutput

An IDeckLinkOutput object interface may be obtained from IDeckLinkMacOutput using QueryInterface

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