/external/webrtc/modules/video_coding/codecs/vp9/test/ |
D | vp9_impl_unittest.cc | 280 VideoBitrateAllocation bitrate_allocation; in TEST_F() local 283 bitrate_allocation.SetBitrate( in TEST_F() 287 bitrate_allocation, codec_settings_.maxFramerate)); in TEST_F() 303 bitrate_allocation.SetBitrate(sl_idx, 0, 0); in TEST_F() 305 bitrate_allocation, codec_settings_.maxFramerate)); in TEST_F() 339 VideoBitrateAllocation bitrate_allocation; in TEST_F() local 343 bitrate_allocation.SetBitrate( in TEST_F() 349 bitrate_allocation, codec_settings_.maxFramerate)); in TEST_F() 365 bitrate_allocation.SetBitrate(sl_idx, tl_idx, 0); in TEST_F() 369 bitrate_allocation, codec_settings_.maxFramerate)); in TEST_F() [all …]
|
/external/webrtc/modules/video_coding/ |
D | video_codec_initializer_unittest.cc | 154 VideoBitrateAllocation bitrate_allocation = in TEST_F() local 159 EXPECT_EQ(kDefaultTargetBitrateBps, bitrate_allocation.get_sum_bps()); in TEST_F() 169 VideoBitrateAllocation bitrate_allocation = in TEST_F() local 174 EXPECT_EQ(0U, bitrate_allocation.get_sum_bps()); in TEST_F() 184 VideoBitrateAllocation bitrate_allocation = in TEST_F() local 188 bitrate_allocation.get_sum_bps()); in TEST_F() 189 EXPECT_EQ(kScreenshareTl0BitrateBps, bitrate_allocation.GetBitrate(0, 0)); in TEST_F() 204 VideoBitrateAllocation bitrate_allocation = in TEST_F() local 207 EXPECT_EQ(max_bitrate_bps, bitrate_allocation.get_sum_bps()); in TEST_F() 209 bitrate_allocation.GetSpatialLayerSum(0)); in TEST_F() [all …]
|
/external/webrtc/video/ |
D | frame_encode_metadata_writer_unittest.cc | 84 VideoBitrateAllocation bitrate_allocation; in GetTimingFrames() local 86 bitrate_allocation.SetBitrate(si, 0, in GetTimingFrames() 89 encode_timer.OnSetRates(bitrate_allocation, kFramerate); in GetTimingFrames() 210 VideoBitrateAllocation bitrate_allocation; in TEST() local 211 bitrate_allocation.SetBitrate(0, 0, 500000); in TEST() 212 encode_timer.OnSetRates(bitrate_allocation, 30); in TEST() 252 VideoBitrateAllocation bitrate_allocation; in TEST() local 253 bitrate_allocation.SetBitrate(0, 0, 500000); in TEST() 254 encode_timer.OnSetRates(bitrate_allocation, 30); in TEST() 287 VideoBitrateAllocation bitrate_allocation; in TEST() local [all …]
|
D | frame_encode_metadata_writer.h | 33 void OnSetRates(const VideoBitrateAllocation& bitrate_allocation,
|
D | frame_encode_metadata_writer.cc | 69 const VideoBitrateAllocation& bitrate_allocation, in OnSetRates() argument 79 bitrate_allocation.GetSpatialLayerSum(i) / 8; in OnSetRates()
|
D | video_stream_encoder_unittest.cc | 3783 VideoBitrateAllocation bitrate_allocation = in TEST_F() local 3786 EXPECT_EQ(bitrate_allocation.get_sum_bps(), kLowTargetBitrateBps); in TEST_F()
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | svc_rate_allocator.cc | 210 VideoBitrateAllocation bitrate_allocation; in Allocate() local 211 bitrate_allocation.SetBitrate(0, 0, total_bitrate.bps()); in Allocate() 212 return bitrate_allocation; in Allocate() 280 VideoBitrateAllocation bitrate_allocation; in GetAllocationNormalVideo() local 292 bitrate_allocation.SetBitrate(sl_idx + first_active_layer, 0, in GetAllocationNormalVideo() 295 bitrate_allocation.SetBitrate(sl_idx + first_active_layer, 0, in GetAllocationNormalVideo() 297 bitrate_allocation.SetBitrate(sl_idx + first_active_layer, 1, in GetAllocationNormalVideo() 306 bitrate_allocation.SetBitrate(sl_idx + first_active_layer, 0, in GetAllocationNormalVideo() 308 bitrate_allocation.SetBitrate(sl_idx + first_active_layer, 1, in GetAllocationNormalVideo() 310 bitrate_allocation.SetBitrate(sl_idx + first_active_layer, 2, in GetAllocationNormalVideo() [all …]
|
D | vp9_impl.h | 79 bool SetSvcRates(const VideoBitrateAllocation& bitrate_allocation);
|
D | vp9_impl.cc | 308 const VideoBitrateAllocation& bitrate_allocation) { in SetSvcRates() argument 311 std::pair<size_t, size_t> new_layers = GetActiveLayers(bitrate_allocation); in SetSvcRates() 331 config_->rc_target_bitrate = bitrate_allocation.get_sum_kbps(); in SetSvcRates() 337 bitrate_allocation.GetSpatialLayerSum(sl_idx) / 1000; in SetSvcRates() 341 bitrate_allocation.GetTemporalLayerSum(sl_idx, tl_idx) / 1000; in SetSvcRates() 422 current_bitrate_allocation_ = bitrate_allocation; in SetSvcRates()
|
/external/webrtc/test/testsupport/ |
D | ivf_video_frame_generator_unittest.cc | 126 VideoBitrateAllocation bitrate_allocation; in CreateTestVideoFile() local 127 bitrate_allocation.SetBitrate(0, 0, kBitrateBps); in CreateTestVideoFile() 134 bitrate_allocation, static_cast<double>(codec_settings.maxFramerate))); in CreateTestVideoFile()
|
/external/webrtc/rtc_tools/converter/ |
D | yuv_to_ivf_converter.cc | 153 VideoBitrateAllocation bitrate_allocation; in Encoder() local 154 bitrate_allocation.SetBitrate(0, 0, kBitrateBps); in Encoder() 165 bitrate_allocation, in Encoder()
|
/external/webrtc/modules/video_coding/codecs/multiplex/ |
D | multiplex_encoder_adapter.cc | 234 VideoBitrateAllocation bitrate_allocation(parameters.bitrate); in SetRates() local 235 bitrate_allocation.SetBitrate( in SetRates() 242 bitrate_allocation, in SetRates()
|
/external/webrtc/modules/video_coding/codecs/vp8/test/ |
D | vp8_impl_unittest.cc | 176 VideoBitrateAllocation bitrate_allocation; in TEST_F() local 177 bitrate_allocation.SetBitrate(0, 0, kBitrateBps); in TEST_F() 190 bitrate_allocation, static_cast<double>(codec_settings_.maxFramerate))); in TEST_F() 501 VideoBitrateAllocation bitrate_allocation; in TEST_F() local 503 bitrate_allocation.SetBitrate(0, 0, 200000); in TEST_F() 505 VideoEncoder::RateControlParameters(bitrate_allocation, 5.0)); in TEST_F()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_transceiver_impl.cc | 316 VideoBitrateAllocation bitrate_allocation; in HandleTargetBitrate() local 327 bitrate_allocation.SetBitrate(item.spatial_layer, item.temporal_layer, in HandleTargetBitrate() 332 observer->OnBitrateAllocation(remote_ssrc, bitrate_allocation); in HandleTargetBitrate()
|
D | rtcp_transceiver_impl_unittest.cc | 641 VideoBitrateAllocation bitrate_allocation; in TEST() local 642 bitrate_allocation.SetBitrate(0, 0, /*bitrate_bps=*/10000); in TEST() 643 bitrate_allocation.SetBitrate(0, 1, /*bitrate_bps=*/20000); in TEST() 644 bitrate_allocation.SetBitrate(1, 0, /*bitrate_bps=*/40000); in TEST() 645 bitrate_allocation.SetBitrate(1, 1, /*bitrate_bps=*/80000); in TEST() 646 EXPECT_CALL(observer1, OnBitrateAllocation(kRemoteSsrc1, bitrate_allocation)); in TEST()
|
D | rtcp_receiver.cc | 867 VideoBitrateAllocation bitrate_allocation; in HandleXrTargetBitrate() local 876 bitrate_allocation.SetBitrate(item.spatial_layer, item.temporal_layer, in HandleXrTargetBitrate() 880 packet_information->target_bitrate_allocation.emplace(bitrate_allocation); in HandleXrTargetBitrate()
|
/external/webrtc/api/audio_codecs/ |
D | BUILD.gn | 33 "..:bitrate_allocation",
|
/external/webrtc/call/ |
D | BUILD.gn | 146 "../api:bitrate_allocation", 216 "../api:bitrate_allocation",
|
/external/webrtc/api/ |
D | BUILD.gn | 569 rtc_source_set("bitrate_allocation") { 571 sources = [ "call/bitrate_allocation.h" ]
|
/external/webrtc/android_tools/ |
D | sorted_targets.txt | 22761 "//api:bitrate_allocation", 31233 "//api:bitrate_allocation", 70873 "//api:bitrate_allocation",
|