Commit ed1e0b15 authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

nvcodec: Drop cudart dependency

CUDA runtime APIs have prefix "cuda" but we didn't use any those APIs.
parent 57f8571a
......@@ -937,15 +937,15 @@ AG_GST_CHECK_FEATURE(CUDA, [NVIDIA CUDA API],, [
CUDA_CFLAGS="-I$CUDA_PREFIX/include"
fi
else
PKG_CHECK_MODULES([CUDA], [cuda-10.1 cudart-10.1],, [
PKG_CHECK_MODULES([CUDA], [cuda-10.0 cudart-10.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-9.2 cudart-9.2],, [
PKG_CHECK_MODULES([CUDA], [cuda-9.1 cudart-9.1],, [
PKG_CHECK_MODULES([CUDA], [cuda-9.0 cudart-9.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-8.0 cudart-8.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-7.5 cudart-7.5],, [
PKG_CHECK_MODULES([CUDA], [cuda-7.0 cudart-7.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-6.5 cudart-6.5],, [
PKG_CHECK_MODULES([CUDA], [cuda-10.1],, [
PKG_CHECK_MODULES([CUDA], [cuda-10.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-9.2],, [
PKG_CHECK_MODULES([CUDA], [cuda-9.1],, [
PKG_CHECK_MODULES([CUDA], [cuda-9.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-8.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-7.5],, [
PKG_CHECK_MODULES([CUDA], [cuda-7.0],, [
PKG_CHECK_MODULES([CUDA], [cuda-6.5],, [
AC_MSG_WARN([Could not find cuda headers/libraries])])])])])])])])])])
fi
......
......@@ -30,8 +30,6 @@
#define GST_CAT_DEFAULT gst_nvenc_debug
#if HAVE_NVENC_GST_GL
#include <cuda.h>
#include <cuda_runtime_api.h>
#include <cuda_gl_interop.h>
#include <cudaGL.h>
#include <gst/gl/gl.h>
......
......@@ -31,8 +31,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_nv_h264_enc_debug);
#define GST_CAT_DEFAULT gst_nv_h264_enc_debug
#if HAVE_NVENC_GST_GL
#include <cuda.h>
#include <cuda_runtime_api.h>
#include <cuda_gl_interop.h>
#include <gst/gl/gl.h>
#endif
......
......@@ -32,8 +32,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_nv_h265_enc_debug);
#define GST_CAT_DEFAULT gst_nv_h265_enc_debug
#if HAVE_NVENC_GST_GL
#include <cuda.h>
#include <cuda_runtime_api.h>
#include <cuda_gl_interop.h>
#include <gst/gl/gl.h>
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment