17 _COM_SMARTPTR_TYPEDEF(ID3D11Device, IID_ID3D11Device);
18 _COM_SMARTPTR_TYPEDEF(ID3D11Texture2D, IID_ID3D11Texture2D);
19 _COM_SMARTPTR_TYPEDEF(IDXGIDevice, IID_IDXGIDevice);
20 _COM_SMARTPTR_TYPEDEF(IDXGIAdapter, IID_IDXGIAdapter);
28 explicit nvenc_d3d11(NV_ENC_DEVICE_TYPE device_type):
Abstract platform-agnostic base of standalone NVENC encoder. Derived classes perform platform-specifi...
Definition nvenc_base.h:26
nvenc_base(NV_ENC_DEVICE_TYPE device_type)
Definition nvenc_base.cpp:89
Abstract Direct3D11 NVENC encoder. Encapsulates common code used by native and interop implementation...
Definition nvenc_d3d11.h:26
bool init_library() override
Required. Used for loading NvEnc library and setting nvenc variable with NvEncodeAPICreateInstance()....
Definition nvenc_d3d11.cpp:20
virtual ID3D11Texture2D * get_input_texture()=0
Get input surface texture.
Standalone NVENC encoder.
Definition nvenc_base.cpp:87
Declarations for abstract platform-agnostic base of standalone NVENC encoder.