LookingGlass/host/ICapture.h

24 lines
417 B
C
Raw Normal View History

#pragma once
2017-10-31 13:51:53 +00:00
#include "common/KVMGFXHeader.h"
2017-10-31 14:46:47 +00:00
struct FrameInfo
{
unsigned int width;
unsigned int height;
unsigned int stride;
void * buffer;
size_t bufferSize;
size_t outSize;
};
__interface ICapture
{
public:
bool Initialize();
2017-10-31 13:51:53 +00:00
void DeInitialize();
enum FrameType GetFrameType();
enum FrameComp GetFrameCompression();
size_t GetMaxFrameSize();
2017-10-31 14:46:47 +00:00
bool GrabFrame(struct FrameInfo & frame);
};