Home
last modified time | relevance | path

Searched refs:Dist (Results 1 – 25 of 25) sorted by relevance

/external/opencv3/modules/cudafeatures2d/src/cuda/
Dbf_match.cu92 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
94 … typename Dist::value_type* s_query, typename Dist::value_type* s_train, in loopUnrolledCached()
99 Dist dist; in loopUnrolledCached()
125 typename Dist::result_type distVal = dist; in loopUnrolledCached()
138 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
145 typename Dist::value_type* s_query = (typename Dist::value_type*)(smem); in matchUnrolledCached()
146 …typename Dist::value_type* s_train = (typename Dist::value_type*)(smem + BLOCK_SIZE * MAX_DESC_LEN… in matchUnrolledCached()
153 …loopUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist>(queryIdx, query, 0, train, mask, s_query, s_tra… in matchUnrolledCached()
169 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
179 …matchUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, trai… in matchUnrolledCached()
[all …]
Dbf_knnmatch.cu315 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
317 … typename Dist::value_type* s_query, typename Dist::value_type* s_train, in loopUnrolledCached()
324 Dist dist; in loopUnrolledCached()
350 typename Dist::result_type distVal = dist; in loopUnrolledCached()
376 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
383 typename Dist::value_type* s_query = (typename Dist::value_type*)(smem); in matchUnrolledCached()
384 …typename Dist::value_type* s_train = (typename Dist::value_type*)(smem + BLOCK_SIZE * MAX_DESC_LEN… in matchUnrolledCached()
393 …loopUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist>(queryIdx, query, 0, train, mask, s_query, s_tra… in matchUnrolledCached()
409 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
419 …matchUnrolledCached<BLOCK_SIZE, MAX_DESC_LEN, Dist><<<grid, block, smemSize, stream>>>(query, trai… in matchUnrolledCached()
[all …]
Dbf_radius_match.cu58 …template <int BLOCK_SIZE, int MAX_DESC_LEN, bool SAVE_IMG_IDX, typename Dist, typename T, typename…
67 typename Dist::value_type* s_query = (typename Dist::value_type*)(smem); in matchUnrolled()
68 … typename Dist::value_type* s_train = (typename Dist::value_type*)(smem + BLOCK_SIZE * BLOCK_SIZE); in matchUnrolled()
70 Dist dist; in matchUnrolled()
100 float distVal = (typename Dist::result_type)dist; in matchUnrolled()
114 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T, typename Mask>
123 …matchUnrolled<BLOCK_SIZE, MAX_DESC_LEN, false, Dist><<<grid, block, smemSize, stream>>>(query, 0, … in matchUnrolled()
131 template <int BLOCK_SIZE, int MAX_DESC_LEN, typename Dist, typename T>
148 …matchUnrolled<BLOCK_SIZE, MAX_DESC_LEN, true, Dist><<<grid, block, smemSize, stream>>>(query, i, t… in matchUnrolled()
153 …matchUnrolled<BLOCK_SIZE, MAX_DESC_LEN, true, Dist><<<grid, block, smemSize, stream>>>(query, i, t… in matchUnrolled()
[all …]
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dvec_distance_detail.hpp56 template <typename Dist, typename T1, typename T2>
57 …static __device__ void calcCheck(const T1* vecCached, const T2* vecGlob, int len, Dist& dist, int … in calcCheck()
72 template <typename Dist, typename T1, typename T2>
73 … static __device__ void calcWithoutCheck(const T1* vecCached, const T2* vecGlob, Dist& dist) in calcWithoutCheck()
88 template <typename Dist, typename T1, typename T2>
89 static __device__ __forceinline__ void calcCheck(const T1*, const T2*, int, Dist&, int) in calcCheck()
93 template <typename Dist, typename T1, typename T2>
94 static __device__ __forceinline__ void calcWithoutCheck(const T1*, const T2*, Dist&) in calcWithoutCheck()
102 template <typename Dist, typename T1, typename T2>
103 …e__ __forceinline__ void calc(const T1* vecCached, const T2* vecGlob, int len, Dist& dist, int tid) in calc()
[all …]
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dvec_distance.hpp159 template <int THREAD_DIM, typename Dist, typename T1, typename T2>
160 …void calcVecDiffGlobal(const T1* vec1, const T2* vec2, int len, Dist& dist, typename Dist::result_… in calcVecDiffGlobal()
177 …template <int THREAD_DIM, int MAX_LEN, bool LEN_EQ_MAX_LEN, typename Dist, typename T1, typename T…
178 …cVecDiffCached(const T1* vecCached, const T2* vecGlob, int len, Dist& dist, typename Dist::result_… in calcVecDiffCached()
193 template <typename T2, typename Dist>
194 …__device__ __forceinline__ void calc(const T2* vec2, int len, Dist& dist, typename Dist::result_ty… in calc()
220 template <typename T2, typename Dist>
221 …__device__ __forceinline__ void calc(const T2* vec2, int len, Dist& dist, typename Dist::result_ty… in calc()
/external/vulkan-validation-layers/libs/glm/gtx/
Dgradient_paint.inl40 detail::tvec2<T, P> Dist = Point1 - Point0; local
41 …return (Dist.x * (Position.x - Point0.x) + Dist.y * (Position.y - Point0.y)) / glm::dot(Dist, Dist
/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp107 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef);
110 MachineInstr *MI, unsigned Dist);
113 unsigned RegBIdx, unsigned RegCIdx, unsigned Dist);
119 unsigned RegA, unsigned RegB, unsigned Dist);
121 bool isDefTooClose(unsigned Reg, unsigned Dist, MachineInstr *MI);
133 unsigned Dist, bool shouldOnlyCommute);
139 unsigned Dist);
147 void processTiedPairs(MachineInstr *MI, TiedPairList&, unsigned &Dist);
356 bool TwoAddressInstructionPass::noUseAfterLastDef(unsigned Reg, unsigned Dist, in noUseAfterLastDef() argument
359 unsigned LastUse = Dist; in noUseAfterLastDef()
[all …]
DLiveVariables.cpp202 unsigned Dist = DistanceMap[Def]; in FindLastPartialDef() local
203 if (Dist > LastDefDist) { in FindLastPartialDef()
206 LastDefDist = Dist; in FindLastPartialDef()
296 unsigned Dist = DistanceMap[Def]; in FindLastRefOrPartRef() local
297 if (Dist > LastPartDefDist) in FindLastRefOrPartRef()
298 LastPartDefDist = Dist; in FindLastRefOrPartRef()
300 unsigned Dist = DistanceMap[Use]; in FindLastRefOrPartRef() local
301 if (Dist > LastRefOrPartRefDist) { in FindLastRefOrPartRef()
302 LastRefOrPartRefDist = Dist; in FindLastRefOrPartRef()
345 unsigned Dist = DistanceMap[Def]; in HandlePhysRegKill() local
[all …]
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp76 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);
83 DitheringDistributer::DitheringDistributer(Distribution &Dist, in DitheringDistributer() argument
85 Dist.normalize(); in DitheringDistributer()
86 RemWeight = Dist.Total; in DitheringDistributer()
260 bool BlockFrequencyInfoImplBase::addToDist(Distribution &Dist, in addToDist() argument
289 Dist.addBackedge(Resolved, Weight); in addToDist()
295 Dist.addExit(Resolved, Weight); in addToDist()
318 Dist.addLocal(Resolved, Weight); in addToDist()
323 const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) { in addLoopSuccessorsToDist() argument
326 if (!addToDist(Dist, OuterLoop, Loop.getHeader(), I.first, in addLoopSuccessorsToDist()
[all …]
DLoopAccessAnalysis.cpp1071 const SCEV *Dist = PSE.getSE()->getMinusSCEV(Sink, Src); in isDependent() local
1076 << *InstMap[BIdx] << ": " << *Dist << "\n"); in isDependent()
1086 const SCEVConstant *C = dyn_cast<SCEVConstant>(Dist); in isDependent()
/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp65 int64_t &AddrDispShift, int &Dist);
123 int64_t &AddrDispShift, int &Dist) { in chooseBestLEA() argument
168 Dist = DistTemp; in chooseBestLEA()
260 int Dist; in removeRedundantAddrCalc() local
261 if (!chooseBestLEA(List, MI, DefMI, AddrDispShift, Dist)) in removeRedundantAddrCalc()
270 if (Dist < 0) { in removeRedundantAddrCalc()
/external/clang/lib/AST/
DASTTypeTraits.cpp53 unsigned Dist = 0; in isBaseOf() local
56 ++Dist; in isBaseOf()
59 *Distance = Dist; in isBaseOf()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h396 Distribution &Dist);
405 bool addToDist(Distribution &Dist, const LoopData *OuterLoop,
440 Distribution &Dist);
1189 Distribution Dist;
1192 if (!addLoopSuccessorsToDist(OuterLoop, *Loop, Dist))
1199 if (!addToDist(Dist, OuterLoop, Node, getNode(*SI),
1207 distributeMass(Node, OuterLoop, Dist);
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp741 int64_t Dist = EndV - StartV; in computeCount() local
742 if (Dist == 0) in computeCount()
745 bool Exact = (Dist % IVBump) == 0; in computeCount()
750 if ((Dist < 0) ^ (IVBump < 0)) in computeCount()
757 Dist = Dist > 0 ? Dist+1 : Dist-1; in computeCount()
763 if ((CmpLess && Dist < 0) || (CmpGreater && Dist > 0)) in computeCount()
767 int64_t Dist1 = (IVBump > 0) ? (Dist + (IVBump - 1)) / IVBump in computeCount()
768 : (-Dist + (-IVBump - 1)) / (-IVBump); in computeCount()
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp83 auto *Dist = cast<SCEVConstant>( in isDependenceDistanceOfOne() local
85 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp398 std::uniform_int_distribution<short> Dist(10, 99); in shuffleValueUseLists() local
404 auto I = Dist(Gen); in shuffleValueUseLists()
/external/opencv/cv/src/
Dcvcalibration.cpp1852 CvMat K[2], Dist[2], om_LR, T_LR; in cvStereoCalibrate() local
1897 Dist[k] = cvMat(1,5,CV_64F,dk[k]); in cvStereoCalibrate()
1911 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); in cvStereoCalibrate()
1918 npoints, imageSize, &K[k], &Dist[k], 0, 0, flags ); in cvStereoCalibrate()
2000 cvFindExtrinsicCameraParams2( &objpt_i, &imgpt_i[k], &K[k], &Dist[k], &om[k], &T[k] ); in cvStereoCalibrate()
2136 cvProjectPoints2( &objpt_i, &om[k], &T[k], &K[k], &Dist[k], in cvStereoCalibrate()
2140 cvProjectPoints2( &objpt_i, &om[k], &T[k], &K[k], &Dist[k], &tmpimagePoints ); in cvStereoCalibrate()
2231 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); in cvStereoCalibrate()
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp1650 CvMat K[2], Dist[2], om_LR, T_LR; in cvStereoCalibrate() local
1695 Dist[k] = cvMat(1,12,CV_64F,dk[k]); in cvStereoCalibrate()
1709 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); in cvStereoCalibrate()
1716 npoints, imageSize, &K[k], &Dist[k], 0, 0, flags ); in cvStereoCalibrate()
1815 cvFindExtrinsicCameraParams2( &objpt_i, &imgpt_i[k], &K[k], &Dist[k], &om[k], &T[k] ); in cvStereoCalibrate()
1964 cvProjectPoints2( &objpt_i, &om[k], &T[k], &K[k], &Dist[k], in cvStereoCalibrate()
1968 cvProjectPoints2( &objpt_i, &om[k], &T[k], &K[k], &Dist[k], &tmpimagePoints ); in cvStereoCalibrate()
2059 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); in cvStereoCalibrate()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp3409 unsigned &DefIdx, unsigned &Dist) { in getBundledDefMI() argument
3410 Dist = 0; in getBundledDefMI()
3422 ++Dist; in getBundledDefMI()
3432 unsigned &UseIdx, unsigned &Dist) { in getBundledUseMI() argument
3433 Dist = 0; in getBundledUseMI()
3446 ++Dist; in getBundledUseMI()
3451 Dist = 0; in getBundledUseMI()
/external/zlib/src/doc/
Drfc1951.txt642 Code Bits Dist Code Bits Dist Code Bits Distance
/external/libexif/po/
Dpt_BR.po1421 msgstr "Distância do foco"
2779 msgstr "Distância até o destino"
3415 msgstr "Distância do assunto"
4692 msgstr "Distância do foco manual"
5419 msgstr "Distância do objeto"
5423 msgstr "Distância do objeto fotografado em milímetros."
5427 msgstr "Distância do flash"
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1234 unsigned Bytes, int Dist) const;
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4227 APInt Dist = Val - PrevVal; in SwitchLookupTable() local
4229 DistToPrev = Dist; in SwitchLookupTable()
4230 } else if (Dist != DistToPrev) { in SwitchLookupTable()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7010 unsigned Bytes, int Dist) const { in isConsecutiveLoad()
7028 return MFI->getObjectOffset(FI) == (MFI->getObjectOffset(BFI) + Dist*Bytes); in isConsecutiveLoad()
7037 if (LocOffset == Dist * (int)Bytes) in isConsecutiveLoad()
7045 if ((LocOffset - BOffset) == Dist * (int)Bytes) in isConsecutiveLoad()
7057 return Offset1 == (Offset2 + Dist*Bytes); in isConsecutiveLoad()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9236 unsigned Bytes, int Dist, in isConsecutiveLSLoc() argument
9251 return MFI->getObjectOffset(FI) == (MFI->getObjectOffset(BFI) + Dist*Bytes); in isConsecutiveLSLoc()
9258 if (Base1 == Base2 && Offset1 == (Offset2 + Dist * Bytes)) in isConsecutiveLSLoc()
9269 return Offset1 == (Offset2 + Dist*Bytes); in isConsecutiveLSLoc()
9276 unsigned Bytes, int Dist, in isConsecutiveLS() argument
9281 return isConsecutiveLSLoc(Loc, VT, Base, Bytes, Dist, DAG); in isConsecutiveLS()
9325 return isConsecutiveLSLoc(N->getOperand(2), VT, Base, Bytes, Dist, DAG); in isConsecutiveLS()
9369 return isConsecutiveLSLoc(N->getOperand(3), VT, Base, Bytes, Dist, DAG); in isConsecutiveLS()