Home
last modified time | relevance | path

Searched refs:input_config (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp333 Json::Value input_config; in TFliteInitialize() local
334 if (!GetInputConfig(&input_config)) { in TFliteInitialize()
339 if (!ParseInputConfig(input_config)) { in TFliteInitialize()
734 bool VirtualTempEstimator::ParseInputConfig(const Json::Value &input_config) { in ParseInputConfig() argument
735 if (!input_config["ModelConfig"].empty()) { in ParseInputConfig()
736 if (!input_config["ModelConfig"]["sample_interval_ms"].empty()) { in ParseInputConfig()
738 int sample_interval_ms = input_config["ModelConfig"]["sample_interval_ms"].asInt(); in ParseInputConfig()
755 if (!input_config["ModelConfig"]["max_sample_interval_ms"].empty()) { in ParseInputConfig()
758 input_config["ModelConfig"]["max_sample_interval_ms"].asInt(); in ParseInputConfig()
771 if (!input_config["InputData"].empty()) { in ParseInputConfig()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp317 static bool audio_config_compare(const audio_config * const input_config, in audio_config_compare() argument
320 const uint32_t input_channels = audio_channel_count_from_in_mask(input_config->channel_mask); in audio_config_compare()
328 if (input_config->sample_rate != output_config->sample_rate) { in audio_config_compare()
330 input_config->sample_rate, output_config->sample_rate); in audio_config_compare()
333 if (input_config->format != output_config->format) { in audio_config_compare()
335 input_config->format, output_config->format); in audio_config_compare()
527 const audio_config * const input_config = opening_input ? config : &pipe_config; in submix_open_validate_l() local
533 if (!audio_config_compare(input_config, output_config)) { in submix_open_validate_l()