Home
last modified time | relevance | path

Searched refs:config_ (Results 1 – 25 of 124) sorted by relevance

12345

/external/vboot_reference/utility/
Dbmpblk_utility.cc45 config_.config_filename.clear(); in BmpBlockUtil()
46 memset(&config_.header, '\0', BMPBLOCK_SIGNATURE_SIZE); in BmpBlockUtil()
47 config_.images_map.clear(); in BmpBlockUtil()
48 config_.screens_map.clear(); in BmpBlockUtil()
49 config_.localizations.clear(); in BmpBlockUtil()
77 config_.config_filename = filename; in load_yaml_config()
78 config_.images_map.clear(); in load_yaml_config()
79 config_.screens_map.clear(); in load_yaml_config()
80 config_.localizations.clear(); in load_yaml_config()
81 config_.locale_names.clear(); in load_yaml_config()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc70 config_(NULL), in VP9EncoderImpl()
101 if (config_ != NULL) { in Release()
102 delete config_; in Release()
103 config_ = NULL; in Release()
135 config_->ss_target_bitrate[i] = config_->layer_target_bitrate[i] = in SetSvcRates()
136 static_cast<int>(static_cast<int64_t>(config_->rc_target_bitrate) * in SetSvcRates()
157 config_->ss_target_bitrate[i] = static_cast<unsigned int>( in SetSvcRates()
158 config_->rc_target_bitrate * rate_ratio[i] / total); in SetSvcRates()
160 config_->layer_target_bitrate[i] = config_->ss_target_bitrate[i]; in SetSvcRates()
162 config_->layer_target_bitrate[i * num_temporal_layers_] = in SetSvcRates()
[all …]
/external/adhd/cras/src/tests/
Drstream_unittest.cc31 config_.stream_id = 555; in SetUp()
32 config_.stream_type = CRAS_STREAM_TYPE_DEFAULT; in SetUp()
33 config_.direction = CRAS_STREAM_OUTPUT; in SetUp()
34 config_.dev_idx = NO_DEVICE; in SetUp()
35 config_.flags = 0; in SetUp()
36 config_.format = &fmt_; in SetUp()
37 config_.buffer_frames = 4096; in SetUp()
38 config_.cb_threshold = 2048; in SetUp()
43 config_.audio_fd = sock[1]; in SetUp()
46 config_.client = NULL; in SetUp()
[all …]
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfrontend_test.cc34 config_.window.size_ms = 25; in FrontendTestConfig()
35 config_.window.step_size_ms = 10; in FrontendTestConfig()
36 config_.noise_reduction.smoothing_bits = 10; in FrontendTestConfig()
37 config_.filterbank.num_channels = 2; in FrontendTestConfig()
38 config_.filterbank.lower_band_limit = 8.0; in FrontendTestConfig()
39 config_.filterbank.upper_band_limit = 450.0; in FrontendTestConfig()
40 config_.noise_reduction.smoothing_bits = 10; in FrontendTestConfig()
41 config_.noise_reduction.even_smoothing = 0.025; in FrontendTestConfig()
42 config_.noise_reduction.odd_smoothing = 0.06; in FrontendTestConfig()
43 config_.noise_reduction.min_signal_remaining = 0.05; in FrontendTestConfig()
[all …]
Dfilterbank_test.cc38 config_.num_channels = 2; in FilterbankTestConfig()
39 config_.lower_band_limit = 8.0; in FilterbankTestConfig()
40 config_.upper_band_limit = 450.0; in FilterbankTestConfig()
43 struct FilterbankConfig config_; member in __anon8ddb63b30111::FilterbankTestConfig
53 TF_LITE_MICRO_EXPECT(FilterbankPopulateState(&config.config_, &state, in TF_LITE_MICRO_TEST()
64 TF_LITE_MICRO_EXPECT(FilterbankPopulateState(&config.config_, &state, in TF_LITE_MICRO_TEST()
75 TF_LITE_MICRO_EXPECT(FilterbankPopulateState(&config.config_, &state, in TF_LITE_MICRO_TEST()
92 TF_LITE_MICRO_EXPECT(FilterbankPopulateState(&config.config_, &state, in TF_LITE_MICRO_TEST()
109 TF_LITE_MICRO_EXPECT(FilterbankPopulateState(&config.config_, &state, in TF_LITE_MICRO_TEST()
126 TF_LITE_MICRO_EXPECT(FilterbankPopulateState(&config.config_, &state, in TF_LITE_MICRO_TEST()
[all …]
Dnoise_reduction_test.cc28 config_.smoothing_bits = 10; in NoiseReductionTestConfig()
29 config_.even_smoothing = 0.025; in NoiseReductionTestConfig()
30 config_.odd_smoothing = 0.06; in NoiseReductionTestConfig()
31 config_.min_signal_remaining = 0.05; in NoiseReductionTestConfig()
34 struct NoiseReductionConfig config_; member in __anonbe0901bb0111::NoiseReductionTestConfig
45 NoiseReductionPopulateState(&config.config_, &state, kNumChannels)); in TF_LITE_MICRO_TEST()
65 NoiseReductionPopulateState(&config.config_, &state, kNumChannels)); in TF_LITE_MICRO_TEST()
Dpcan_gain_control_test.cc30 config_.enable_pcan = 1; in PcanGainControlTestConfig()
31 config_.strength = 0.95; in PcanGainControlTestConfig()
32 config_.offset = 80.0; in PcanGainControlTestConfig()
33 config_.gain_bits = 21; in PcanGainControlTestConfig()
36 struct PcanGainControlConfig config_; member in __anon602821f10111::PcanGainControlTestConfig
48 &config.config_, &state, estimate, kNumChannels, kSmoothingBits, in TF_LITE_MICRO_TEST()
Dwindow_test.cc34 config_.size_ms = 25; in WindowTestConfig()
35 config_.step_size_ms = 10; in WindowTestConfig()
38 struct WindowConfig config_; member in __anoneb3708090111::WindowTestConfig
49 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
68 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
87 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
110 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
126 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
153 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dfrontend_test.cc34 config_.window.size_ms = 25; in FrontendTestConfig()
35 config_.window.step_size_ms = 10; in FrontendTestConfig()
36 config_.noise_reduction.smoothing_bits = 10; in FrontendTestConfig()
37 config_.filterbank.num_channels = 2; in FrontendTestConfig()
38 config_.filterbank.lower_band_limit = 8.0; in FrontendTestConfig()
39 config_.filterbank.upper_band_limit = 450.0; in FrontendTestConfig()
40 config_.noise_reduction.smoothing_bits = 10; in FrontendTestConfig()
41 config_.noise_reduction.even_smoothing = 0.025; in FrontendTestConfig()
42 config_.noise_reduction.odd_smoothing = 0.06; in FrontendTestConfig()
43 config_.noise_reduction.min_signal_remaining = 0.05; in FrontendTestConfig()
[all …]
Dfilterbank_test.cc38 config_.num_channels = 2; in FilterbankTestConfig()
39 config_.lower_band_limit = 8.0; in FilterbankTestConfig()
40 config_.upper_band_limit = 450.0; in FilterbankTestConfig()
43 struct FilterbankConfig config_; member in __anone408f1e20111::FilterbankTestConfig
57 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
69 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
81 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
99 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
117 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
135 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
[all …]
Dnoise_reduction_test.cc28 config_.smoothing_bits = 10; in NoiseReductionTestConfig()
29 config_.even_smoothing = 0.025; in NoiseReductionTestConfig()
30 config_.odd_smoothing = 0.06; in NoiseReductionTestConfig()
31 config_.min_signal_remaining = 0.05; in NoiseReductionTestConfig()
34 struct NoiseReductionConfig config_; member in __anona281c54a0111::NoiseReductionTestConfig
48 error_reporter, &config.config_, &state, kNumChannels)); in TF_LITE_MICRO_TEST()
69 error_reporter, &config.config_, &state, kNumChannels)); in TF_LITE_MICRO_TEST()
Dpcan_gain_control_test.cc30 config_.enable_pcan = 1; in PcanGainControlTestConfig()
31 config_.strength = 0.95; in PcanGainControlTestConfig()
32 config_.offset = 80.0; in PcanGainControlTestConfig()
33 config_.gain_bits = 21; in PcanGainControlTestConfig()
36 struct PcanGainControlConfig config_; member in __anon45e005400111::PcanGainControlTestConfig
51 error_reporter, &config.config_, &state, estimate, kNumChannels, in TF_LITE_MICRO_TEST()
/external/webrtc/webrtc/video/
Dvideo_receive_stream.cc150 config_(config), in VideoReceiveStream()
154 LOG(LS_INFO) << "VideoReceiveStream: " << config_.ToString(); in VideoReceiveStream()
157 config.rtp.transport_cc && UseSendSideBwe(config_.rtp.extensions); in VideoReceiveStream()
174 vie_channel_->SetProtectionMode(config_.rtp.nack.rtp_history_ms > 0, false, in VideoReceiveStream()
176 RTC_DCHECK(config_.rtp.rtcp_mode != RtcpMode::kOff) in VideoReceiveStream()
179 vie_channel_->SetRTCPMode(config_.rtp.rtcp_mode); in VideoReceiveStream()
181 RTC_DCHECK(config_.rtp.remote_ssrc != 0); in VideoReceiveStream()
183 RTC_DCHECK(config_.rtp.local_ssrc != 0); in VideoReceiveStream()
184 RTC_DCHECK(config_.rtp.remote_ssrc != config_.rtp.local_ssrc); in VideoReceiveStream()
186 vie_channel_->SetSSRC(config_.rtp.local_ssrc, kViEStreamTypeNormal, 0); in VideoReceiveStream()
[all …]
Dvideo_send_stream.cc125 config_(config), in VideoSendStream()
132 LOG(LS_INFO) << "VideoSendStream: " << config_.ToString(); in VideoSendStream()
133 RTC_DCHECK(!config_.rtp.ssrcs.empty()); in VideoSendStream()
173 for (size_t i = 0; i < config_.rtp.extensions.size(); ++i) { in VideoSendStream()
174 const std::string& extension = config_.rtp.extensions[i].name; in VideoSendStream()
175 int id = config_.rtp.extensions[i].id; in VideoSendStream()
196 const bool enable_protection_nack = config_.rtp.nack.rtp_history_ms > 0; in VideoSendStream()
197 const bool enable_protection_fec = config_.rtp.fec.red_payload_type != -1; in VideoSendStream()
200 config_.rtp.fec.red_payload_type, in VideoSendStream()
201 config_.rtp.fec.ulpfec_payload_type); in VideoSendStream()
[all …]
Dsend_statistics_proxy_unittest.cc26 : fake_clock_(1234), config_(GetTestConfig()), avg_delay_ms_(0), in SendStatisticsProxyTest()
91 VideoSendStream::Config config_; member in webrtc::SendStatisticsProxyTest
101 for (std::vector<uint32_t>::const_iterator it = config_.rtp.ssrcs.begin(); in TEST_F()
102 it != config_.rtp.ssrcs.end(); in TEST_F()
115 for (std::vector<uint32_t>::const_iterator it = config_.rtp.rtx.ssrcs.begin(); in TEST_F()
116 it != config_.rtp.rtx.ssrcs.end(); in TEST_F()
159 for (std::vector<uint32_t>::const_iterator it = config_.rtp.ssrcs.begin(); in TEST_F()
160 it != config_.rtp.ssrcs.end(); in TEST_F()
172 for (std::vector<uint32_t>::const_iterator it = config_.rtp.rtx.ssrcs.begin(); in TEST_F()
173 it != config_.rtp.rtx.ssrcs.end(); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Doptimize_input_output_buffer_alias_test.cc52 config_.ForEachAlias( in AliasCount()
60 config_ = HloInputOutputAliasConfig(output_shape); in BuildAliasConfig()
61 auto changed = optimize_pass_->Build(input_shape, output_shape, &config_); in BuildAliasConfig()
69 HloInputOutputAliasConfig config_; member in xla::OptimizeInputOutputBufferAliasTest
94 EXPECT_EQ(config_.GetAliasedOutput(0, {0}), ShapeIndex{0}); in TEST_F()
95 EXPECT_EQ(config_.GetAliasedOutput(0, {1}), ShapeIndex{1}); in TEST_F()
96 EXPECT_EQ(config_.GetAliasedOutput(0, {2}), ShapeIndex{2}); in TEST_F()
97 EXPECT_EQ(config_.GetAliasedOutput(0, {3}), ShapeIndex{3}); in TEST_F()
110 EXPECT_EQ(config_.GetAliasedOutput(0, {0}), ShapeIndex{0}); in TEST_F()
111 EXPECT_EQ(config_.GetAliasedOutput(0, {2}), ShapeIndex{1}); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/
Daudio_microfrontend_op.cc160 config_.window.size_ms = window_size; in AudioMicrofrontendOp()
164 config_.window.step_size_ms = window_step; in AudioMicrofrontendOp()
167 ctx, ctx->GetAttr("num_channels", &config_.filterbank.num_channels)); in AudioMicrofrontendOp()
169 &config_.filterbank.upper_band_limit)); in AudioMicrofrontendOp()
171 &config_.filterbank.lower_band_limit)); in AudioMicrofrontendOp()
173 &config_.noise_reduction.smoothing_bits)); in AudioMicrofrontendOp()
175 &config_.noise_reduction.even_smoothing)); in AudioMicrofrontendOp()
177 &config_.noise_reduction.odd_smoothing)); in AudioMicrofrontendOp()
180 &config_.noise_reduction.min_signal_remaining)); in AudioMicrofrontendOp()
184 config_.pcan_gain_control.enable_pcan = enable_pcan; in AudioMicrofrontendOp()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor_integrationtest.cc111 webrtc::test::TestConfig config_; member in webrtc::VideoProcessorIntegrationTest
165 config_.input_filename = webrtc::test::ResourcePath("foreman_cif", "yuv"); in SetUpCodecConfig()
168 config_.output_filename = webrtc::test::TempFilename( in SetUpCodecConfig()
170 config_.frame_length_in_bytes = in SetUpCodecConfig()
172 config_.verbose = false; in SetUpCodecConfig()
174 config_.use_single_core = true; in SetUpCodecConfig()
176 config_.keyframe_interval = key_frame_interval_; in SetUpCodecConfig()
177 config_.networking_config.packet_loss_probability = packet_loss_; in SetUpCodecConfig()
180 config_.codec_settings = &codec_settings_; in SetUpCodecConfig()
181 config_.codec_settings->startBitrate = start_bitrate_; in SetUpCodecConfig()
[all …]
Dvideoprocessor.cc53 config_(config), in VideoProcessorImpl()
79 bit_rate_factor_ = config_.codec_settings->maxFramerate * 0.001 * 8; // bits in Init()
87 last_encoder_frame_width_ = config_.codec_settings->width; in Init()
88 last_encoder_frame_height_ = config_.codec_settings->height; in Init()
112 if (!config_.use_single_core) { in Init()
116 encoder_->InitEncode(config_.codec_settings, nbr_of_cores, in Init()
117 config_.networking_config.max_payload_size_in_bytes); in Init()
123 init_result = decoder_->InitDecode(config_.codec_settings, nbr_of_cores); in Init()
130 if (config_.verbose) { in Init()
136 config_.codec_settings->startBitrate); in Init()
[all …]
Dvideoprocessor_unittest.cc40 TestConfig config_; member in webrtc::test::VideoProcessorTest
48 config_.codec_settings = &codec_settings_; in SetUp()
49 config_.codec_settings->startBitrate = 100; in SetUp()
50 config_.codec_settings->width = 352; in SetUp()
51 config_.codec_settings->height = 288; in SetUp()
71 &packet_manipulator_mock_, config_, &stats_); in TEST_F()
83 &packet_manipulator_mock_, config_, &stats_); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc107 static_cast<size_t>(config_.bitrate_bps / (1000 * 8) + 1); in MaxEncodedBytes()
118 return config_.num_channels; in NumChannels()
130 return config_.bitrate_bps; in GetTargetBitrate()
150 rtc::CheckedDivExact(input_buffer_.size(), config_.num_channels), in EncodeInternal()
157 info.payload_type = config_.payload_type; in EncodeInternal()
164 RTC_CHECK(RecreateEncoderInstance(config_)); in Reset()
168 auto conf = config_; in SetFec()
174 auto conf = config_; in SetDtx()
180 auto conf = config_; in SetApplication()
193 auto conf = config_; in SetMaxPlaybackRate()
[all …]
/external/webrtc/talk/app/webrtc/
Ddatachannel.cc182 config_ = config; in Init()
184 switch (config_.open_handshake_role) { in Init()
228 return config_.maxRetransmits == -1 && in reliable()
229 config_.maxRetransmitTime == -1; in reliable()
296 ASSERT(config_.id < 0 && sid >= 0 && data_channel_type_ == cricket::DCT_SCTP); in SetSctpSid()
297 if (config_.id == sid) { in SetSctpSid()
301 config_.id = sid; in SetSctpSid()
312 if (config_.id >= 0) { in OnTransportChannelCreated()
313 provider_->AddSctpDataStream(config_.id); in OnTransportChannelCreated()
346 (data_channel_type_ == cricket::DCT_RTP) ? receive_ssrc_ : config_.id; in OnDataReceived()
[all …]
/external/webrtc/webrtc/test/
Dfake_encoder.cc43 config_ = *config; in InitEncode()
44 target_bitrate_kbps_ = config_.startBitrate; in InitEncode()
51 assert(config_.maxFramerate > 0); in Encode()
52 int64_t time_since_last_encode_ms = 1000 / config_.maxFramerate; in Encode()
60 if (time_since_last_encode_ms > 3 * 1000 / config_.maxFramerate) { in Encode()
63 time_since_last_encode_ms = 3 * 1000 / config_.maxFramerate; in Encode()
69 config_.simulcastStream[0].minBitrate * time_since_last_encode_ms); in Encode()
78 assert(config_.numberOfSimulcastStreams > 0); in Encode()
79 for (unsigned char i = 0; i < config_.numberOfSimulcastStreams; ++i) { in Encode()
85 config_.simulcastStream[i].minBitrate * time_since_last_encode_ms); in Encode()
[all …]
/external/webrtc/talk/media/webrtc/
Dfakewebrtccall.cc40 const webrtc::AudioSendStream::Config& config) : config_(config) { in FakeAudioSendStream()
46 return config_; in GetConfig()
73 : config_(config), received_packets_(0) { in FakeAudioReceiveStream()
79 return config_; in GetConfig()
104 config_(config), in FakeVideoSendStream()
112 return config_; in GetConfig()
183 if (config_.encoder_settings.payload_name == "VP8") { in ReconfigureVideoEncoder()
186 } else if (config_.encoder_settings.payload_name == "VP9") { in ReconfigureVideoEncoder()
191 << config_.encoder_settings.payload_name; in ReconfigureVideoEncoder()
212 : config_(config), receiving_(false) { in FakeVideoReceiveStream()
[all …]
/external/autotest/client/site_tests/security_Libcontainer/src/
Dlibcontainer_target_unittest.cc72 config_ = container_config_create(); in SetUp()
73 ASSERT_NE(nullptr, config_); in SetUp()
75 ASSERT_EQ(0, container_config_uid_map(config_, "0 0 429496729")); in SetUp()
76 ASSERT_EQ(0, container_config_gid_map(config_, "0 0 429496729")); in SetUp()
77 ASSERT_EQ(0, container_config_rootfs(config_, "/")); in SetUp()
79 config_, "chronos_containers", 1000, 1000)); in SetUp()
88 container_config_destroy(config_); in TearDown()
89 config_ = nullptr; in TearDown()
97 return config_; in config()
103 struct container_config* config_ = nullptr; member in libcontainer::LibcontainerTargetTest

12345