FFmpeg
|
#include <nvEncodeAPI.h>
Data Fields | |
uint32_t | version |
[in]: Struct version. More... | |
NV_ENC_INPUT_RESOURCE_TYPE | resourceType |
[in]: Specifies the type of resource to be registered. More... | |
uint32_t | width |
[in]: Input buffer Width. More... | |
uint32_t | height |
[in]: Input buffer Height. More... | |
uint32_t | pitch |
[in]: Input buffer Pitch. More... | |
uint32_t | subResourceIndex |
[in]: Subresource Index of the DirectX resource to be registered. More... | |
void * | resourceToRegister |
[in]: Handle to the resource that is being registered. More... | |
NV_ENC_REGISTERED_PTR | registeredResource |
[out]: Registered resource handle. More... | |
NV_ENC_BUFFER_FORMAT | bufferFormat |
[in]: Buffer format of resource to be registered. More... | |
uint32_t | reserved1 [248] |
[in]: Reserved and must be set to 0. More... | |
void * | reserved2 [62] |
[in]: Reserved and must be set to NULL. More... | |
Definition at line 1634 of file nvEncodeAPI.h.
uint32_t NV_ENC_REGISTER_RESOURCE::version |
[in]: Struct version.
Must be set to NV_ENC_REGISTER_RESOURCE_VER.
Definition at line 1636 of file nvEncodeAPI.h.
NV_ENC_INPUT_RESOURCE_TYPE NV_ENC_REGISTER_RESOURCE::resourceType |
[in]: Specifies the type of resource to be registered.
Supported values are NV_ENC_INPUT_RESOURCE_TYPE_DIRECTX, NV_ENC_INPUT_RESOURCE_TYPE_CUDADEVICEPTR.
Definition at line 1637 of file nvEncodeAPI.h.
uint32_t NV_ENC_REGISTER_RESOURCE::width |
[in]: Input buffer Width.
Definition at line 1638 of file nvEncodeAPI.h.
uint32_t NV_ENC_REGISTER_RESOURCE::height |
[in]: Input buffer Height.
Definition at line 1639 of file nvEncodeAPI.h.
uint32_t NV_ENC_REGISTER_RESOURCE::pitch |
[in]: Input buffer Pitch.
Definition at line 1640 of file nvEncodeAPI.h.
uint32_t NV_ENC_REGISTER_RESOURCE::subResourceIndex |
[in]: Subresource Index of the DirectX resource to be registered.
Should be set to 0 for other interfaces.
Definition at line 1641 of file nvEncodeAPI.h.
void* NV_ENC_REGISTER_RESOURCE::resourceToRegister |
[in]: Handle to the resource that is being registered.
Definition at line 1642 of file nvEncodeAPI.h.
NV_ENC_REGISTERED_PTR NV_ENC_REGISTER_RESOURCE::registeredResource |
[out]: Registered resource handle.
This should be used in future interactions with the Nvidia Video Encoder Interface.
Definition at line 1643 of file nvEncodeAPI.h.
NV_ENC_BUFFER_FORMAT NV_ENC_REGISTER_RESOURCE::bufferFormat |
[in]: Buffer format of resource to be registered.
Definition at line 1644 of file nvEncodeAPI.h.
uint32_t NV_ENC_REGISTER_RESOURCE::reserved1[248] |
[in]: Reserved and must be set to 0.
Definition at line 1645 of file nvEncodeAPI.h.
void* NV_ENC_REGISTER_RESOURCE::reserved2[62] |
[in]: Reserved and must be set to NULL.
Definition at line 1646 of file nvEncodeAPI.h.