NVIDIA / VideoProcessingFramework

Set of Python bindings to C++ libraries which provides full HW acceleration for video decoding, encoding and GPU-accelerated color space and pixel format conversions
Apache License 2.0
1.32k stars 233 forks source link

error: ‘nppiDivC_16u_C1RSfs_Ctx’ was not declared in this scope #549

Open ADongGu opened 1 year ago

ADongGu commented 1 year ago

/PyNvCodec/TC/src/TasksColorCvt.cpp:879:13: error: ‘nppiDivC_16u_C1RSfs_Ctx’ was not declared in this scope nppiDivC_16u_C1RSfs_Ctx(pSrc1, nSrc1Step, nConstant, pDst, nDstStep,

/PyNvCodec/TC/src/TasksColorCvt.cpp:879:13: note: suggested alternative: ‘nppsDivC_16u_Sfs_Ctx’ nppiDivC_16u_C1RSfs_Ctx(pSrc1, nSrc1Step, nConstant, pDst, nDstStep, ^~~~~~~ nppsDivC_16u_Sfs_Ctx

my env:

nvcc --version { nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Sun_Mar_21_19:15:46_PDT_2021 Cuda compilation tools, release 11.3, V11.3.58 Build cuda_11.3.r11.3/compiler.29745058_0 }

python:                     3.6
torch:                      1.7.1+cu110
torchvision:                0.8.2+cu110
torchaudio:                 0.7.2 

}