/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_multi_channel_opus_unittest.cc | 29 const absl::optional<AudioEncoderMultiChannelOpus::Config> encoder_config = in TEST() local 31 ASSERT_TRUE(encoder_config.has_value()); in TEST() 34 EXPECT_FALSE(encoder_config->IsOk()); in TEST() 42 const absl::optional<AudioEncoderMultiChannelOpus::Config> encoder_config = in TEST() local 44 ASSERT_TRUE(encoder_config.has_value()); in TEST() 47 EXPECT_FALSE(encoder_config->IsOk()); in TEST() 54 const absl::optional<AudioEncoderMultiChannelOpus::Config> encoder_config = in TEST() local 56 ASSERT_TRUE(encoder_config.has_value()); in TEST() 59 EXPECT_FALSE(encoder_config->IsOk()); in TEST() 66 const absl::optional<AudioEncoderMultiChannelOpus::Config> encoder_config = in TEST() local [all …]
|
/external/webrtc/test/ |
D | encoder_settings.cc | 34 const webrtc::VideoEncoderConfig& encoder_config) { in CreateVideoStreams() argument 35 RTC_DCHECK(encoder_config.number_of_streams <= in CreateVideoStreams() 38 std::vector<VideoStream> stream_settings(encoder_config.number_of_streams); in CreateVideoStreams() 41 if (encoder_config.max_bitrate_bps > 0) { in CreateVideoStreams() 42 bitrate_left_bps = encoder_config.max_bitrate_bps; in CreateVideoStreams() 44 for (size_t stream_num = 0; stream_num < encoder_config.number_of_streams; in CreateVideoStreams() 51 for (size_t i = 0; i < encoder_config.number_of_streams; ++i) { in CreateVideoStreams() 53 (i + 1) * width / encoder_config.number_of_streams; in CreateVideoStreams() 55 (i + 1) * height / encoder_config.number_of_streams; in CreateVideoStreams() 64 if (i < encoder_config.simulcast_layers.size()) { in CreateVideoStreams() [all …]
|
D | encoder_settings.h | 40 const VideoEncoderConfig& encoder_config) override; 50 const webrtc::VideoEncoderConfig& encoder_config);
|
/external/webrtc/rtc_tools/rtp_generator/ |
D | rtp_generator.cc | 184 VideoEncoderConfig encoder_config; in RtpGenerator() local 185 encoder_config.content_type = in RtpGenerator() 187 encoder_config.codec_type = in RtpGenerator() 191 encoder_config.encoder_specific_settings = new rtc::RefCountedObject< in RtpGenerator() 195 encoder_config.encoder_specific_settings = new rtc::RefCountedObject< in RtpGenerator() 199 encoder_config.encoder_specific_settings = new rtc::RefCountedObject< in RtpGenerator() 202 encoder_config.video_format.name = video_config.rtp.payload_name; in RtpGenerator() 203 encoder_config.min_transmit_bitrate_bps = 0; in RtpGenerator() 204 encoder_config.max_bitrate_bps = kMaxBitrateBps; in RtpGenerator() 205 encoder_config.content_type = in RtpGenerator() [all …]
|
/external/webrtc/video/end_to_end_tests/ |
D | ssrc_tests.cc | 187 const VideoEncoderConfig& encoder_config) override { in TestSendsSetSsrcs() argument 189 test::CreateVideoStreams(width, height, encoder_config); in TestSendsSetSsrcs() 191 for (size_t i = 0; i < encoder_config.number_of_streams; ++i) { in TestSendsSetSsrcs() 203 VideoEncoderConfig* encoder_config) override { in TestSendsSetSsrcs() argument 204 encoder_config->video_stream_factory = in TestSendsSetSsrcs() 206 video_encoder_config_all_streams_ = encoder_config->Copy(); in TestSendsSetSsrcs() 208 encoder_config->number_of_streams = 1; in TestSendsSetSsrcs() 297 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 299 encoder_config->max_bitrate_bps = 50000; in TEST_F() 300 for (auto& layer : encoder_config->simulcast_layers) { in TEST_F() [all …]
|
D | bandwidth_tests.cc | 54 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 104 VideoEncoderConfig* encoder_config) override { in ModifyVideoConfigs() argument 118 encoder_config->number_of_streams = 1; in ModifyVideoConfigs() 119 encoder_config->max_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs() 120 encoder_config->simulcast_layers[0].min_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs() 121 encoder_config->simulcast_layers[0].target_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs() 122 encoder_config->simulcast_layers[0].max_bitrate_bps = kMaxBitrateBps * 2; in ModifyVideoConfigs() 235 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 239 encoder_config->max_bitrate_bps = 2000000; in TEST_F() 346 VideoEncoderConfig* encoder_config) override { in TEST_F() argument [all …]
|
D | multi_stream_tester.cc | 92 VideoEncoderConfig encoder_config; in RunTest() local 93 test::FillEncoderConfiguration(kVideoCodecVP8, 1, &encoder_config); in RunTest() 94 encoder_config.max_bitrate_bps = 100000; in RunTest() 96 UpdateSendConfig(i, &send_config, &encoder_config, &frame_generators[i]); in RunTest() 99 send_config.Copy(), encoder_config.Copy()); in RunTest() 150 VideoEncoderConfig* encoder_config, in UpdateSendConfig() argument
|
D | frame_encryption_tests.cc | 39 VideoEncoderConfig* encoder_config) override { in ModifyVideoConfigs() argument 46 encoder_config->codec_type = kVideoCodecVP8; in ModifyVideoConfigs()
|
D | extended_reports_tests.cc | 177 VideoEncoderConfig* encoder_config) override { in ModifyVideoConfigs() argument 181 encoder_config->codec_type = kVideoCodecVP8; in ModifyVideoConfigs() 188 encoder_config->content_type = content_type_; in ModifyVideoConfigs()
|
/external/webrtc/media/engine/ |
D | webrtc_video_engine.cc | 333 const webrtc::VideoEncoderConfig& encoder_config) { in FindRequiredActiveLayers() argument 335 for (size_t i = 0; i < encoder_config.number_of_streams; ++i) { in FindRequiredActiveLayers() 336 if (encoder_config.simulcast_layers[i].active) { in FindRequiredActiveLayers() 2098 parameters_.encoder_config = CreateVideoEncoderConfig(codec_settings.codec); in SetCodec() 2099 RTC_DCHECK_GT(parameters_.encoder_config.number_of_streams, 0); in SetCodec() 2274 if (parameters_.encoder_config.number_of_streams == 1) { in UpdateSendState() 2282 if (parameters_.encoder_config.number_of_streams == 1 && in UpdateSendState() 2305 webrtc::VideoEncoderConfig encoder_config; in CreateVideoEncoderConfig() local 2306 encoder_config.codec_type = webrtc::PayloadStringToCodecType(codec.name); in CreateVideoEncoderConfig() 2307 encoder_config.video_format = in CreateVideoEncoderConfig() [all …]
|
/external/webrtc/video/ |
D | video_send_stream.cc | 80 VideoEncoderConfig encoder_config, in VideoSendStream() argument 85 stats_proxy_(clock, config, encoder_config.content_type), in VideoSendStream() 87 content_type_(encoder_config.content_type) { in VideoSendStream() 99 event_log, &suspended_ssrcs, &encoder_config, &suspended_payload_states, in VideoSendStream() 104 event_log, &config_, encoder_config.max_bitrate_bps, in VideoSendStream() 105 encoder_config.bitrate_priority, suspended_ssrcs, in VideoSendStream() 106 suspended_payload_states, encoder_config.content_type, in VideoSendStream() 118 if (encoder_config.content_type == VideoEncoderConfig::ContentType::kScreen || in VideoSendStream() 123 ReconfigureVideoEncoder(std::move(encoder_config)); in VideoSendStream()
|
D | video_send_stream_tests.cc | 178 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 222 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 268 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 315 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 351 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 400 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 404 encoder_config->content_type = VideoEncoderConfig::ContentType::kScreen; in TEST_F() 444 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 595 VideoEncoderConfig* encoder_config) override { in ModifyVideoConfigs() argument 614 encoder_config->codec_type = PayloadStringToCodecType(payload_name_); in ModifyVideoConfigs() [all …]
|
D | quality_scaling_tests.cc | 30 void SetEncoderSpecific(VideoEncoderConfig* encoder_config, in SetEncoderSpecific() argument 38 encoder_config->encoder_specific_settings = new rtc::RefCountedObject< in SetEncoderSpecific() 44 encoder_config->encoder_specific_settings = new rtc::RefCountedObject< in SetEncoderSpecific() 49 encoder_config->encoder_specific_settings = new rtc::RefCountedObject< in SetEncoderSpecific() 114 VideoEncoderConfig* encoder_config) override { in RunTest() argument 119 encoder_config->codec_type = codec_type; in RunTest() 120 encoder_config->max_bitrate_bps = start_bps_; in RunTest() 121 SetEncoderSpecific(encoder_config, codec_type, automatic_resize_, in RunTest()
|
D | cpu_scaling_tests.cc | 106 VideoEncoderConfig* encoder_config) override { in RunTestAndCheckForAdaptation() argument 107 EXPECT_FALSE(encoder_config->simulcast_layers.empty()); in RunTestAndCheckForAdaptation() 108 encoder_config->simulcast_layers[0].max_framerate = kFps; in RunTestAndCheckForAdaptation()
|
/external/webrtc/test/scenario/ |
D | video_stream.cc | 232 VideoEncoderConfig encoder_config; in CreateVideoEncoderConfig() local 233 encoder_config.codec_type = config.encoder.codec; in CreateVideoEncoderConfig() 234 encoder_config.content_type = ConvertContentType(config.encoder.content_type); in CreateVideoEncoderConfig() 235 encoder_config.video_format = in CreateVideoEncoderConfig() 238 encoder_config.number_of_streams = 1; in CreateVideoEncoderConfig() 240 encoder_config.number_of_streams = in CreateVideoEncoderConfig() 242 encoder_config.simulcast_layers = in CreateVideoEncoderConfig() 244 encoder_config.min_transmit_bitrate_bps = config.stream.pad_to_rate.bps(); in CreateVideoEncoderConfig() 250 encoder_config.video_stream_factory = in CreateVideoEncoderConfig() 254 encoder_config.video_stream_factory = in CreateVideoEncoderConfig() [all …]
|
/external/webrtc/call/adaptation/ |
D | encoder_settings.cc | 18 VideoEncoderConfig encoder_config, in EncoderSettings() argument 21 encoder_config_(std::move(encoder_config)), in EncoderSettings() 40 const VideoEncoderConfig& EncoderSettings::encoder_config() const { in encoder_config() function in webrtc::EncoderSettings 50 return settings.has_value() ? settings->encoder_config().codec_type in GetVideoCodecTypeOrGeneric()
|
D | video_stream_input_state_provider_unittest.cc | 41 VideoEncoderConfig encoder_config; in TEST() local 42 encoder_config.codec_type = VideoCodecType::kVideoCodecVP9; in TEST() 44 std::move(encoder_info), std::move(encoder_config), VideoCodec())); in TEST()
|
D | encoder_settings.h | 25 VideoEncoderConfig encoder_config, 33 const VideoEncoderConfig& encoder_config() const;
|
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/ |
D | BUILD | 35 name = "encoder_config", 37 "encoder_config.fbs", 95 ":encoder_config", 118 ":encoder_config", 138 ":encoder_config", 273 ":encoder_config",
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | controller_manager_unittest.cc | 303 AudioEncoderRuntimeConfig encoder_config; in CheckControllersOrder() local 306 AudioEncoderRuntimeConfig encoder_config; in CheckControllersOrder() local 308 controllers[i]->MakeDecision(&encoder_config); in CheckControllersOrder() 314 EXPECT_EQ(kInitialFecEnabled, encoder_config.enable_fec); in CheckControllersOrder() 317 EXPECT_EQ(kIntialChannelsToEncode, encoder_config.num_channels); in CheckControllersOrder() 320 EXPECT_EQ(kInitialDtxEnabled, encoder_config.enable_dtx); in CheckControllersOrder() 323 EXPECT_EQ(kInitialFrameLengthMs, encoder_config.frame_length_ms); in CheckControllersOrder() 326 EXPECT_EQ(kInitialBitrateBps, encoder_config.bitrate_bps); in CheckControllersOrder()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | neteq_decoder_plc_unittest.cc | 162 AudioEncoderPcm16B::Config encoder_config; in RunTest() local 163 encoder_config.sample_rate_hz = kSampleRateHz; in RunTest() 164 encoder_config.payload_type = kPayloadType; in RunTest() 165 auto encoder = std::make_unique<AudioEncoderPcm16B>(encoder_config); in RunTest()
|
/external/webrtc/call/ |
D | rampup_tests.cc | 145 const VideoEncoderConfig& encoder_config) override { in CreateEncoderStreams() argument 147 test::CreateVideoStreams(width, height, encoder_config); in CreateEncoderStreams() 148 if (encoder_config.number_of_streams == 1) { in CreateEncoderStreams() 158 VideoEncoderConfig* encoder_config) { in ModifyVideoConfigs() argument 160 encoder_config->number_of_streams = num_video_streams_; in ModifyVideoConfigs() 161 encoder_config->max_bitrate_bps = 2000000; in ModifyVideoConfigs() 162 encoder_config->video_stream_factory = in ModifyVideoConfigs() 170 encoder_config->codec_type = kVideoCodecVP8; in ModifyVideoConfigs() 173 *encoder_config); in ModifyVideoConfigs()
|
D | call_unittest.cc | 363 VideoEncoderConfig encoder_config; in TEST() local 364 encoder_config.max_bitrate_bps = 1337; in TEST() 366 call->CreateVideoSendStream(config.Copy(), encoder_config.Copy()); in TEST() 370 call->CreateVideoSendStream(config.Copy(), encoder_config.Copy()); in TEST() 428 VideoEncoderConfig encoder_config; in TEST() local 429 encoder_config.max_bitrate_bps = 1337; in TEST() 431 call->CreateVideoSendStream(config.Copy(), encoder_config.Copy()); in TEST() 435 call->CreateVideoSendStream(config.Copy(), encoder_config.Copy()); in TEST()
|
D | call_perf_tests.cc | 478 VideoEncoderConfig* encoder_config) override { in TestCaptureNtpTime() argument 611 VideoEncoderConfig* encoder_config) override {} in TEST_F() argument 683 VideoEncoderConfig* encoder_config) override { in TestMinTransmitBitrate() argument 685 encoder_config->min_transmit_bitrate_bps = kMinTransmitBitrateBps; in TestMinTransmitBitrate() 687 RTC_DCHECK_EQ(0, encoder_config->min_transmit_bitrate_bps); in TestMinTransmitBitrate() 742 const VideoEncoderConfig& encoder_config) override { in TEST_F() argument 744 test::CreateVideoStreams(width, height, encoder_config); in TEST_F() 806 VideoEncoderConfig* encoder_config) override { in TEST_F() argument 810 encoder_config->max_bitrate_bps = 2 * kReconfigureThresholdKbps * 1000; in TEST_F() 811 encoder_config->video_stream_factory = in TEST_F() [all …]
|
D | degraded_call.cc | 190 VideoEncoderConfig encoder_config) { in CreateVideoSendStream() argument 198 std::move(config), std::move(encoder_config)); in CreateVideoSendStream() 207 VideoEncoderConfig encoder_config, in CreateVideoSendStream() argument 216 std::move(config), std::move(encoder_config), std::move(fec_controller)); in CreateVideoSendStream()
|