mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[idd] transport: abstract LGMP implementation
Introduce transport, frame, and control interfaces with an LGMP factory backend. Move LGMP and IVSHMEM implementation details under transport/lgmp and expose direct frame-buffer memory through a neutral capability.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "capture/CHardwareFrameProcessor.h"
|
||||
#include "capture/CFrameProcessorUtil.h"
|
||||
#include "transport/CFrameTransport.h"
|
||||
#include "transport/IFrameTransport.h"
|
||||
#include "util/CSRWLock.h"
|
||||
#include "CDebug.h"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
using namespace Microsoft::WRL;
|
||||
|
||||
static_assert(LGMP_Q_FRAME_LEN == 2,
|
||||
static_assert(TRANSPORT_FRAME_QUEUE_LENGTH == 2,
|
||||
"IDD candidate pipeline assumes two slots");
|
||||
|
||||
class CPublishPending
|
||||
@@ -71,8 +71,8 @@ public:
|
||||
};
|
||||
|
||||
CHardwareFrameProcessor::CHardwareFrameProcessor(
|
||||
CFrameTransport * transport, std::shared_ptr<CD3D12Device> dx12,
|
||||
CPostProcessor postProcessors[LGMP_Q_FRAME_LEN],
|
||||
IFrameTransport * transport, std::shared_ptr<CD3D12Device> dx12,
|
||||
CPostProcessor postProcessors[TRANSPORT_FRAME_QUEUE_LENGTH],
|
||||
SRWLOCK * pipelineLock, HANDLE terminateEvent) :
|
||||
CFrameProcessor(transport, std::move(dx12), postProcessors,
|
||||
pipelineLock, terminateEvent)
|
||||
|
||||
Reference in New Issue
Block a user