Home
last modified time | relevance | path

Searched refs:numberOfSimulcastStreams (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_encoder_adapter.cc47 codec.numberOfSimulcastStreams < 1 ? 1 : codec.numberOfSimulcastStreams; in NumberOfStreams()
85 inst->numberOfSimulcastStreams > 1) { in VerifyCodec()
89 inst->numberOfSimulcastStreams > 1) { in VerifyCodec()
204 stream_codec.numberOfSimulcastStreams = 1; in InitEncode()
339 if (codec_.numberOfSimulcastStreams > 0 && in SetRates()
415 if (stream_idx < codec_.numberOfSimulcastStreams - 1) { in GetStreamBitrate()
450 stream_codec->numberOfSimulcastStreams = 0; in PopulateStreamCodec()
Dvp8_impl.cc64 if (codec.numberOfSimulcastStreams <= 1) { in GetStreamBitratesKbps()
68 std::vector<int> bitrates_kbps(codec.numberOfSimulcastStreams); in GetStreamBitratesKbps()
71 for (size_t i = 0; i < static_cast<size_t>(codec.numberOfSimulcastStreams) && in GetStreamBitratesKbps()
112 codec.numberOfSimulcastStreams < 1 ? 1 : codec.numberOfSimulcastStreams; in NumberOfStreams()
227 if (codec_.numberOfSimulcastStreams > 0 && in SetRates()
361 inst->numberOfSimulcastStreams > 1) { in InitEncode()
365 inst->numberOfSimulcastStreams > 1) { in InitEncode()
396 if (codec_.numberOfSimulcastStreams == 0) { in InitEncode()
902 if (codec_.numberOfSimulcastStreams <= 1) { in UpdateCodecFrameSize()
Dsimulcast_encoder_adapter_unittest.cc282 EXPECT_EQ(0, target.numberOfSimulcastStreams); in VerifyCodec()
389 codec_.numberOfSimulcastStreams = 1; in TEST_F()
405 codec_.numberOfSimulcastStreams = 3; in TEST_F()
Dsimulcast_unittest.h264 settings->numberOfSimulcastStreams = kNumberOfSimulcastStreams; in DefaultSettings()
554 for (int i = 0; i < settings_.numberOfSimulcastStreams - 1; ++i) { in SwitchingToOneStream()
571 settings_.simulcastStream[settings_.numberOfSimulcastStreams - 1] in SwitchingToOneStream()
574 settings_.simulcastStream[settings_.numberOfSimulcastStreams - 1].width = in SwitchingToOneStream()
576 settings_.simulcastStream[settings_.numberOfSimulcastStreams - 1].height = in SwitchingToOneStream()
/external/webrtc/webrtc/modules/video_coding/
Dcodec_database.cc133 settings->numberOfSimulcastStreams = 0; in Codec()
148 settings->numberOfSimulcastStreams = 0; in Codec()
163 settings->numberOfSimulcastStreams = 0; in Codec()
181 settings->numberOfSimulcastStreams = 0; in Codec()
329 new_send_codec.numberOfSimulcastStreams != in RequiresEncoderReset()
330 send_codec_.numberOfSimulcastStreams || in RequiresEncoderReset()
370 if (new_send_codec.numberOfSimulcastStreams > 0) { in RequiresEncoderReset()
371 for (unsigned char i = 0; i < new_send_codec.numberOfSimulcastStreams; in RequiresEncoderReset()
Dvideo_sender.cc126 _nextFrameTypes.resize(VCM_MAX(sendCodec->numberOfSimulcastStreams, 1), in RegisterSendCodec()
337 if (current_codec_.numberOfSimulcastStreams == 0) { in SuspendBelowMinBitrate()
Dvideo_sender_unittest.cc209 settings_.numberOfSimulcastStreams = kNumberOfStreams; in SetUp()
/external/webrtc/webrtc/video/
Dvie_codec_unittest.cc30 video_codec->numberOfSimulcastStreams = 0; in BuildVP8Codec()
49 video_codec->numberOfSimulcastStreams = 1; in SetSimulcastSettings()
194 codec2.numberOfSimulcastStreams = 2; in TEST()
198 codec2.numberOfSimulcastStreams = 1; in TEST()
Dvie_encoder.cc250 bool send_padding = encoder_config_.numberOfSimulcastStreams > 1 || in GetPaddingNeededBps()
266 if (send_codec.numberOfSimulcastStreams == 0) { in GetPaddingNeededBps()
271 stream_configs[send_codec.numberOfSimulcastStreams - 1].minBitrate * in GetPaddingNeededBps()
273 for (int i = 0; i < send_codec.numberOfSimulcastStreams - 1; ++i) { in GetPaddingNeededBps()
280 if (!video_is_suspended && send_codec.numberOfSimulcastStreams <= 1) in GetPaddingNeededBps()
594 bitrate_bps, stream_configs, send_codec.numberOfSimulcastStreams); in OnNetworkChanged()
Dvideo_send_stream.cc377 video_codec.numberOfSimulcastStreams = in ReconfigureVideoEncoder()
435 for (size_t i = video_codec.numberOfSimulcastStreams; in ReconfigureVideoEncoder()
574 used_ssrcs.resize(static_cast<size_t>(video_codec.numberOfSimulcastStreams)); in SetSendCodec()
Dvie_channel.cc348 if (kMaxSimulcastStreams < video_codec.numberOfSimulcastStreams) { in SetSendCodec()
350 << video_codec.numberOfSimulcastStreams; in SetSendCodec()
365 size_t num_active_modules = video_codec.numberOfSimulcastStreams > 0 in SetSendCodec()
366 ? video_codec.numberOfSimulcastStreams in SetSendCodec()
Dvideo_send_stream_tests.cc1514 for (unsigned char i = 0; i < config.numberOfSimulcastStreams; ++i) { in VerifyCodecSpecifics()
1535 for (unsigned char i = 0; i < config.numberOfSimulcastStreams; ++i) { in VerifyCodecSpecifics()
/external/webrtc/webrtc/
Dcommon_types.h705 unsigned char numberOfSimulcastStreams; member
727 numberOfSimulcastStreams == other.numberOfSimulcastStreams &&
733 for (unsigned char i = 0; i < other.numberOfSimulcastStreams && ret; ++i) {
/external/webrtc/webrtc/test/
Dfake_encoder.cc78 assert(config_.numberOfSimulcastStreams > 0); in Encode()
79 for (unsigned char i = 0; i < config_.numberOfSimulcastStreams; ++i) { in Encode()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoengine2_unittest.cc589 EXPECT_EQ(0, codec_settings.numberOfSimulcastStreams); in TEST_F()
714 EXPECT_EQ(1u, encoder->GetCodecSettings().numberOfSimulcastStreams); in TEST_F()