webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Typedefs | Functions
vie_encoder_unittest.cc File Reference
#include <limits>
#include <utility>
#include "webrtc/api/video/i420_buffer.h"
#include "webrtc/base/logging.h"
#include "webrtc/media/base/videoadapter.h"
#include "webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h"
#include "webrtc/system_wrappers/include/metrics_default.h"
#include "webrtc/system_wrappers/include/sleep.h"
#include "webrtc/test/encoder_settings.h"
#include "webrtc/test/fake_encoder.h"
#include "webrtc/test/frame_generator.h"
#include "webrtc/test/gmock.h"
#include "webrtc/test/gtest.h"
#include "webrtc/video/send_statistics_proxy.h"
#include "webrtc/video/vie_encoder.h"

Classes

class  webrtc::ViEEncoderTest
 
class  webrtc::ViEEncoderTest::TestEncoder
 
class  webrtc::ViEEncoderTest::TestSink
 

Namespaces

 webrtc
 

Typedefs

using webrtc::DegredationPreference = VideoSendStream::DegradationPreference
 
using webrtc::ScaleReason = AdaptationObserverInterface::AdaptReason
 

Functions

 webrtc::TEST_F (ViEEncoderTest, EncodeOneFrame)
 
 webrtc::TEST_F (ViEEncoderTest, DropsFramesBeforeFirstOnBitrateUpdated)
 
 webrtc::TEST_F (ViEEncoderTest, DropsFramesWhenRateSetToZero)
 
 webrtc::TEST_F (ViEEncoderTest, DropsFramesWithSameOrOldNtpTimestamp)
 
 webrtc::TEST_F (ViEEncoderTest, DropsFrameAfterStop)
 
 webrtc::TEST_F (ViEEncoderTest, DropsPendingFramesOnSlowEncode)
 
 webrtc::TEST_F (ViEEncoderTest, ConfigureEncoderTriggersOnEncoderConfigurationChanged)
 
 webrtc::TEST_F (ViEEncoderTest, FrameResolutionChangeReconfigureEncoder)
 
 webrtc::TEST_F (ViEEncoderTest, Vp8ResilienceIsOffFor1S1TLWithNackEnabled)
 
 webrtc::TEST_F (ViEEncoderTest, Vp8ResilienceIsOffFor2S1TlWithNackEnabled)
 
 webrtc::TEST_F (ViEEncoderTest, Vp8ResilienceIsOnFor1S1TLWithNackDisabled)
 
 webrtc::TEST_F (ViEEncoderTest, Vp8ResilienceIsOnFor1S2TlWithNackEnabled)
 
 webrtc::TEST_F (ViEEncoderTest, SwitchSourceDeregisterEncoderAsSink)
 
 webrtc::TEST_F (ViEEncoderTest, SinkWantsRotationApplied)
 
 webrtc::TEST_F (ViEEncoderTest, SinkWantsFromOveruseDetector)
 
 webrtc::TEST_F (ViEEncoderTest, ResolutionSinkWantsResetOnSetSourceWithDisabledResolutionScaling)
 
 webrtc::TEST_F (ViEEncoderTest, StatsTracksAdaptationStats)
 
 webrtc::TEST_F (ViEEncoderTest, SwitchingSourceKeepsCpuAdaptation)
 
 webrtc::TEST_F (ViEEncoderTest, SwitchingSourceKeepsQualityAdaptation)
 
 webrtc::TEST_F (ViEEncoderTest, StatsTracksAdaptationStatsWhenSwitchingSource)
 
 webrtc::TEST_F (ViEEncoderTest, StatsTracksPreferredBitrate)
 
 webrtc::TEST_F (ViEEncoderTest, ScalingUpAndDownDoesNothingWithMaintainResolution)
 
 webrtc::TEST_F (ViEEncoderTest, DoesNotScaleBelowSetLimit)
 
 webrtc::TEST_F (ViEEncoderTest, UMACpuLimitedResolutionInPercent)
 
 webrtc::TEST_F (ViEEncoderTest, CallsBitrateObserver)
 
 webrtc::TEST_F (ViEEncoderTest, DropsFramesAndScalesWhenBitrateIsTooLow)
 
 webrtc::TEST_F (ViEEncoderTest, NrOfDroppedFramesLimited)
 
 webrtc::TEST_F (ViEEncoderTest, InitialFrameDropOffWithMaintainResolutionPreference)
 
 webrtc::TEST_F (ViEEncoderTest, InitialFrameDropOffWhenEncoderDisabledScaling)
 
 webrtc::TEST_F (ViEEncoderTest, AdaptsResolutionOnOveruse)
 

Variable Documentation

◆ adapter_