Home
last modified time | relevance | path

Searched refs:target_bitrate_ (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dextended_reports.cc62 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()
Dextended_reports.h46 return target_bitrate_; in target_bitrate()
70 absl::optional<TargetBitrate> target_bitrate_; variable
/external/webrtc/video/
Dencoder_overshoot_detector_unittest.cc26 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()
Dencoder_overshoot_detector.cc28 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()
Dencoder_overshoot_detector.h70 DataRate target_bitrate_; variable
Dencoder_bitrate_adjuster_unittest.cc37 : target_bitrate_(DataRate::BitsPerSec(kDefaultBitrateBps)), in EncoderBitrateAdjusterTest()
237 DataRate target_bitrate_; member in webrtc::test::EncoderBitrateAdjusterTest
Dvideo_send_stream_tests.cc2953 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/
Dframe_dropper.cc62 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()
Dframe_dropper.h82 float target_bitrate_; variable
/external/openscreen/cast/standalone_sender/
Dstreaming_vp8_encoder.cc91 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()
Dstreaming_vp8_encoder.h270 int target_bitrate_ ABSL_GUARDED_BY(mutex_) = 2 << 20; // Default: 2 Mbps.
/external/libvpx/libvpx/vp9/
Dsimple_encode.cc114 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()
Dsimple_encode.h96 int target_bitrate_; variable
/external/webrtc/modules/congestion_controller/goog_cc/
Dgoog_cc_network_control_unittest.cc210 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()