Home
last modified time | relevance | path

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

/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dpyr_up.hpp93 const int oddFlag = static_cast<int>((threadIdx.x & 1) != 0); in pyrUp() local
100 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 1) >> 1)]; in pyrUp()
102 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 1) >> 1)]; in pyrUp()
115 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[0][1 + ((tidx - 1) >> 1)]; in pyrUp()
117 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[0][1 + ((tidx + 1) >> 1)]; in pyrUp()
131 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[9][1 + ((tidx - 1) >> 1)]; in pyrUp()
133 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[9][1 + ((tidx + 1) >> 1)]; in pyrUp()
/external/opencv3/modules/cudawarping/src/cuda/
Dpyr_up.cu84 const int oddFlag = static_cast<int>((threadIdx.x & 1) != 0); in pyrUp() local
91 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 1) >> 1)]; in pyrUp()
93 … sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 1) >> 1)]; in pyrUp()
106 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[0][1 + ((tidx - 1) >> 1)]; in pyrUp()
108 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[0][1 + ((tidx + 1) >> 1)]; in pyrUp()
122 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[9][1 + ((tidx - 1) >> 1)]; in pyrUp()
124 sum = sum + ( oddFlag * 0.25f ) * s_srcPatch[9][1 + ((tidx + 1) >> 1)]; in pyrUp()