Blame view

src/nvdecoder/define.hpp 242 Bytes
3d2ab595   Hu Chunming   支持gb28181
1
2
3
4
  #pragma once
  
  #include <string>
  
3d2ab595   Hu Chunming   支持gb28181
5
  
92989af0   ming   更新解码器
6
7
8
9
10
11
  #define CHECK_CUDA(call) \
  {\
      const cudaError_t error_code = call;\
      if (cudaSuccess != error_code)\
          LOG_ERROR("CUDA error, code: {} reason: {}", error_code, cudaGetErrorString(error_code));\
  }