/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | extended_reports.cc | 62 target_bitrate_ = absl::nullopt; in Parse() 117 if (target_bitrate_) in SetTargetBitrate() 120 target_bitrate_ = bitrate; in SetTargetBitrate() 149 if (target_bitrate_) { in Create() 150 target_bitrate_->Create(packet + *index); in Create() 151 *index += target_bitrate_->BlockLength(); in Create() 158 if (target_bitrate_) in TargetBitrateLength() 159 return target_bitrate_->BlockLength(); in TargetBitrateLength() 191 target_bitrate_.emplace(); in ParseTargetBitrateBlock() 192 target_bitrate_->Parse(block, block_length); in ParseTargetBitrateBlock()
|
D | extended_reports.h | 46 return target_bitrate_; in target_bitrate() 70 absl::optional<TargetBitrate> target_bitrate_; variable
|
/external/webrtc/video/ |
D | encoder_overshoot_detector_unittest.cc | 26 target_bitrate_(DataRate::BitsPerSec(kDefaultBitrateBps)), in EncoderOvershootDetectorTest() 36 (target_bitrate_.bps() / target_framerate_fps_) / 8); in RunConstantUtilizationTest() 37 detector_.SetTargetRate(target_bitrate_, target_framerate_fps_, in RunConstantUtilizationTest() 69 DataRate target_bitrate_; member in webrtc::EncoderOvershootDetectorTest 76 detector_.SetTargetRate(target_bitrate_, target_framerate_fps_, in TEST_F() 114 target_bitrate_ = DataRate::BitsPerSec(target_bitrate_.bps() / 2); in TEST_F() 132 (target_bitrate_.bps() / target_framerate_fps_) / 8; in TEST_F() 133 detector_.SetTargetRate(target_bitrate_, target_framerate_fps_, in TEST_F()
|
D | encoder_overshoot_detector.cc | 28 target_bitrate_(DataRate::Zero()), in EncoderOvershootDetector() 39 if (target_bitrate_ != DataRate::Zero()) { in SetTargetRate() 51 target_bitrate_ = target_bitrate; in SetTargetRate() 147 target_bitrate_ = DataRate::Zero(); in Reset() 156 if (target_framerate_fps_ <= 0 || target_bitrate_ == DataRate::Zero()) { in IdealFrameSizeBits() 162 (target_bitrate_.bps() + target_framerate_fps_ / 2) / in IdealFrameSizeBits() 167 if (time_last_update_ms_ != -1 && target_bitrate_ > DataRate::Zero()) { in LeakBits() 170 const int64_t leaked_bits = (target_bitrate_.bps() * time_delta_ms) / 1000; in LeakBits() 182 -max_underrun_seconds * target_bitrate_.bps<int64_t>(), in LeakBits()
|
D | encoder_overshoot_detector.h | 70 DataRate target_bitrate_; variable
|
D | encoder_bitrate_adjuster_unittest.cc | 37 : target_bitrate_(DataRate::BitsPerSec(kDefaultBitrateBps)), in EncoderBitrateAdjusterTest() 237 DataRate target_bitrate_; member in webrtc::test::EncoderBitrateAdjusterTest
|
D | video_send_stream_tests.cc | 2953 target_bitrate_(0), in TEST_F() 3012 if (target_bitrate_ == parameters.bitrate.get_sum_kbps()) { in TEST_F() 3016 target_bitrate_ = parameters.bitrate.get_sum_kbps(); in TEST_F() 3029 if (target_bitrate_ == expected_bitrate) { in TEST_F() 3036 EXPECT_EQ(target_bitrate_, expected_bitrate) in TEST_F() 3117 uint32_t target_bitrate_ RTC_GUARDED_BY(&mutex_); in TEST_F()
|
/external/webrtc/modules/video_coding/utility/ |
D | frame_dropper.cc | 62 target_bitrate_ = kDefaultTargetBitrateKbps; in Reset() 132 if (target_bitrate_ < 0.0f) { in Leak() 138 float expected_bits_per_frame = target_bitrate_ / input_framerate; in Leak() 248 if (target_bitrate_ > 0.0f && bitrate < target_bitrate_ && in SetRates() 251 accumulator_ = bitrate / target_bitrate_ * accumulator_; in SetRates() 253 target_bitrate_ = bitrate; in SetRates() 263 float max_accumulator = target_bitrate_ * kAccumulatorCapBufferSizeSecs; in CapAccumulator()
|
D | frame_dropper.h | 82 float target_bitrate_; variable
|
/external/openscreen/cast/standalone_sender/ |
D | streaming_vp8_encoder.cc | 91 config_.rc_target_bitrate = target_bitrate_ / kBytesPerKilobyte; 110 target_bitrate_ = 0; in ~StreamingVp8Encoder() 119 return target_bitrate_; in GetTargetBitrate() 130 if (target_bitrate_ > 0) { in SetTargetBitrate() 131 target_bitrate_ = new_bitrate; in SetTargetBitrate() 217 if (target_bitrate_ <= 0) { in ProcessWorkUnitsUntilTimeToQuit() 230 target_bitrate = target_bitrate_; in ProcessWorkUnitsUntilTimeToQuit()
|
D | streaming_vp8_encoder.h | 270 int target_bitrate_ ABSL_GUARDED_BY(mutex_) = 2 << 20; // Default: 2 Mbps.
|
/external/libvpx/libvpx/vp9/ |
D | simple_encode.cc | 114 target_bitrate_ = target_bitrate; in SimpleEncode() 127 target_bitrate_, VPX_RC_FIRST_PASS); in ComputeFirstPassStats() 203 target_bitrate_, VPX_RC_LAST_PASS); in StartEncode() 298 target_bitrate_, VPX_RC_LAST_PASS); in GetCodingFrameNum()
|
D | simple_encode.h | 96 int target_bitrate_; variable
|
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | goog_cc_network_control_unittest.cc | 210 target_bitrate_ = update.target_rate->target_rate; in OnUpdate() 232 absl::optional<DataRate> target_bitrate_; member in webrtc::test::GoogCcNetworkControllerTest 373 ASSERT_TRUE(target_bitrate_.has_value()); in TEST_F() 377 DataRate bitrate_before_delay = *target_bitrate_; in TEST_F() 379 EXPECT_LT(*target_bitrate_, bitrate_before_delay); in TEST_F()
|