14 lines
373 B
C
14 lines
373 B
C
#pragma once
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
|
|
#include <obs-module.h>
|
|
#include "nvEncodeAPI.h"
|
|
|
|
typedef NVENCSTATUS (NVENCAPI *NV_CREATE_INSTANCE_FUNC)(NV_ENCODE_API_FUNCTION_LIST*);
|
|
|
|
extern const char *nv_error_name(NVENCSTATUS err);
|
|
extern NV_ENCODE_API_FUNCTION_LIST nv;
|
|
extern NV_CREATE_INSTANCE_FUNC nv_create_instance;
|
|
extern bool init_nvenc(void);
|