Home
last modified time | relevance | path

Searched refs:hist_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history_unittest.cc26 hist_(new RTPPacketHistory(&fake_clock_)) { in RtpPacketHistoryTest()
29 delete hist_; in ~RtpPacketHistoryTest()
33 RTPPacketHistory* hist_; member in webrtc::RtpPacketHistoryTest
60 EXPECT_FALSE(hist_->StorePackets()); in TEST_F()
61 hist_->SetStorePacketsStatus(true, 10); in TEST_F()
62 EXPECT_TRUE(hist_->StorePackets()); in TEST_F()
63 hist_->SetStorePacketsStatus(false, 0); in TEST_F()
64 EXPECT_FALSE(hist_->StorePackets()); in TEST_F()
68 EXPECT_FALSE(hist_->StorePackets()); in TEST_F()
72 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, capture_time_ms, in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram_unittest.cc40 rtc::scoped_ptr<Histogram> hist_; member in webrtc::HistogramTest
44 EXPECT_EQ(hist_->CurrentRms(), 7.59621091765857e-02); in TestClean()
45 EXPECT_EQ(hist_->AudioContent(), 0); in TestClean()
46 EXPECT_EQ(hist_->num_updates(), 0); in TestClean()
55 hist_.reset(Histogram::Create(buffer_size)); in RunTest()
57 hist_.reset(Histogram::Create()); in RunTest()
67 hist_->Reset(); in RunTest()
75 hist_->Update(io.rms, io.activity_probability); in RunTest()
77 EXPECT_EQ(hist_->num_updates(), num_updates); in RunTest()
78 double audio_content = hist_->AudioContent(); in RunTest()
[all …]
/external/opencv3/modules/cudaimgproc/src/
Dgeneralized_hough.cpp486 GpuMat hist_; member in __anon39a23ddb0211::GeneralizedHoughBallardImpl
532 …IsEnough(cvCeil(imageSize_.height * idp) + 2, cvCeil(imageSize_.width * idp) + 2, CV_32SC1, hist_); in calcHist()
533 hist_.setTo(Scalar::all(0)); in calcHist()
539 hist_, in calcHist()
552 …posCount_ = Ballard_Pos_findPosInHist_gpu(hist_, outBuf_.ptr<float4>(0), outBuf_.ptr<int3>(1), max… in findPosInHist()
683 GpuMat hist_; member in __anon39a23ddb0311::GeneralizedHoughGuilImpl
768 …h(histRows + 2, std::max(angleRange + 1, std::max(scaleRange + 1, histCols + 2)), CV_32SC1, hist_); in processImage()
846 hist_.setTo(Scalar::all(0)); in calcOrientation()
847 …_calcOHist_gpu(templFeatures_.sizes.ptr<int>(), imageFeatures_.sizes.ptr<int>(0), hist_.ptr<int>(), in calcOrientation()
849 …cudaSafeCall( cudaMemcpy(&h_buf_[0], hist_.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHo… in calcOrientation()
[all …]
/external/opencv3/modules/imgproc/src/
Dgeneralized_hough.cpp372 Mat hist_; member in __anon90fdc8be0211::GeneralizedHoughBallardImpl
427hist_.create(cvCeil(imageSize_.height * idp) + 2, cvCeil(imageSize_.width * idp) + 2, CV_32SC1); in calcHist()
428 hist_.setTo(0); in calcHist()
430 const int rows = hist_.rows - 2; in calcHist()
431 const int cols = hist_.cols - 2; in calcHist()
458 ++hist_.at<int>(c.y + 1, c.x + 1); in calcHist()
469 const int histRows = hist_.rows - 2; in findPosInHist()
470 const int histCols = hist_.cols - 2; in findPosInHist()
474 const int* prevRow = hist_.ptr<int>(y); in findPosInHist()
475 const int* curRow = hist_.ptr<int>(y + 1); in findPosInHist()
[all …]
Dhistogram.cpp1921 const SparseMat_<float>& hist_ = (const SparseMat_<float>&)hist; in calcSparseBackProj_() local
1939 bproj[x] = saturate_cast<BT>(hist_(idx)*scale); in calcSparseBackProj_()
1978 bproj[x] = saturate_cast<BT>(hist_(idx)*scale); in calcSparseBackProj_()
/external/opencv3/modules/cudaobjdetect/src/cuda/
Dhog.cu172 volatile float* hist_ = hist; in compute_hists_kernel_many_blocks() local
173 for (int bin_id = 0; bin_id < cnbins; ++bin_id, hist_ += 48 * nblocks) in compute_hists_kernel_many_blocks()
175 if (cell_thread_x < 6) hist_[0] += hist_[6]; in compute_hists_kernel_many_blocks()
176 if (cell_thread_x < 3) hist_[0] += hist_[3]; in compute_hists_kernel_many_blocks()
179 = hist_[0] + hist_[1] + hist_[2]; in compute_hists_kernel_many_blocks()
/external/opencv3/modules/objdetect/src/opencl/
Dobjdetect_hog.cl129 volatile __local float* hist_ = hist;
130 for (int bin_id = 0; bin_id < cnbins; ++bin_id, hist_ += 48)
133 hist_[0] += hist_[6];
136 hist_[0] += hist_[3];
142 hist_[0] + hist_[1] + hist_[2];
/external/opencv3/modules/cudalegacy/src/
Dfgd.cpp605 GpuMat hist_; member in __anon9192428c0811::FGDImpl
647 changeDetection(prevFrame_, curFrame, Ftd_, hist_, histBuf_); in apply()
648 changeDetection(background_, curFrame, Fbd_, hist_, histBuf_); in apply()