/external/webrtc/modules/video_coding/utility/ |
D | simulcast_rate_allocator_unittest.cc | 103 codec_.simulcastStream[2].numberOfTemporalLayers = 3; in SetupCodec3SL3TL() 104 codec_.simulcastStream[2].maxBitrate = 4000; in SetupCodec3SL3TL() 105 codec_.simulcastStream[2].targetBitrate = 3000; in SetupCodec3SL3TL() 106 codec_.simulcastStream[2].minBitrate = 2000; in SetupCodec3SL3TL() 107 codec_.simulcastStream[2].active = active_streams[2]; in SetupCodec3SL3TL() 115 codec_.simulcastStream[1].numberOfTemporalLayers = 3; in SetupCodec2SL3TL() 116 codec_.simulcastStream[1].maxBitrate = 1000; in SetupCodec2SL3TL() 117 codec_.simulcastStream[1].targetBitrate = 500; in SetupCodec2SL3TL() 118 codec_.simulcastStream[1].minBitrate = 50; in SetupCodec2SL3TL() 119 codec_.simulcastStream[1].active = active_streams[1]; in SetupCodec2SL3TL() [all …]
|
D | simulcast_utility.cc | 24 bitrate_sum += codec.simulcastStream[i].maxBitrate; in SumStreamMaxBitrate() 42 if (codec.width != codec.simulcastStream[num_streams - 1].width || in ValidSimulcastParameters() 43 codec.height != codec.simulcastStream[num_streams - 1].height) { in ValidSimulcastParameters() 47 if (codec.width * codec.simulcastStream[i].height != in ValidSimulcastParameters() 48 codec.height * codec.simulcastStream[i].width) { in ValidSimulcastParameters() 54 if (codec.simulcastStream[i].width < codec.simulcastStream[i - 1].width) { in ValidSimulcastParameters() 62 if (codec.simulcastStream[i].width != in ValidSimulcastParameters() 63 codec.simulcastStream[i - 1].width * 2) { in ValidSimulcastParameters() 71 if (fabs(codec.simulcastStream[i].maxFramerate - in ValidSimulcastParameters() 72 codec.simulcastStream[i - 1].maxFramerate) > 1e-9) { in ValidSimulcastParameters() [all …]
|
D | simulcast_rate_allocator.cc | 114 return std::tie(codec_.simulcastStream[a].maxBitrate) < in DistributeAllocationToSimulcastLayers() 115 std::tie(codec_.simulcastStream[b].maxBitrate); in DistributeAllocationToSimulcastLayers() 121 if (codec_.simulcastStream[layer_index[active_layer]].active) { in DistributeAllocationToSimulcastLayers() 135 codec_.simulcastStream[layer_index[active_layer]].minBitrate); in DistributeAllocationToSimulcastLayers() 155 codec_.simulcastStream[layer_index[active_layer]]; in DistributeAllocationToSimulcastLayers() 197 const SimulcastStream& stream = codec_.simulcastStream[top_active_layer]; in DistributeAllocationToSimulcastLayers() 246 max_bitrate_kbps = codec_.simulcastStream[simulcast_id].maxBitrate; in DistributeAllocationToTemporalLayers() 336 : codec_.simulcastStream[simulcast_id].numberOfTemporalLayers); in NumTemporalStreams()
|
D | simulcast_test_fixture_impl.cc | 235 &settings->simulcastStream[layer_order[0]], in DefaultSettings() 239 &settings->simulcastStream[layer_order[1]], in DefaultSettings() 243 &settings->simulcastStream[layer_order[2]], in DefaultSettings() 325 settings_.simulcastStream[i].active = active_streams[i]; in UpdateActiveStreams() 592 settings_.simulcastStream[i].maxBitrate = 0; in SwitchingToOneStream() 593 settings_.simulcastStream[i].width = settings_.width; in SwitchingToOneStream() 594 settings_.simulcastStream[i].height = settings_.height; in SwitchingToOneStream() 595 settings_.simulcastStream[i].numberOfTemporalLayers = 1; in SwitchingToOneStream() 609 settings_.simulcastStream[settings_.numberOfSimulcastStreams - 1].maxBitrate = in SwitchingToOneStream() 612 settings_.simulcastStream[settings_.numberOfSimulcastStreams - 1].width = in SwitchingToOneStream() [all …]
|
/external/webrtc/modules/video_coding/codecs/vp8/test/ |
D | vp8_impl_unittest.cc | 120 codec_settings_.simulcastStream[0].numberOfTemporalLayers = 1; in TEST_F() 133 codec_settings_.simulcastStream[0].numberOfTemporalLayers = 2; in TEST_F() 152 codec_settings_.simulcastStream[0].numberOfTemporalLayers = 2; in TEST_F() 297 codec_settings_.simulcastStream[0] = {.width = kWidth, in TEST_F() 305 codec_settings_.simulcastStream[1] = {.width = kWidth / 2, in TEST_F() 317 codec_settings_.simulcastStream[0] = {.width = kWidth / 2, in TEST_F() 325 codec_settings_.simulcastStream[1] = {.width = kWidth / 2 - 1, in TEST_F() 333 codec_settings_.simulcastStream[2] = {.width = kWidth, in TEST_F() 344 codec_settings_.simulcastStream[0] = {.width = kWidth, in TEST_F() 352 codec_settings_.simulcastStream[1] = {.width = kWidth, in TEST_F() [all …]
|
/external/webrtc/call/adaptation/ |
D | video_stream_input_state_provider_unittest.cc | 47 video_codec.simulcastStream[0].active = false; in TEST() 48 video_codec.simulcastStream[1].active = true; in TEST() 49 video_codec.simulcastStream[1].width = 111; in TEST() 50 video_codec.simulcastStream[1].height = 222; in TEST()
|
D | video_stream_adapter.cc | 732 if (codec.simulcastStream[i].active) { in GetSingleActiveLayerPixels() 735 codec.simulcastStream[i].width * codec.simulcastStream[i].height; in GetSingleActiveLayerPixels()
|
/external/webrtc/media/engine/ |
D | simulcast_encoder_adapter_unittest.cc | 498 codec_.simulcastStream[stream_idx] = {0}; in SetupCodec() 500 codec_.simulcastStream[stream_idx].active = active_streams[stream_idx]; in SetupCodec() 541 ref_codec->width = codec_.simulcastStream[stream_index].width; in InitRefCodec() 542 ref_codec->height = codec_.simulcastStream[stream_index].height; in InitRefCodec() 543 ref_codec->maxBitrate = codec_.simulcastStream[stream_index].maxBitrate; in InitRefCodec() 544 ref_codec->minBitrate = codec_.simulcastStream[stream_index].minBitrate; in InitRefCodec() 545 ref_codec->qpMax = codec_.simulcastStream[stream_index].qpMax; in InitRefCodec() 656 1000 * (codec_.simulcastStream[0].targetBitrate + in TEST_F() 657 codec_.simulcastStream[1].targetBitrate + in TEST_F() 658 codec_.simulcastStream[2].minBitrate); in TEST_F() [all …]
|
D | encoder_simulcast_proxy_unittest.cc | 45 codec_settings.simulcastStream[0] = {.width = test::kTestWidth, in TEST() 54 codec_settings.simulcastStream[1] = {.width = test::kTestWidth, in TEST() 63 codec_settings.simulcastStream[2] = {.width = test::kTestWidth, in TEST()
|
D | simulcast_encoder_adapter.cc | 59 bitrate_sum += codec.simulcastStream[i].maxBitrate; in SumStreamMaxBitrate() 82 if (codec.simulcastStream[i].active) { in CountActiveStreams() 330 rtc::ArrayView<SimulcastStream>(codec_.simulcastStream, in InitEncode() 338 codec_.simulcastStream[lowest_quality_stream_idx].active)); in InitEncode() 386 if (!is_legacy_singlecast && !codec_.simulcastStream[stream_idx].active) { in InitEncode() 775 const SimulcastStream& stream_params = codec.simulcastStream[stream_idx]; in MakeStreamCodec() 946 (codec_.simulcastStream[i].height < codec_.height || in GetEncoderInfo() 947 codec_.simulcastStream[i].width < codec_.width))) { in GetEncoderInfo()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | libvpx_vp8_encoder.cc | 448 if (inst->simulcastStream[i].active) { in InitEncode() 493 codec_.simulcastStream[0].width = codec_.width; in InitEncode() 494 codec_.simulcastStream[0].height = codec_.height; in InitEncode() 510 int gcd = GCD(inst->simulcastStream[idx].width, in InitEncode() 511 inst->simulcastStream[idx - 1].width); in InitEncode() 512 downsampling_factors_[i].num = inst->simulcastStream[idx].width / gcd; in InitEncode() 513 downsampling_factors_[i].den = inst->simulcastStream[idx - 1].width / gcd; in InitEncode() 601 GetCpuSpeed(inst->simulcastStream[number_of_streams - 1 - i].width, in InitEncode() 602 inst->simulcastStream[number_of_streams - 1 - i].height); in InitEncode() 634 inst->simulcastStream[stream_idx_cfg_0].maxFramerate; in InitEncode() [all …]
|
D | default_temporal_layers_unittest.cc | 98 codec.simulcastStream[0].targetBitrate = target_bitrate_kbps; in GetTemporalLayerRates() 99 codec.simulcastStream[0].maxBitrate = target_bitrate_kbps; in GetTemporalLayerRates() 100 codec.simulcastStream[0].numberOfTemporalLayers = num_temporal_layers; in GetTemporalLayerRates() 101 codec.simulcastStream[0].active = true; in GetTemporalLayerRates()
|
/external/webrtc/video/ |
D | video_stream_encoder.cc | 132 if (!new_send_codec.simulcastStream[i].active) { in RequiresEncoderReset() 137 if (!prev_send_codec.simulcastStream[i].active || in RequiresEncoderReset() 138 new_send_codec.simulcastStream[i].width != in RequiresEncoderReset() 139 prev_send_codec.simulcastStream[i].width || in RequiresEncoderReset() 140 new_send_codec.simulcastStream[i].height != in RequiresEncoderReset() 141 prev_send_codec.simulcastStream[i].height || in RequiresEncoderReset() 142 new_send_codec.simulcastStream[i].numberOfTemporalLayers != in RequiresEncoderReset() 143 prev_send_codec.simulcastStream[i].numberOfTemporalLayers || in RequiresEncoderReset() 144 new_send_codec.simulcastStream[i].qpMax != in RequiresEncoderReset() 145 prev_send_codec.simulcastStream[i].qpMax) { in RequiresEncoderReset() [all …]
|
D | encoder_bitrate_adjuster_unittest.cc | 65 codec_.simulcastStream[si].minBitrate = 100 * (1 << si); in SetUpAdjuster() 66 codec_.simulcastStream[si].targetBitrate = 200 * (1 << si); in SetUpAdjuster() 67 codec_.simulcastStream[si].maxBitrate = 300 * (1 << si); in SetUpAdjuster() 68 codec_.simulcastStream[si].active = true; in SetUpAdjuster() 69 codec_.simulcastStream[si].numberOfTemporalLayers = num_temporal_layers; in SetUpAdjuster() 185 return codec_.simulcastStream[spatial_index].numberOfTemporalLayers; in NumTemporalLayers()
|
D | send_statistics_proxy_unittest.cc | 1364 codec.simulcastStream[0].active = true; in TEST_F() 1365 codec.simulcastStream[1].active = true; in TEST_F() 1366 codec.simulcastStream[2].active = true; in TEST_F() 1377 codec.simulcastStream[0].active = true; in TEST_F() 1378 codec.simulcastStream[1].active = true; in TEST_F() 1379 codec.simulcastStream[2].active = true; in TEST_F() 1392 codec.simulcastStream[0].active = true; in TEST_F() 1406 codec.simulcastStream[0].active = true; in TEST_F() 1407 codec.simulcastStream[1].active = true; in TEST_F() 1408 codec.simulcastStream[2].active = true; in TEST_F() [all …]
|
D | encoder_bitrate_adjuster.cc | 61 if (codec_settings.simulcastStream[si].active) { 64 codec_settings.simulcastStream[si].minBitrate * 1000);
|
D | video_stream_encoder_unittest.cc | 2155 .simulcastStream[0] in TEST_F() 2175 .simulcastStream[0] in TEST_F() 2211 fake_encoder_.config().simulcastStream[1].minBitrate * 1000); in TEST_F() 2213 fake_encoder_.config().simulcastStream[1].maxBitrate * 1000); in TEST_F() 2219 fake_encoder_.config().simulcastStream[1].minBitrate * 1000); in TEST_F() 2221 fake_encoder_.config().simulcastStream[1].maxBitrate * 1000); in TEST_F() 2228 fake_encoder_.config().simulcastStream[1].minBitrate * 1000); in TEST_F() 2230 fake_encoder_.config().simulcastStream[1].maxBitrate * 1000); in TEST_F() 2236 fake_encoder_.config().simulcastStream[1].minBitrate * 1000); in TEST_F() 2238 fake_encoder_.config().simulcastStream[1].maxBitrate * 1000); in TEST_F() [all …]
|
/external/webrtc/modules/video_coding/codecs/h264/ |
D | h264_encoder_impl.cc | 212 codec_.simulcastStream[0].width = codec_.width; in InitEncode() 213 codec_.simulcastStream[0].height = codec_.height; in InitEncode() 241 configurations_[i].width = codec_.simulcastStream[idx].width; in InitEncode() 242 configurations_[i].height = codec_.simulcastStream[idx].height; in InitEncode() 248 codec_.simulcastStream[idx].numberOfTemporalLayers); in InitEncode() 279 CalcBufferSize(VideoType::kI420, codec_.simulcastStream[idx].width, in InitEncode() 280 codec_.simulcastStream[idx].height); in InitEncode() 282 encoded_images_[i]._encodedWidth = codec_.simulcastStream[idx].width; in InitEncode() 283 encoded_images_[i]._encodedHeight = codec_.simulcastStream[idx].height; in InitEncode()
|
/external/webrtc/modules/video_coding/ |
D | video_codec_initializer.cc | 103 SimulcastStream* sim_stream = &video_codec.simulcastStream[i]; in VideoEncoderConfigToVideoCodec() 215 video_codec.simulcastStream[0].active = codec_active; in VideoEncoderConfigToVideoCodec() 287 video_codec.simulcastStream[0].width = spatial_layers.back().width; in VideoEncoderConfigToVideoCodec() 288 video_codec.simulcastStream[0].height = spatial_layers.back().height; in VideoEncoderConfigToVideoCodec() 343 video_codec.simulcastStream[0].minBitrate = experimental_min_bitrate_kbps; in VideoEncoderConfigToVideoCodec()
|
/external/webrtc/video/adaptation/ |
D | bitrate_constraint_unittest.cc | 61 video_codec->simulcastStream[layer_idx].active = params[layer_idx].active; in FillCodecConfig() 62 video_codec->simulcastStream[layer_idx].width = layer_width_px; in FillCodecConfig() 63 video_codec->simulcastStream[layer_idx].height = layer_height_px; in FillCodecConfig()
|
/external/webrtc/video/end_to_end_tests/ |
D | resolution_bitrate_limits_tests.cc | 54 if (codec.simulcastStream[i].width * codec.simulcastStream[i].height == in GetLayerBitrateLimits() 56 return {DataRate::KilobitsPerSec(codec.simulcastStream[i].minBitrate), in GetLayerBitrateLimits() 57 DataRate::KilobitsPerSec(codec.simulcastStream[i].maxBitrate)}; in GetLayerBitrateLimits()
|
/external/webrtc/test/ |
D | fake_vp8_encoder.cc | 118 config_.simulcastStream[sid].numberOfTemporalLayers; in GetEncoderInfo()
|
/external/webrtc/api/video_codecs/ |
D | video_codec.h | 152 SimulcastStream simulcastStream[kMaxSimulcastStreams]; variable
|
D | video_codec.cc | 66 simulcastStream(), in VideoCodec()
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | quality_analyzing_video_encoder.cc | 42 std::max(min_bitrate, codec.simulcastStream[spatial_idx].minBitrate); in GetMinMaxBitratesBps() 44 std::min(max_bitrate, codec.simulcastStream[spatial_idx].maxBitrate); in GetMinMaxBitratesBps()
|