Home
last modified time | relevance | path

Searched refs:texRes (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
Dtexture.hpp137 cudaResourceDesc texRes; in Texture() local
138 std::memset(&texRes, 0, sizeof(texRes)); in Texture()
139 texRes.resType = cudaResourceTypePitch2D; in Texture()
140 texRes.res.pitch2D.devPtr = mat.data; in Texture()
141 texRes.res.pitch2D.height = mat.rows; in Texture()
142 texRes.res.pitch2D.width = mat.cols; in Texture()
143 texRes.res.pitch2D.pitchInBytes = mat.step; in Texture()
144 texRes.res.pitch2D.desc = cudaCreateChannelDesc<T>(); in Texture()
155 CV_CUDEV_SAFE_CALL( cudaCreateTextureObject(&this->texObj, &texRes, &texDescr, 0) ); in Texture()
220 cudaResourceDesc texRes;
[all …]
/external/opencv3/modules/cudaarithm/src/cuda/
Dlut.cu97 cudaResourceDesc texRes; in LookUpTableImpl() local
98 std::memset(&texRes, 0, sizeof(texRes)); in LookUpTableImpl()
99 texRes.resType = cudaResourceTypeLinear; in LookUpTableImpl()
100 texRes.res.linear.devPtr = d_lut.data; in LookUpTableImpl()
101 texRes.res.linear.desc = cudaCreateChannelDesc<uchar>(); in LookUpTableImpl()
102 texRes.res.linear.sizeInBytes = 256 * d_lut.channels() * sizeof(uchar); in LookUpTableImpl()
107 CV_CUDEV_SAFE_CALL( cudaCreateTextureObject(&texLutTableObj, &texRes, &texDescr, 0) ); in LookUpTableImpl()