Home
last modified time | relevance | path

Searched refs:bitrate_allocation (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc280 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/
Dvideo_codec_initializer_unittest.cc154 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/
Dframe_encode_metadata_writer_unittest.cc84 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 …]
Dframe_encode_metadata_writer.h33 void OnSetRates(const VideoBitrateAllocation& bitrate_allocation,
Dframe_encode_metadata_writer.cc69 const VideoBitrateAllocation& bitrate_allocation, in OnSetRates() argument
79 bitrate_allocation.GetSpatialLayerSum(i) / 8; in OnSetRates()
Dvideo_stream_encoder_unittest.cc3783 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/
Dsvc_rate_allocator.cc210 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 …]
Dvp9_impl.h79 bool SetSvcRates(const VideoBitrateAllocation& bitrate_allocation);
Dvp9_impl.cc308 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/
Divf_video_frame_generator_unittest.cc126 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/
Dyuv_to_ivf_converter.cc153 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/
Dmultiplex_encoder_adapter.cc234 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/
Dvp8_impl_unittest.cc176 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/
Drtcp_transceiver_impl.cc316 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()
Drtcp_transceiver_impl_unittest.cc641 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()
Drtcp_receiver.cc867 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/
DBUILD.gn33 "..:bitrate_allocation",
/external/webrtc/call/
DBUILD.gn146 "../api:bitrate_allocation",
216 "../api:bitrate_allocation",
/external/webrtc/api/
DBUILD.gn569 rtc_source_set("bitrate_allocation") {
571 sources = [ "call/bitrate_allocation.h" ]
/external/webrtc/android_tools/
Dsorted_targets.txt22761 "//api:bitrate_allocation",
31233 "//api:bitrate_allocation",
70873 "//api:bitrate_allocation",