25ref class CaptureFrameGrabber
sealed
36 static concurrency::task<CaptureFrameGrabber^> CreateAsync(_In_ WMC::MediaCapture^ capture, _In_ WMMp::VideoEncodingProperties^ props)
38 return CreateAsync(capture, props, CaptureStreamType::Preview);
41 static concurrency::task<CaptureFrameGrabber^>
CreateAsync(_In_ WMC::MediaCapture^ capture, _In_ WMMp::VideoEncodingProperties^ props,
CaptureStreamType streamType);
48 CaptureFrameGrabber(_In_ WMC::MediaCapture^ capture, _In_ WMMp::VideoEncodingProperties^ props,
CaptureStreamType streamType);
50 void ProcessSample(_In_ MediaSample^ sample);
52 Platform::Agile<WMC::MediaCapture> _capture;
53 ::Windows::Media::IMediaExtension^ _mediaExtension;
55 MW::ComPtr<MediaSink> _mediaSink;
67 std::queue<concurrency::task_completion_event<MW::ComPtr<IMF2DBuffer2>>> _videoSampleRequestQueue;
Definition: MFIncludes.h:82