jim-nvenc.h 373 B

1234567891011121314
  1. #pragma once
  2. #define WIN32_LEAN_AND_MEAN
  3. #include <windows.h>
  4. #include <obs-module.h>
  5. #include "nvEncodeAPI.h"
  6. typedef NVENCSTATUS (NVENCAPI *NV_CREATE_INSTANCE_FUNC)(NV_ENCODE_API_FUNCTION_LIST*);
  7. extern const char *nv_error_name(NVENCSTATUS err);
  8. extern NV_ENCODE_API_FUNCTION_LIST nv;
  9. extern NV_CREATE_INSTANCE_FUNC nv_create_instance;
  10. extern bool init_nvenc(void);