Searched refs:numberOfSimulcastStreams (Results 1 – 15 of 15) sorted by relevance
47 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()
64 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()
282 EXPECT_EQ(0, target.numberOfSimulcastStreams); in VerifyCodec()389 codec_.numberOfSimulcastStreams = 1; in TEST_F()405 codec_.numberOfSimulcastStreams = 3; in TEST_F()
264 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()
133 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()
126 _nextFrameTypes.resize(VCM_MAX(sendCodec->numberOfSimulcastStreams, 1), in RegisterSendCodec()337 if (current_codec_.numberOfSimulcastStreams == 0) { in SuspendBelowMinBitrate()
209 settings_.numberOfSimulcastStreams = kNumberOfStreams; in SetUp()
30 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()
250 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()
377 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()
348 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()
1514 for (unsigned char i = 0; i < config.numberOfSimulcastStreams; ++i) { in VerifyCodecSpecifics()1535 for (unsigned char i = 0; i < config.numberOfSimulcastStreams; ++i) { in VerifyCodecSpecifics()
705 unsigned char numberOfSimulcastStreams; member727 numberOfSimulcastStreams == other.numberOfSimulcastStreams &&733 for (unsigned char i = 0; i < other.numberOfSimulcastStreams && ret; ++i) {
78 assert(config_.numberOfSimulcastStreams > 0); in Encode()79 for (unsigned char i = 0; i < config_.numberOfSimulcastStreams; ++i) { in Encode()
589 EXPECT_EQ(0, codec_settings.numberOfSimulcastStreams); in TEST_F()714 EXPECT_EQ(1u, encoder->GetCodecSettings().numberOfSimulcastStreams); in TEST_F()