15 #include <CoreVideo/CoreVideo.h> 23 class ICVPixelBufferVideoFrameReceiver;
34 typedef std::function<void(const CVPixelBufferRef buffer)>
UnlockFunc;
39 virtual TTV_ErrorCode PackageFrame(
const CVPixelBufferRef buffer, uint64_t timestamp, UnlockFunc unlockCallback, std::shared_ptr<VideoFrame>& result) = 0;
static ReceiverTypeId GetReceiverTypeId()
Definition: icvpixelbuffervideoframereceiver.h:41
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
virtual TTV_ErrorCode PackageFrame(const CVPixelBufferRef buffer, uint64_t timestamp, UnlockFunc unlockCallback, std::shared_ptr< VideoFrame > &result)=0
uint32_t TTV_ErrorCode
Definition: errortypes.h:30
Definition: ivideoframereceiver.h:25
std::function< void(const CVPixelBufferRef buffer)> UnlockFunc
Definition: icvpixelbuffervideoframereceiver.h:34
size_t ReceiverTypeId
Definition: ivideoframereceiver.h:28
Definition: icvpixelbuffervideoframereceiver.h:31