[host] altered to use common memcpySSE

This commit is contained in:
Geoffrey McRae committed 2017-12-12 03:59:55 +11:00
1 parent 05d83d2311
commit ad9b78a7cc
2 files changed
+2 -68

No files matched your search

+2 -1
View File
@@ -22,6 +22,7 @@ using namespace Capture;
#include <string>
#include "common\debug.h"
#include "common\memcpySSE.h"
#include "Util.h"
#ifdef _WIN64
@@ -260,7 +261,7 @@ bool NvFBC::GrabFrame(struct FrameInfo & frame)
uint8_t *src = (uint8_t *)m_frameBuffer + dataOffset;
uint8_t *dst = (uint8_t *)frame.buffer;
for(unsigned int y = 0; y < frame.height; ++y, dst += dataWidth, src += m_grabInfo.dwBufferWidth * 3)
Util::Memcpy64(dst, src, dataWidth);
memcpySSE(dst, src, dataWidth);
return true;
}