Home
last modified time | relevance | path

Searched refs:frame_dropper_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/video_coding/utility/
Dframe_dropper_unittest.cc33 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 …]
/external/webrtc/video/
Dvideo_stream_encoder.cc869 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()
Dvideo_stream_encoder.h321 FrameDropper frame_dropper_ RTC_GUARDED_BY(&encoder_queue_);