Searched refs:frame_dropper_ (Results 1 – 3 of 3) sorted by relevance
33 frame_dropper_.SetRates(kTargetBitRateKbps, kIncomingFrameRate); in SetUp()39 frame_dropper_.Fill(kFrameSizeBytes, true); in OverflowLeakyBucket()41 frame_dropper_.Leak(kIncomingFrameRate); in OverflowLeakyBucket()54 frame_dropper_.Fill(large_frame_size_bytes, in ValidateNoDropsAtTargetBitrate()56 frame_dropper_.Leak(kIncomingFrameRate); in ValidateNoDropsAtTargetBitrate()57 EXPECT_FALSE(frame_dropper_.DropFrame()); in ValidateNoDropsAtTargetBitrate()61 frame_dropper_.Fill(small_frame_size_bytes, true); in ValidateNoDropsAtTargetBitrate()62 frame_dropper_.Leak(kIncomingFrameRate); in ValidateNoDropsAtTargetBitrate()63 EXPECT_FALSE(frame_dropper_.DropFrame()); in ValidateNoDropsAtTargetBitrate()83 if (!frame_dropper_.DropFrame()) { in ValidateThroughputMatchesTargetBitrate()[all …]
869 frame_dropper_.Reset(); in ReconfigureEncoder()870 frame_dropper_.SetRates(codec.startBitrate, max_framerate_); in ReconfigureEncoder()1274 frame_dropper_.Leak(framerate_fps); in MaybeEncodeVideoFrame()1280 frame_dropper_.Enable(frame_dropping_enabled); in MaybeEncodeVideoFrame()1281 if (frame_dropping_enabled && frame_dropper_.DropFrame()) { in MaybeEncodeVideoFrame()1759 frame_dropper_.SetRates((target_bitrate.bps() + 500) / 1000, framerate_fps); in OnBitrateUpdated()1857 frame_dropper_.Fill(frame_size.bytes(), !keyframe); in RunPostEncode()1863 frame_dropper_.Leak(GetInputFramerateFps()); in RunPostEncode()1865 if (frame_dropper_.DropFrame()) { in RunPostEncode()
321 FrameDropper frame_dropper_ RTC_GUARDED_BY(&encoder_queue_);