OpenCV  4.8.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::cudev::TextureOff< T, R > Class Template Reference

sharable smart CUDA texture object with offset TextureOff is a smart sharable wrapper for a cudaTextureObject_t handle which ensures that the handle is destroyed after use. More...

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

Public Member Functions

 TextureOff (const TextureOff &)=default
 
 TextureOff (TextureOff &&)=default
 
__host__ TextureOff (const int rows, const int cols, T *data, const size_t step, const int yoff_=0, const int xoff_=0, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
__host__ TextureOff (PtrStepSz< T > src, const int yoff_=0, const int xoff_=0, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
__host__ operator TextureOffPtr< T, R > () const
 
TextureOffoperator= (const TextureOff &)=default
 
TextureOffoperator= (TextureOff &&)=default
 

Detailed Description

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

sharable smart CUDA texture object with offset TextureOff is a smart sharable wrapper for a cudaTextureObject_t handle which ensures that the handle is destroyed after use.


The documentation for this class was generated from the following file: