video: better video frame copying
- uses memcpy instead of nested for loops to copy video buffers,
as no operations are done per pixel, this gives a reduced copy
time.
Change-Id: I43567997313d6aa8c9a0f8a56ccf0b8e6bcf963a
Tuleap: #790
diff --git a/VideoCaptureManager.h b/VideoCaptureManager.h
index 32bc635..0676014 100644
--- a/VideoCaptureManager.h
+++ b/VideoCaptureManager.h
@@ -94,7 +94,7 @@
DispatcherTimer^ videoFrameCopyInvoker;
task<void> CopyFrameAsync();
void CopyFrame(Object^ sender, Object^ e);
- void InitializeCopyFrameDispatcher();
+ void InitializeCopyFrameDispatcher(unsigned frameRate);
event StartPreviewing^ startPreviewing;
event StopPreviewing^ stopPreviewing;