yolobs-studio/plugins/obs-ffmpeg/jim-nvenc.h

16 lines
384 B
C
Raw Normal View History

2019-07-27 12:47:10 +00:00
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <obs-module.h>
2019-09-22 21:19:10 +00:00
#include "external/nvEncodeAPI.h"
2019-07-27 12:47:10 +00:00
2019-09-22 21:19:10 +00:00
typedef NVENCSTATUS(NVENCAPI *NV_CREATE_INSTANCE_FUNC)(
NV_ENCODE_API_FUNCTION_LIST *);
2019-07-27 12:47:10 +00:00
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);