OpenCV 4.11.0
开源计算机视觉
加载中…
搜索中…
无匹配项
cv::cudev::Texture< T, R > 类模板参考

可共享的智能 CUDA 纹理对象 更多…

#include <opencv2/cudev/ptr2d/texture.hpp>

cv::cudev::Texture< T, R > 的协作图

公有成员函数

 Texture ()=default
 
__host__ Texture (const int rows_, const int cols_, T *data, const size_t step, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
__host__ Texture (const size_t sizeInBytes, T *data, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
 Texture (const Texture &)=default
 
__host__ Texture (PtrStepSz< T > src, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
 Texture (Texture &&)=default
 
__host__ operator bool () const noexcept
 
__host__ operator TexturePtr< T, R > () const
 
Textureoperator= (const Texture &)=default
 
Textureoperator= (Texture &&)=default
 

公有属性

int cols = 0
 
int rows = 0
 

受保护属性

std::shared_ptr< UniqueTexture< T, R > > texture = 0
 

详细描述

template<class T, class R = T>
class cv::cudev::Texture< T, R >

可共享的智能 CUDA 纹理对象

Texture 是 cudaTextureObject_t 句柄的可共享智能包装器,它确保句柄在使用后被销毁。


此类的文档是从以下文件生成的