webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Enumerations | Functions | Variables
inter_arrival_unittest.cc File Reference
#include <memory>
#include "webrtc/common_types.h"
#include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h"
#include "webrtc/test/gtest.h"

Classes

class  webrtc::testing::InterArrivalTest
 

Namespaces

 webrtc
 
 webrtc::testing
 

Enumerations

enum  {
  webrtc::testing::kTimestampGroupLengthUs = 5000, webrtc::testing::kMinStep = 20, webrtc::testing::kTriggerNewGroupUs = kTimestampGroupLengthUs + kMinStep, webrtc::testing::kBurstThresholdMs = 5,
  webrtc::testing::kAbsSendTimeFraction = 18, webrtc::testing::kAbsSendTimeInterArrivalUpshift = 8, webrtc::testing::kInterArrivalShift = kAbsSendTimeFraction + kAbsSendTimeInterArrivalUpshift
}
 

Functions

 webrtc::testing::TEST_F (InterArrivalTest, FirstPacket)
 
 webrtc::testing::TEST_F (InterArrivalTest, FirstGroup)
 
 webrtc::testing::TEST_F (InterArrivalTest, SecondGroup)
 
 webrtc::testing::TEST_F (InterArrivalTest, AccumulatedGroup)
 
 webrtc::testing::TEST_F (InterArrivalTest, OutOfOrderPacket)
 
 webrtc::testing::TEST_F (InterArrivalTest, OutOfOrderWithinGroup)
 
 webrtc::testing::TEST_F (InterArrivalTest, TwoBursts)
 
 webrtc::testing::TEST_F (InterArrivalTest, NoBursts)
 
 webrtc::testing::TEST_F (InterArrivalTest, RtpTimestampWrap)
 
 webrtc::testing::TEST_F (InterArrivalTest, AbsSendTimeWrap)
 
 webrtc::testing::TEST_F (InterArrivalTest, RtpTimestampWrapOutOfOrderWithinGroup)
 
 webrtc::testing::TEST_F (InterArrivalTest, AbsSendTimeWrapOutOfOrderWithinGroup)
 
 webrtc::testing::TEST_F (InterArrivalTest, PositiveArrivalTimeJump)
 
 webrtc::testing::TEST_F (InterArrivalTest, NegativeArrivalTimeJump)
 

Variables

const double webrtc::testing::kRtpTimestampToMs = 1.0 / 90.0
 
const double webrtc::testing::kAstToMs = 1000.0 / static_cast<double>(1 << kInterArrivalShift)