[host] nvfbc: initial updates to re-enable support

This commit is contained in:
Geoffrey McRae
2019-01-03 17:07:32 +11:00
parent e4ae9134ae
commit 6e1180ce06
3 changed files with 156 additions and 124 deletions

View File

@@ -37,7 +37,7 @@ namespace Capture
~NvFBC();
const char * GetName() { return "NvFBC"; }
bool CanInitialize();
bool Initialize(CaptureOptions * options);
void DeInitialize();
bool ReInitialize()
@@ -47,7 +47,11 @@ namespace Capture
}
enum FrameType GetFrameType();
size_t GetMaxFrameSize();
enum GrabStatus GrabFrame(struct FrameInfo & frame, struct CursorInfo & cursor);
unsigned int Capture();
enum GrabStatus GetFrame(struct FrameInfo & frame);
bool GetCursor(CursorInfo & cursor);
void FreeCursor() ;
enum GrabStatus DiscardFrame();
private:
CaptureOptions * m_options;