/external/webrtc/webrtc/modules/audio_processing/agc/ |
histogram_unittest.cc | 40 rtc::scoped_ptr<Histogram> hist_; member in class:webrtc::HistogramTest 44 EXPECT_EQ(hist_->CurrentRms(), 7.59621091765857e-02); 45 EXPECT_EQ(hist_->AudioContent(), 0); 46 EXPECT_EQ(hist_->num_updates(), 0); 55 hist_.reset(Histogram::Create(buffer_size)); 57 hist_.reset(Histogram::Create()); 67 hist_->Reset(); 75 hist_->Update(io.rms, io.activity_probability); 77 EXPECT_EQ(hist_->num_updates(), num_updates); 78 double audio_content = hist_->AudioContent() [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_packet_history_unittest.cc | 26 hist_(new RTPPacketHistory(&fake_clock_)) { 29 delete hist_; 33 RTPPacketHistory* hist_; member in class:webrtc::RtpPacketHistoryTest 60 EXPECT_FALSE(hist_->StorePackets()); 61 hist_->SetStorePacketsStatus(true, 10); 62 EXPECT_TRUE(hist_->StorePackets()); 63 hist_->SetStorePacketsStatus(false, 0); 64 EXPECT_FALSE(hist_->StorePackets()); 68 EXPECT_FALSE(hist_->StorePackets()); 72 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, capture_time_ms [all...] |
/external/opencv3/modules/imgproc/src/ |
generalized_hough.cpp | 372 Mat hist_; member in class:__anon21129::GeneralizedHoughBallardImpl 427 hist_.create(cvCeil(imageSize_.height * idp) + 2, cvCeil(imageSize_.width * idp) + 2, CV_32SC1); 428 hist_.setTo(0); 430 const int rows = hist_.rows - 2; 431 const int cols = hist_.cols - 2; 458 ++hist_.at<int>(c.y + 1, c.x + 1); 469 const int histRows = hist_.rows - 2; 470 const int histCols = hist_.cols - 2; 474 const int* prevRow = hist_.ptr<int>(y); 475 const int* curRow = hist_.ptr<int>(y + 1) [all...] |