Searched refs:hidx (Results 1 – 8 of 8) sorted by relevance
/external/opencv3/modules/cudaobjdetect/src/cuda/ |
D | hog.cu | 645 int hidx = (int)::floorf(ang); in compute_gradients_8UC4_kernel() local 646 ang -= hidx; in compute_gradients_8UC4_kernel() 647 hidx = (hidx + cnbins) % cnbins; in compute_gradients_8UC4_kernel() 649 ((uchar2*)qangle.ptr(blockIdx.y))[x] = make_uchar2(hidx, (hidx + 1) % cnbins); in compute_gradients_8UC4_kernel() 718 int hidx = (int)::floorf(ang); in compute_gradients_8UC1_kernel() local 719 ang -= hidx; in compute_gradients_8UC1_kernel() 720 hidx = (hidx + cnbins) % cnbins; in compute_gradients_8UC1_kernel() 722 ((uchar2*)qangle.ptr(blockIdx.y))[x] = make_uchar2(hidx, (hidx + 1) % cnbins); in compute_gradients_8UC1_kernel()
|
/external/elfutils/src/ |
D | strip.c | 1604 size_t hidx = elf_hash (name) % nbucket; in handle_elf() local 1606 if (bucket[hidx] == 0) in handle_elf() 1607 bucket[hidx] = inner; in handle_elf() 1610 hidx = bucket[hidx]; in handle_elf() 1612 while (chain[hidx] != 0 && chain[hidx] < nchain) in handle_elf() 1613 hidx = chain[hidx]; in handle_elf() 1615 chain[hidx] = inner; in handle_elf() 1666 size_t hidx = elf_hash (name) % nbucket; in handle_elf() local 1668 if (bucket[hidx] == 0) in handle_elf() 1669 bucket[hidx] = inner; in handle_elf() [all …]
|
/external/opencv3/modules/objdetect/src/opencl/ |
D | objdetect_hog.cl | 653 int hidx = (int)floor(ang); 654 ang -= hidx; 655 hidx = (hidx + cnbins) % cnbins; 657 qangle[(gidY * qangle_step + x) << 1] = hidx; 658 qangle[((gidY * qangle_step + x) << 1) + 1] = (hidx + 1) % cnbins; 713 int hidx = (int)floor(ang); 714 ang -= hidx; 715 hidx = (hidx + cnbins) % cnbins; 717 qangle[ (gidY * qangle_step + x) << 1 ] = hidx; 718 qangle[ ((gidY * qangle_step + x) << 1) + 1 ] = (hidx + 1) % cnbins;
|
/external/opencv3/modules/objdetect/test/ |
D | test_cascadeandhog.cpp | 1296 int hidx = cvFloor(angle); in computeGradient() local 1297 angle -= hidx; in computeGradient() 1300 if( hidx < 0 ) in computeGradient() 1301 hidx += _nbins; in computeGradient() 1302 else if( hidx >= _nbins ) in computeGradient() 1303 hidx -= _nbins; in computeGradient() 1304 assert( (unsigned)hidx < (unsigned)_nbins ); in computeGradient() 1306 qanglePtr[x*2] = (uchar)hidx; in computeGradient() 1307 hidx++; in computeGradient() 1308 hidx &= hidx < _nbins ? -1 : 0; in computeGradient() [all …]
|
/external/opencv3/modules/objdetect/src/ |
D | hog.cpp | 456 int hidx = cvFloor(angle); in computeGradient() local 457 angle -= hidx; in computeGradient() 461 if( hidx < 0 ) in computeGradient() 462 hidx += nbins; in computeGradient() 463 else if( hidx >= nbins ) in computeGradient() 464 hidx -= nbins; in computeGradient() 466 CV_Assert( (unsigned)hidx < (unsigned)nbins ); in computeGradient() 468 qanglePtr[x*2] = (uchar)hidx; in computeGradient() 469 hidx++; in computeGradient() 470 hidx &= hidx < nbins ? -1 : 0; in computeGradient() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | histogram.cpp | 543 size_t hidx = tab_[i]; in operator ()() local 544 if( hidx < OUT_OF_RANGE ) in operator ()() 546 *(int*)((globalHistogram_ + hidx)) += localHistogram[i]; in operator ()() 1055 size_t hidx = tab[i]; in calcHist_8u() local 1056 if( hidx < OUT_OF_RANGE ) in calcHist_8u() 1057 *(int*)(H + hidx) += matH[i]; in calcHist_8u() 1408 size_t hidx = tab[*ptrs[i] + i*256]; in calcSparseHist_8u() local 1409 if( hidx >= OUT_OF_RANGE ) in calcSparseHist_8u() 1412 idx[i] = (int)hidx; in calcSparseHist_8u() 1776 size_t hidx = tab[i]; in calcBackProj_8u() local [all …]
|
/external/opencv3/modules/core/src/ |
D | matrix.cpp | 4924 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; in ptr() local 4946 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; in ptr() local 4968 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; in ptr() local 4992 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx]; in ptr() local 5015 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx], previdx=0; in erase() local 5027 removeNode(hidx, nidx, previdx); in erase() 5034 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx], previdx=0; in erase() local 5047 removeNode(hidx, nidx, previdx); in erase() 5055 size_t hidx = h & (hdr->hashtab.size() - 1), nidx = hdr->hashtab[hidx], previdx=0; in erase() local 5073 removeNode(hidx, nidx, previdx); in erase() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | mat.hpp | 2651 void removeNode(size_t hidx, size_t nidx, size_t previdx);
|