add cuda 10 support

pull/16539/head
baka-gori 5 years ago
parent db9f4436e0
commit 80aaed73e6
  1. 2
      modules/cudacodec/src/cuvid_video_source.hpp
  2. 2
      modules/cudacodec/src/frame_queue.hpp
  3. 2
      modules/cudacodec/src/precomp.hpp
  4. 2
      modules/cudacodec/src/video_decoder.hpp
  5. 2
      modules/cudacodec/src/video_parser.hpp

@ -44,7 +44,7 @@
#ifndef __CUVID_VIDEO_SOURCE_HPP__ #ifndef __CUVID_VIDEO_SOURCE_HPP__
#define __CUVID_VIDEO_SOURCE_HPP__ #define __CUVID_VIDEO_SOURCE_HPP__
#if CUDA_VERSION >= 9000 #if CUDA_VERSION >= 9000 && CUDA_VERSION < 10000
#include <dynlink_nvcuvid.h> #include <dynlink_nvcuvid.h>
#else #else
#include <nvcuvid.h> #include <nvcuvid.h>

@ -47,7 +47,7 @@
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#include "opencv2/core/private.cuda.hpp" #include "opencv2/core/private.cuda.hpp"
#if CUDA_VERSION >= 9000 #if CUDA_VERSION >= 9000 && CUDA_VERSION < 10000
#include <dynlink_nvcuvid.h> #include <dynlink_nvcuvid.h>
#else #else
#include <nvcuvid.h> #include <nvcuvid.h>

@ -56,7 +56,7 @@
#include "opencv2/core/private.cuda.hpp" #include "opencv2/core/private.cuda.hpp"
#ifdef HAVE_NVCUVID #ifdef HAVE_NVCUVID
#if CUDA_VERSION >= 9000 #if CUDA_VERSION >= 9000 && CUDA_VERSION < 10000
#include <dynlink_nvcuvid.h> #include <dynlink_nvcuvid.h>
#else #else
#include <nvcuvid.h> #include <nvcuvid.h>

@ -44,7 +44,7 @@
#ifndef __VIDEO_DECODER_HPP__ #ifndef __VIDEO_DECODER_HPP__
#define __VIDEO_DECODER_HPP__ #define __VIDEO_DECODER_HPP__
#if CUDA_VERSION >= 9000 #if CUDA_VERSION >= 9000 && CUDA_VERSION < 10000
#include <dynlink_nvcuvid.h> #include <dynlink_nvcuvid.h>
#else #else
#include <nvcuvid.h> #include <nvcuvid.h>

@ -44,7 +44,7 @@
#ifndef __VIDEO_PARSER_HPP__ #ifndef __VIDEO_PARSER_HPP__
#define __VIDEO_PARSER_HPP__ #define __VIDEO_PARSER_HPP__
#if CUDA_VERSION >= 9000 #if CUDA_VERSION >= 9000 && CUDA_VERSION < 10000
#include <dynlink_nvcuvid.h> #include <dynlink_nvcuvid.h>
#else #else
#include <nvcuvid.h> #include <nvcuvid.h>

Loading…
Cancel
Save