OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:evenFlag
(Results
1 - 2
of
2
) sorted by null
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
pyr_up.hpp
92
const int
evenFlag
= static_cast<int>((threadIdx.x & 1) == 0);
99
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 2) >> 1)];
101
sum = sum + (
evenFlag
* 0.375f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx ) >> 1)];
103
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 2) >> 1)];
114
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[0][1 + ((tidx - 2) >> 1)];
116
sum = sum + (
evenFlag
* 0.375f ) * s_srcPatch[0][1 + ((tidx ) >> 1)];
118
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[0][1 + ((tidx + 2) >> 1)];
130
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[9][1 + ((tidx - 2) >> 1)];
132
sum = sum + (
evenFlag
* 0.375f ) * s_srcPatch[9][1 + ((tidx ) >> 1)];
134
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[9][1 + ((tidx + 2) >> 1)]
[
all
...]
/external/opencv3/modules/cudawarping/src/cuda/
pyr_up.cu
83
const int
evenFlag
= static_cast<int>((threadIdx.x & 1) == 0);
90
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx - 2) >> 1)];
92
sum = sum + (
evenFlag
* 0.375f ) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx ) >> 1)];
94
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[1 + (threadIdx.y >> 1)][1 + ((tidx + 2) >> 1)];
105
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[0][1 + ((tidx - 2) >> 1)];
107
sum = sum + (
evenFlag
* 0.375f ) * s_srcPatch[0][1 + ((tidx ) >> 1)];
109
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[0][1 + ((tidx + 2) >> 1)];
121
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[9][1 + ((tidx - 2) >> 1)];
123
sum = sum + (
evenFlag
* 0.375f ) * s_srcPatch[9][1 + ((tidx ) >> 1)];
125
sum = sum + (
evenFlag
* 0.0625f) * s_srcPatch[9][1 + ((tidx + 2) >> 1)]
[
all
...]
Completed in 204 milliseconds