typedef void ID3D11Device;
#endif
-#include "compat/nvenc/nvEncodeAPI.h"
+#include <ffnvcodec/nvEncodeAPI.h>
#include "compat/cuda/dynlink_loader.h"
#include "libavutil/fifo.h"
{
NV_ENC_INPUT_PTR input_surface;
AVFrame *in_ref;
- NV_ENC_MAP_INPUT_RESOURCE in_map;
int reg_idx;
int width;
int height;
int ptr_index;
NV_ENC_REGISTERED_PTR regptr;
int mapped;
+ NV_ENC_MAP_INPUT_RESOURCE in_map;
} registered_frames[MAX_REGISTERED_FRAMES];
int nb_registered_frames;