NPPST 信号处理 CUDA 加速的计算机视觉 » 传统支持


函数

NCVStatus   nppsStCompact_32f ( Ncv32f *d_src, Ncv32u srcLen, Ncv32f *d_dst, Ncv32u *p_dstLen, Ncv32f elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
 
NCVStatus   nppsStCompact_32f_host ( Ncv32f *h_src, Ncv32u srcLen, Ncv32f *h_dst, Ncv32u *dstLen, Ncv32f elemRemove)
 
NCVStatus   nppsStCompact_32s ( Ncv32s *d_src, Ncv32u srcLen, Ncv32s *d_dst, Ncv32u *p_dstLen, Ncv32s elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
 
NCVStatus   nppsStCompact_32s_host ( Ncv32s *h_src, Ncv32u srcLen, Ncv32s *h_dst, Ncv32u *dstLen, Ncv32s elemRemove)
 
NCVStatus   nppsStCompact_32u ( Ncv32u *d_src, Ncv32u srcLen, Ncv32u *d_dst, Ncv32u *p_dstLen, Ncv32u elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
 
NCVStatus   nppsStCompact_32u_host ( Ncv32u *h_src, Ncv32u srcLen, Ncv32u *h_dst, Ncv32u *dstLen, Ncv32u elemRemove)
 
NCVStatus   nppsStCompactGetSize_32f ( Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
 
NCVStatus   nppsStCompactGetSize_32s ( Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
 
NCVStatus   nppsStCompactGetSize_32u ( Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
 

详细描述

函数文档编制

◆  nppsStCompact_32f()

NCVStatus nppsStCompact_32f ( Ncv32f d_src ,
Ncv32u   srcLen ,
Ncv32f d_dst ,
Ncv32u p_dstLen ,
Ncv32f   elemRemove ,
Ncv8u pBuffer ,
Ncv32u   bufSize ,
cudaDeviceProp &  devProp  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Compacts the input vector by removing elements of specified value. 32-bit float values

另请参阅
nppsStCompact_32u

◆  nppsStCompact_32f_host()

NCVStatus nppsStCompact_32f_host ( Ncv32f h_src ,
Ncv32u   srcLen ,
Ncv32f h_dst ,
Ncv32u dstLen ,
Ncv32f   elemRemove  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Compacts the input vector by removing elements of specified value. 32-bit float values. Host implementation

另请参阅
nppsStCompact_32u_host

◆  nppsStCompact_32s()

NCVStatus nppsStCompact_32s ( Ncv32s d_src ,
Ncv32u   srcLen ,
Ncv32s d_dst ,
Ncv32u p_dstLen ,
Ncv32s   elemRemove ,
Ncv8u pBuffer ,
Ncv32u   bufSize ,
cudaDeviceProp &  devProp  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Compacts the input vector by removing elements of specified value. 32-bit signed values

另请参阅
nppsStCompact_32u

◆  nppsStCompact_32s_host()

NCVStatus nppsStCompact_32s_host ( Ncv32s h_src ,
Ncv32u   srcLen ,
Ncv32s h_dst ,
Ncv32u dstLen ,
Ncv32s   elemRemove  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Compacts the input vector by removing elements of specified value. 32-bit signed values. Host implementation

另请参阅
nppsStCompact_32u_host

◆  nppsStCompact_32u()

NCVStatus nppsStCompact_32u ( Ncv32u d_src ,
Ncv32u   srcLen ,
Ncv32u d_dst ,
Ncv32u p_dstLen ,
Ncv32u   elemRemove ,
Ncv8u pBuffer ,
Ncv32u   bufSize ,
cudaDeviceProp &  devProp  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Compacts the input vector by removing elements of specified value. 32-bit unsigned values

参数
d_src [IN] Source vector pointer (CUDA device memory)
srcLen [IN] Source vector length
d_dst [OUT] Destination vector pointer (CUDA device memory)
p_dstLen [OUT] Pointer to the destination vector length (Pinned memory or NULL)
elemRemove [IN] The value to be removed
pBuffer [IN] Pointer to the pre-allocated temporary buffer (CUDA device memory)
bufSize [IN] Size of the pBuffer in bytes
devProp [IN] CUDA device properties structure, containing texture alignment information
返回
NCV 状态码

◆  nppsStCompact_32u_host()

NCVStatus nppsStCompact_32u_host ( Ncv32u h_src ,
Ncv32u   srcLen ,
Ncv32u h_dst ,
Ncv32u dstLen ,
Ncv32u   elemRemove  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Compacts the input vector by removing elements of specified value. 32-bit unsigned values. Host implementation

参数
h_src [IN] Source vector pointer (CUDA device memory)
srcLen [IN] Source vector length
h_dst [OUT] Destination vector pointer (CUDA device memory)
dstLen [OUT] Pointer to the destination vector length (can be NULL)
elemRemove [IN] The value to be removed
返回
NCV 状态码

◆  nppsStCompactGetSize_32f()

NCVStatus nppsStCompactGetSize_32f ( Ncv32u   srcLen ,
Ncv32u pBufsize ,
cudaDeviceProp &  devProp  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Calculates the size of the temporary buffer for vector compaction. 32-bit float values

另请参阅
nppsStCompactGetSize_32u

◆  nppsStCompactGetSize_32s()

NCVStatus nppsStCompactGetSize_32s ( Ncv32u   srcLen ,
Ncv32u pBufsize ,
cudaDeviceProp &  devProp  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Calculates the size of the temporary buffer for vector compaction. 32-bit signed values

另请参阅
nppsStCompactGetSize_32u

◆  nppsStCompactGetSize_32u()

NCVStatus nppsStCompactGetSize_32u ( Ncv32u   srcLen ,
Ncv32u pBufsize ,
cudaDeviceProp &  devProp  
)

#include < opencv2/cudalegacy/NPP_staging.hpp >

Calculates the size of the temporary buffer for vector compaction. 32-bit unsigned values

参数
srcLen [IN] Length of the input vector in elements
pBufsize [OUT] Pointer to host variable that returns the size of the temporary buffer (in bytes)
devProp [IN] CUDA device properties structure, containing texture alignment information
返回
NCV 状态码