webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Namespaces | |
bwe | |
Classes | |
class | FakeNativeHandleBuffer |
class | InterArrivalTest |
class | MockVideoEncoder |
class | MockVideoEncoderFactory |
class | OveruseDetectorExperimentTest |
class | OveruseDetectorTest |
class | RtpStream |
class | StreamGenerator |
class | TestBitrateObserver |
class | TestSimulcastEncoderAdapter |
class | TestSimulcastEncoderAdapterFake |
class | TestSimulcastEncoderAdapterFakeHelper |
class | TestVp8Impl |
class | TestVp8Simulcast |
class | Vp8TestDecodedImageCallback |
class | Vp8TestEncodedImageCallback |
Enumerations | |
enum | PlaneType { kYPlane = 0, kUPlane = 1, kVPlane = 2, kNumOfPlanes = 3, kYPlane = 0, kUPlane = 1, kVPlane = 2, kNumOfPlanes = 3 } |
enum | { kTimestampGroupLengthUs = 5000, kMinStep = 20, kTriggerNewGroupUs = kTimestampGroupLengthUs + kMinStep, kBurstThresholdMs = 5, kAbsSendTimeFraction = 18, kAbsSendTimeInterArrivalUpshift = 8, kInterArrivalShift = kAbsSendTimeFraction + kAbsSendTimeInterArrivalUpshift } |
enum | PlaneType { kYPlane = 0, kUPlane = 1, kVPlane = 2, kNumOfPlanes = 3, kYPlane = 0, kUPlane = 1, kVPlane = 2, kNumOfPlanes = 3 } |
Functions | |
template<typename T > | |
void | SetExpectedValues3 (T value0, T value1, T value2, T *expected_values) |
TEST_F (InterArrivalTest, FirstPacket) | |
TEST_F (InterArrivalTest, FirstGroup) | |
TEST_F (InterArrivalTest, SecondGroup) | |
TEST_F (InterArrivalTest, AccumulatedGroup) | |
TEST_F (InterArrivalTest, OutOfOrderPacket) | |
TEST_F (InterArrivalTest, OutOfOrderWithinGroup) | |
TEST_F (InterArrivalTest, TwoBursts) | |
TEST_F (InterArrivalTest, NoBursts) | |
TEST_F (InterArrivalTest, RtpTimestampWrap) | |
TEST_F (InterArrivalTest, AbsSendTimeWrap) | |
TEST_F (InterArrivalTest, RtpTimestampWrapOutOfOrderWithinGroup) | |
TEST_F (InterArrivalTest, AbsSendTimeWrapOutOfOrderWithinGroup) | |
TEST_F (InterArrivalTest, PositiveArrivalTimeJump) | |
TEST_F (InterArrivalTest, NegativeArrivalTimeJump) | |
TEST_F (OveruseDetectorTest, GaussianRandom) | |
TEST_F (OveruseDetectorTest, SimpleNonOveruse30fps) | |
TEST_F (OveruseDetectorTest, SimpleNonOveruseWithReceiveVariance) | |
TEST_F (OveruseDetectorTest, SimpleNonOveruseWithRtpTimestampVariance) | |
TEST_F (OveruseDetectorTest, SimpleOveruse2000Kbit30fps) | |
TEST_F (OveruseDetectorTest, SimpleOveruse100kbit10fps) | |
TEST_F (OveruseDetectorTest, DISABLED_OveruseWithHighVariance100Kbit10fps) | |
TEST_F (OveruseDetectorTest, DISABLED_OveruseWithLowVariance100Kbit10fps) | |
TEST_F (OveruseDetectorTest, OveruseWithLowVariance2000Kbit30fps) | |
TEST_F (OveruseDetectorTest, MAYBE_LowGaussianVariance30Kbit3fps) | |
TEST_F (OveruseDetectorTest, LowGaussianVarianceFastDrift30Kbit3fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVariance30Kbit3fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVarianceFastDrift30Kbit3fps) | |
TEST_F (OveruseDetectorTest, MAYBE_LowGaussianVariance100Kbit5fps) | |
TEST_F (OveruseDetectorTest, MAYBE_HighGaussianVariance100Kbit5fps) | |
TEST_F (OveruseDetectorTest, MAYBE_LowGaussianVariance100Kbit10fps) | |
TEST_F (OveruseDetectorTest, MAYBE_HighGaussianVariance100Kbit10fps) | |
TEST_F (OveruseDetectorTest, MAYBE_LowGaussianVariance300Kbit30fps) | |
TEST_F (OveruseDetectorTest, LowGaussianVarianceFastDrift300Kbit30fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVariance300Kbit30fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVarianceFastDrift300Kbit30fps) | |
TEST_F (OveruseDetectorTest, MAYBE_LowGaussianVariance1000Kbit30fps) | |
TEST_F (OveruseDetectorTest, LowGaussianVarianceFastDrift1000Kbit30fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVariance1000Kbit30fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVarianceFastDrift1000Kbit30fps) | |
TEST_F (OveruseDetectorTest, MAYBE_LowGaussianVariance2000Kbit30fps) | |
TEST_F (OveruseDetectorTest, LowGaussianVarianceFastDrift2000Kbit30fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVariance2000Kbit30fps) | |
TEST_F (OveruseDetectorTest, HighGaussianVarianceFastDrift2000Kbit30fps) | |
TEST_F (OveruseDetectorExperimentTest, ThresholdAdapts) | |
TEST_F (OveruseDetectorExperimentTest, DoesntAdaptToSpikes) | |
TEST_F (TestSimulcastEncoderAdapter, TestKeyFrameRequestsOnAllStreams) | |
TEST_F (TestSimulcastEncoderAdapter, TestPaddingAllStreams) | |
TEST_F (TestSimulcastEncoderAdapter, TestPaddingTwoStreams) | |
TEST_F (TestSimulcastEncoderAdapter, TestPaddingTwoStreamsOneMaxedOut) | |
TEST_F (TestSimulcastEncoderAdapter, TestPaddingOneStream) | |
TEST_F (TestSimulcastEncoderAdapter, TestPaddingOneStreamTwoMaxedOut) | |
TEST_F (TestSimulcastEncoderAdapter, TestSendAllStreams) | |
TEST_F (TestSimulcastEncoderAdapter, TestDisablingStreams) | |
TEST_F (TestSimulcastEncoderAdapter, TestSwitchingToOneStream) | |
TEST_F (TestSimulcastEncoderAdapter, TestSwitchingToOneOddStream) | |
TEST_F (TestSimulcastEncoderAdapter, TestRPSIEncodeDecode) | |
TEST_F (TestSimulcastEncoderAdapter, TestStrideEncodeDecode) | |
TEST_F (TestSimulcastEncoderAdapter, TestSaptioTemporalLayers333PatternEncoder) | |
TEST_F (TestSimulcastEncoderAdapter, TestSpatioTemporalLayers321PatternEncoder) | |
TEST_F (TestSimulcastEncoderAdapter, DISABLED_TestRPSIEncoder) | |
TEST_F (TestSimulcastEncoderAdapterFake, InitEncode) | |
TEST_F (TestSimulcastEncoderAdapterFake, SetChannelParameters) | |
TEST_F (TestSimulcastEncoderAdapterFake, EncodedCallbackForDifferentEncoders) | |
TEST_F (TestSimulcastEncoderAdapterFake, SupportsNativeHandleForSingleStreams) | |
TEST_F (TestSimulcastEncoderAdapterFake, SetRatesUnderMinBitrate) | |
TEST_F (TestSimulcastEncoderAdapterFake, SupportsImplementationName) | |
TEST_F (TestSimulcastEncoderAdapterFake, SupportsNativeHandleForMultipleStreams) | |
TEST_F (TestSimulcastEncoderAdapterFake, NativeHandleForwardingForMultipleStreams) | |
TEST_F (TestSimulcastEncoderAdapterFake, TestFailureReturnCodesFromEncodeCalls) | |
TEST_F (TestSimulcastEncoderAdapterFake, TestInitFailureCleansUpEncoders) | |
TEST_F (TestVp8Impl, TestKeyFrameRequestsOnAllStreams) | |
TEST_F (TestVp8Impl, TestPaddingAllStreams) | |
TEST_F (TestVp8Impl, TestPaddingTwoStreams) | |
TEST_F (TestVp8Impl, TestPaddingTwoStreamsOneMaxedOut) | |
TEST_F (TestVp8Impl, TestPaddingOneStream) | |
TEST_F (TestVp8Impl, TestPaddingOneStreamTwoMaxedOut) | |
TEST_F (TestVp8Impl, TestSendAllStreams) | |
TEST_F (TestVp8Impl, TestDisablingStreams) | |
TEST_F (TestVp8Impl, TestSwitchingToOneStream) | |
TEST_F (TestVp8Impl, TestSwitchingToOneOddStream) | |
TEST_F (TestVp8Impl, TestSwitchingToOneSmallStream) | |
TEST_F (TestVp8Impl, TestRPSIEncoder) | |
TEST_F (TestVp8Impl, TestRPSIEncodeDecode) | |
TEST_F (TestVp8Impl, TestSaptioTemporalLayers333PatternEncoder) | |
TEST_F (TestVp8Impl, TestSpatioTemporalLayers321PatternEncoder) | |
TEST_F (TestVp8Impl, TestStrideEncodeDecode) | |
Variables | |
const int | kDefaultWidth = 1280 |
const int | kDefaultHeight = 720 |
const int | kNumberOfSimulcastStreams = 3 |
const int | kColorY = 66 |
const int | kColorU = 22 |
const int | kColorV = 33 |
const int | kMaxBitrates [kNumberOfSimulcastStreams] = {150, 600, 1200} |
const int | kMinBitrates [kNumberOfSimulcastStreams] = {50, 150, 600} |
const int | kTargetBitrates [kNumberOfSimulcastStreams] = {100, 450, 1000} |
const int | kDefaultTemporalLayerProfile [3] = {3, 3, 3} |
const double | kRtpTimestampToMs = 1.0 / 90.0 |
const double | kAstToMs = 1000.0 / static_cast<double>(1 << kInterArrivalShift) |
anonymous enum |
void webrtc::testing::SetExpectedValues3 | ( | T | value0, |
T | value1, | ||
T | value2, | ||
T * | expected_values | ||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestKeyFrameRequestsOnAllStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestPaddingAllStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestPaddingTwoStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestPaddingTwoStreamsOneMaxedOut | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestPaddingOneStream | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestKeyFrameRequestsOnAllStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestPaddingOneStreamTwoMaxedOut | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestPaddingAllStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestSendAllStreams | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestPaddingTwoStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestDisablingStreams | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestPaddingTwoStreamsOneMaxedOut | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestSwitchingToOneStream | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestPaddingOneStream | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestSwitchingToOneOddStream | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestPaddingOneStreamTwoMaxedOut | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestSwitchingToOneSmallStream | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestSendAllStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestRPSIEncoder | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestDisablingStreams | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestRPSIEncodeDecode | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestSwitchingToOneStream | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestSaptioTemporalLayers333PatternEncoder | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestSwitchingToOneOddStream | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestSpatioTemporalLayers321PatternEncoder | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestRPSIEncodeDecode | |||
) |
webrtc::testing::TEST_F | ( | TestVp8Impl | , |
TestStrideEncodeDecode | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestStrideEncodeDecode | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestSaptioTemporalLayers333PatternEncoder | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
TestSpatioTemporalLayers321PatternEncoder | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapter | , |
DISABLED_TestRPSIEncoder | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
GaussianRandom | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
SimpleNonOveruse30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
SimpleNonOveruseWithReceiveVariance | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
SimpleNonOveruseWithRtpTimestampVariance | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
SimpleOveruse2000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
SimpleOveruse100kbit10fps | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
FirstPacket | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
FirstGroup | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
DISABLED_OveruseWithHighVariance100Kbit10fps | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
SecondGroup | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
DISABLED_OveruseWithLowVariance100Kbit10fps | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
AccumulatedGroup | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
OveruseWithLowVariance2000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
OutOfOrderPacket | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
OutOfOrderWithinGroup | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_LowGaussianVariance30Kbit3fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
LowGaussianVarianceFastDrift30Kbit3fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVariance30Kbit3fps | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
TwoBursts | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVarianceFastDrift30Kbit3fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
InitEncode | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
SetChannelParameters | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
NoBursts | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_LowGaussianVariance100Kbit5fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
EncodedCallbackForDifferentEncoders | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_HighGaussianVariance100Kbit5fps | |||
) |
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 | ( | TestSimulcastEncoderAdapterFake | , |
SupportsNativeHandleForSingleStreams | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_LowGaussianVariance100Kbit10fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
SetRatesUnderMinBitrate | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_HighGaussianVariance100Kbit10fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
SupportsImplementationName | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_LowGaussianVariance300Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
LowGaussianVarianceFastDrift300Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | InterArrivalTest | , |
NegativeArrivalTimeJump | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
SupportsNativeHandleForMultipleStreams | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVariance300Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVarianceFastDrift300Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
NativeHandleForwardingForMultipleStreams | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_LowGaussianVariance1000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
LowGaussianVarianceFastDrift1000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
TestFailureReturnCodesFromEncodeCalls | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVariance1000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | TestSimulcastEncoderAdapterFake | , |
TestInitFailureCleansUpEncoders | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVarianceFastDrift1000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
MAYBE_LowGaussianVariance2000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
LowGaussianVarianceFastDrift2000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVariance2000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorTest | , |
HighGaussianVarianceFastDrift2000Kbit30fps | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorExperimentTest | , |
ThresholdAdapts | |||
) |
webrtc::testing::TEST_F | ( | OveruseDetectorExperimentTest | , |
DoesntAdaptToSpikes | |||
) |
const double webrtc::testing::kAstToMs = 1000.0 / static_cast<double>(1 << kInterArrivalShift) |
const int webrtc::testing::kColorU = 22 |
const int webrtc::testing::kColorV = 33 |
const int webrtc::testing::kColorY = 66 |
const int webrtc::testing::kDefaultHeight = 720 |
const int webrtc::testing::kDefaultTemporalLayerProfile = {3, 3, 3} |
const int webrtc::testing::kDefaultWidth = 1280 |
const int webrtc::testing::kMaxBitrates = {150, 600, 1200} |
const int webrtc::testing::kMinBitrates = {50, 150, 600} |
const int webrtc::testing::kNumberOfSimulcastStreams = 3 |
const double webrtc::testing::kRtpTimestampToMs = 1.0 / 90.0 |
const int webrtc::testing::kTargetBitrates = {100, 450, 1000} |