OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
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>

Collaboration diagram for cv::cudev::TextureOff< T, R >:

Public Member Functions

__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)
 
 TextureOff (const TextureOff &)=default
 
__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)
 
 TextureOff (TextureOff &&)=default
 
__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: