Home
last modified time | relevance | path

Searched refs:simulcastStream (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/video/
Dvie_codec_unittest.cc50 video_codec->simulcastStream[0].width = 320; in SetSimulcastSettings()
51 video_codec->simulcastStream[0].height = 180; in SetSimulcastSettings()
52 video_codec->simulcastStream[0].numberOfTemporalLayers = 0; in SetSimulcastSettings()
53 video_codec->simulcastStream[0].maxBitrate = 100; in SetSimulcastSettings()
54 video_codec->simulcastStream[0].targetBitrate = 100; in SetSimulcastSettings()
55 video_codec->simulcastStream[0].minBitrate = 0; in SetSimulcastSettings()
56 video_codec->simulcastStream[0].qpMax = video_codec->qpMax; in SetSimulcastSettings()
200 codec2.simulcastStream[0].width = 640; in TEST()
201 codec2.simulcastStream[0].height = 480; in TEST()
206 codec2.simulcastStream[0].numberOfTemporalLayers = 2; in TEST()
[all …]
Dvie_encoder.cc269 SimulcastStream* stream_configs = send_codec.simulcastStream; in GetPaddingNeededBps()
591 SimulcastStream* stream_configs = send_codec.simulcastStream; in OnNetworkChanged()
Dvideo_send_stream.cc392 SimulcastStream* sim_stream = &video_codec.simulcastStream[i]; in ReconfigureVideoEncoder()
Dvideo_send_stream_tests.cc1516 config.simulcastStream[i].numberOfTemporalLayers); in VerifyCodecSpecifics()
1537 config.simulcastStream[i].numberOfTemporalLayers); in VerifyCodecSpecifics()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_encoder_adapter.cc32 bitrate_sum += codec.simulcastStream[i].targetBitrate; in SumStreamTargetBitrate()
40 bitrate_sum += codec.simulcastStream[i].maxBitrate; in SumStreamMaxBitrate()
57 if (codec.width != codec.simulcastStream[num_streams - 1].width || in ValidSimulcastResolutions()
58 codec.height != codec.simulcastStream[num_streams - 1].height) { in ValidSimulcastResolutions()
62 if (codec.width * codec.simulcastStream[i].height != in ValidSimulcastResolutions()
63 codec.height * codec.simulcastStream[i].width) { in ValidSimulcastResolutions()
340 new_bitrate_kbit < codec_.simulcastStream[0].minBitrate) { in SetRates()
341 new_bitrate_kbit = codec_.simulcastStream[0].minBitrate; in SetRates()
363 codec_.simulcastStream[0].numberOfTemporalLayers == 2)) { in SetRates()
406 codec_.simulcastStream[stream_idx].minBitrate + sum_target_lower_streams; in GetStreamBitrate()
[all …]
Dvp8_impl.cc73 static_cast<int>(codec.simulcastStream[i].minBitrate); in GetStreamBitratesKbps()
77 std::min(static_cast<int>(codec.simulcastStream[i].targetBitrate), in GetStreamBitratesKbps()
88 static_cast<int>(codec.simulcastStream[last_active_stream].maxBitrate - in GetStreamBitratesKbps()
96 if (bitrates_kbps[0] < static_cast<int>(codec.simulcastStream[0].minBitrate)) in GetStreamBitratesKbps()
97 bitrates_kbps[0] = static_cast<int>(codec.simulcastStream[0].minBitrate); in GetStreamBitratesKbps()
105 bitrate_sum += codec.simulcastStream[i].maxBitrate; in SumStreamMaxBitrate()
121 if (codec.width != codec.simulcastStream[num_streams - 1].width || in ValidSimulcastResolutions()
122 codec.height != codec.simulcastStream[num_streams - 1].height) { in ValidSimulcastResolutions()
126 if (codec.width * codec.simulcastStream[i].height != in ValidSimulcastResolutions()
127 codec.height * codec.simulcastStream[i].width) { in ValidSimulcastResolutions()
[all …]
Dsimulcast_encoder_adapter_unittest.cc294 ref_codec->width = codec_.simulcastStream[stream_index].width; in InitRefCodec()
295 ref_codec->height = codec_.simulcastStream[stream_index].height; in InitRefCodec()
296 ref_codec->maxBitrate = codec_.simulcastStream[stream_index].maxBitrate; in InitRefCodec()
297 ref_codec->minBitrate = codec_.simulcastStream[stream_index].minBitrate; in InitRefCodec()
298 ref_codec->qpMax = codec_.simulcastStream[stream_index].qpMax; in InitRefCodec()
Dsimulcast_unittest.h268 &settings->simulcastStream[0], temporal_layer_profile[0]); in DefaultSettings()
271 &settings->simulcastStream[1], temporal_layer_profile[1]); in DefaultSettings()
274 &settings->simulcastStream[2], temporal_layer_profile[2]); in DefaultSettings()
555 settings_.simulcastStream[i].maxBitrate = 0; in SwitchingToOneStream()
556 settings_.simulcastStream[i].width = settings_.width; in SwitchingToOneStream()
557 settings_.simulcastStream[i].height = settings_.height; 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()
935 std::max(settings_.simulcastStream[0].minBitrate, settings_.minBitrate); in TestSkipEncodingUnusedStreams()
/external/webrtc/webrtc/test/
Dfake_encoder.cc69 config_.simulcastStream[0].minBitrate * time_since_last_encode_ms); in Encode()
85 config_.simulcastStream[i].minBitrate * time_since_last_encode_ms); in Encode()
87 config_.simulcastStream[i].maxBitrate * time_since_last_encode_ms); in Encode()
105 encoded._encodedWidth = config_.simulcastStream[i].width; in Encode()
106 encoded._encodedHeight = config_.simulcastStream[i].height; in Encode()
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc211 &settings_.simulcastStream[0]); in SetUp()
213 &settings_.simulcastStream[1]); in SetUp()
215 &settings_.simulcastStream[2]); in SetUp()
Dcodec_database.cc373 if (memcmp(&new_send_codec.simulcastStream[i], in RequiresEncoderReset()
374 &send_codec_.simulcastStream[i], in RequiresEncoderReset()
375 sizeof(new_send_codec.simulcastStream[i])) != 0) { in RequiresEncoderReset()
Dvideo_sender.cc340 threshold_bps = current_codec_.simulcastStream[0].minBitrate * 1000; in SuspendBelowMinBitrate()
/external/webrtc/webrtc/
Dcommon_types.h706 SimulcastStream simulcastStream[kMaxSimulcastStreams]; member
734 ret &= (simulcastStream[i] == other.simulcastStream[i]);