Searched refs:active_streams (Results 1 – 6 of 6) sorted by relevance
/external/autotest/client/site_tests/audio_CrasSanity/ |
D | audio_CrasSanity.py | 58 active_streams = cras_utils.get_active_stream_count() 61 active_streams) 62 if active_streams >= total_tests: 73 active_streams = cras_utils.get_active_stream_count() 76 active_streams)
|
/external/webrtc/video/ |
D | video_send_stream_impl.cc | 72 std::vector<VideoStream> active_streams; in CalculateMaxPadBitrateBps() local 75 active_streams.emplace_back(stream); in CalculateMaxPadBitrateBps() 78 if (active_streams.size() > 1 || (!active_streams.empty() && is_svc)) { in CalculateMaxPadBitrateBps() 88 pad_up_to_bitrate_bps = active_streams[0].min_bitrate_bps; in CalculateMaxPadBitrateBps() 101 hysteresis_factor * active_streams[0].target_bitrate_bps + 0.5); in CalculateMaxPadBitrateBps() 103 const size_t top_active_stream_idx = active_streams.size() - 1; in CalculateMaxPadBitrateBps() 107 active_streams[top_active_stream_idx].min_bitrate_bps + in CalculateMaxPadBitrateBps() 109 active_streams[top_active_stream_idx].target_bitrate_bps); in CalculateMaxPadBitrateBps() 113 pad_up_to_bitrate_bps += active_streams[i].target_bitrate_bps; in CalculateMaxPadBitrateBps() 117 } else if (!active_streams.empty() && pad_to_min_bitrate) { in CalculateMaxPadBitrateBps() [all …]
|
/external/webrtc/modules/video_coding/utility/ |
D | simulcast_rate_allocator_unittest.cc | 95 void SetupCodec3SL3TL(const std::vector<bool>& active_streams) { in SetupCodec3SL3TL() argument 97 RTC_DCHECK_GE(active_streams.size(), num_simulcast_layers); in SetupCodec3SL3TL() 98 SetupCodec2SL3TL(active_streams); in SetupCodec3SL3TL() 104 codec_.simulcastStream[2].active = active_streams[2]; in SetupCodec3SL3TL() 107 void SetupCodec2SL3TL(const std::vector<bool>& active_streams) { in SetupCodec2SL3TL() argument 109 RTC_DCHECK_GE(active_streams.size(), num_simulcast_layers); in SetupCodec2SL3TL() 110 SetupCodec1SL3TL(active_streams); in SetupCodec2SL3TL() 116 codec_.simulcastStream[1].active = active_streams[1]; in SetupCodec2SL3TL() 119 void SetupCodec1SL3TL(const std::vector<bool>& active_streams) { in SetupCodec1SL3TL() argument 121 RTC_DCHECK_GE(active_streams.size(), num_simulcast_layers); in SetupCodec1SL3TL() [all …]
|
D | simulcast_test_fixture_impl.h | 66 void RunActiveStreamsTest(const std::vector<bool> active_streams); 67 void UpdateActiveStreams(const std::vector<bool> active_streams);
|
D | simulcast_test_fixture_impl.cc | 313 const std::vector<bool> active_streams) { in RunActiveStreamsTest() argument 316 UpdateActiveStreams(active_streams); in RunActiveStreamsTest() 321 ExpectStreams(VideoFrameType::kVideoFrameKey, active_streams); in RunActiveStreamsTest() 325 ExpectStreams(VideoFrameType::kVideoFrameDelta, active_streams); in RunActiveStreamsTest() 331 const std::vector<bool> active_streams) { in UpdateActiveStreams() argument 332 ASSERT_EQ(static_cast<int>(active_streams.size()), kNumberOfSimulcastStreams); in UpdateActiveStreams() 333 for (size_t i = 0; i < active_streams.size(); ++i) { in UpdateActiveStreams() 334 settings_.simulcastStream[i].active = active_streams[i]; in UpdateActiveStreams()
|
/external/adhd/cras/src/tests/ |
D | observer_unittest.cc | 573 const uint32_t active_streams = 10; in TEST_F() local 575 cras_observer_notify_num_active_streams(dir, active_streams); in TEST_F() 582 EXPECT_EQ(data->num_active_streams, active_streams); in TEST_F() 591 EXPECT_EQ(cb_num_active_streams_changed_num[0], active_streams); in TEST_F() 592 EXPECT_EQ(cb_num_active_streams_changed_num[1], active_streams); in TEST_F()
|