/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
D | perf.c | 28 __PERF_LOG_create(PERF_Private *perf, PERF_Config *config, 75 __PERF_common_Create(PERF_Config *config, in __PERF_common_Create() argument 82 if ((config->mask & eModule & ~PERF_ModuleMask) && in __PERF_common_Create() 83 (config->mask & (1 << (eModule & PERF_ModuleMask)))) in __PERF_common_Create() 109 if (config->trace_file) in __PERF_common_Create() 111 __PERF_LOG_create(me, config, eModule); in __PERF_common_Create() 115 __PERF_CUSTOM_create(hPERF, config, eModule); in __PERF_common_Create() 142 PERF_Config config; in PERF_Create() local 143 PERF_Config_Init(&config); in PERF_Create() 144 PERF_Config_Read(&config, tag); in PERF_Create() [all …]
|
D | perf_custom.c | 352 __PERF_CUSTOM_create(PERF_OBJHANDLE hObject, PERF_Config *config, in __PERF_CUSTOM_create() argument 363 if (config->replay_file) in __PERF_CUSTOM_create() 367 if (config->log_file) free(config->log_file); in __PERF_CUSTOM_create() 368 config->log_file = config->replay_file; in __PERF_CUSTOM_create() 369 config->replay_file = NULL; in __PERF_CUSTOM_create() 378 if (config->log_file || config->debug || config->detailed_debug) in __PERF_CUSTOM_create() 381 if (!PERF_PRINT_create(me, config, eModule)) in __PERF_CUSTOM_create() 389 if (config->realtime) in __PERF_CUSTOM_create() 392 PERF_RT_create(me, config, eModule); in __PERF_CUSTOM_create()
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
D | AnnPlaneManager.cpp | 169 bool AnnPlaneManager::isValidZOrder(int dsp, ZOrderConfig& config) in isValidZOrder() argument 171 int size = (int)config.size(); in isValidZOrder() 181 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in isValidZOrder() 189 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder() 190 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder() 209 if (config[i]->planeType != DisplayPlane::PLANE_OVERLAY && in isValidZOrder() 210 config[i]->planeType != DisplayPlane::PLANE_CURSOR) { in isValidZOrder() 225 bool AnnPlaneManager::assignPlanes(int dsp, ZOrderConfig& config) in assignPlanes() argument 232 int size = (int)config.size(); in assignPlanes() 237 if (config[i]->planeType == DisplayPlane::PLANE_OVERLAY) { in assignPlanes() [all …]
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | audio_parser.c | 565 struct audio_specific_config_s config; in audio_specific_config_parse() local 573 config.h0 = *(p + 1); in audio_specific_config_parse() 574 config.h1 = *(p + 0); in audio_specific_config_parse() 576 *aot = config.object_type; in audio_specific_config_parse() 577 *frequency = frequency_table[config.frequency_index]; in audio_specific_config_parse() 578 *channel = config.channel_config; in audio_specific_config_parse() 581 LOGV(" aot: 0x%x, %s\n", config.object_type, in audio_specific_config_parse() 582 aot_string[config.object_type]); in audio_specific_config_parse() 583 LOGV(" frequency: 0x%x, %u\n", config.frequency_index, in audio_specific_config_parse() 584 frequency_table[config.frequency_index]); in audio_specific_config_parse() [all …]
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | compass.c | 419 struct ext_slave_config config; in inv_compass_write_reg() local 426 config.key = MPU_SLAVE_WRITE_REGISTERS; in inv_compass_write_reg() 427 config.len = 2; in inv_compass_write_reg() 428 config.apply = TRUE; in inv_compass_write_reg() 429 config.data = data; in inv_compass_write_reg() 433 inv_get_serial_handle(), &config); in inv_compass_write_reg() 453 struct ext_slave_config config; in inv_compass_read_reg() local 459 config.key = MPU_SLAVE_READ_REGISTERS; in inv_compass_read_reg() 460 config.len = 2; in inv_compass_read_reg() 461 config.apply = TRUE; in inv_compass_read_reg() [all …]
|
D | dmpDefault.c | 362 struct ext_slave_config config; in inv_setup_dmp() local 364 config.key = MPU_SLAVE_CONFIG_ODR_SUSPEND; in inv_setup_dmp() 365 config.len = sizeof(long); in inv_setup_dmp() 366 config.apply = FALSE; in inv_setup_dmp() 367 config.data = &odr; in inv_setup_dmp() 373 &config); in inv_setup_dmp() 378 config.key = MPU_SLAVE_CONFIG_ODR_RESUME; in inv_setup_dmp() 383 &config); in inv_setup_dmp() 388 config.key = MPU_SLAVE_CONFIG_IRQ_SUSPEND; in inv_setup_dmp() 393 &config); in inv_setup_dmp() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 147 submix_config config; member 350 const struct audio_config * const config, in audio_config_compare() argument 363 rsxadev->config.input_channel_mask = config->channel_mask; in audio_config_compare() 365 rsxadev->config.input_sample_rate = config->sample_rate; in audio_config_compare() 369 rsxadev->config.output_sample_rate = 48000; in audio_config_compare() 375 rsxadev->config.output_channel_mask = config->channel_mask; in audio_config_compare() 377 rsxadev->config.output_sample_rate = config->sample_rate; in audio_config_compare() 382 struct submix_config * const device_config = &rsxadev->config; in audio_config_compare() 385 channel_count = audio_channel_count_from_out_mask(config->channel_mask); in audio_config_compare() 387 channel_count = audio_channel_count_from_in_mask(config->channel_mask); in audio_config_compare() [all …]
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | perf_unittest.c | 331 PERF_Config config; in test_PERF_config() local 333 PERF_Config_Init(&config); in test_PERF_config() 347 PERF_Config_Read(&config, 0); in test_PERF_config() 348 assert(config.mask == 0xFFFFFFFF); in test_PERF_config() 349 assert(config.detailed_debug = 0x1234567A); in test_PERF_config() 350 assert(config.debug = 0xFFFFFFFF); in test_PERF_config() 351 assert(config.buffer_size = 0xFFFFFFFE); in test_PERF_config() 352 assert(config.csv); in test_PERF_config() 353 assert(config.delayed_open); in test_PERF_config() 354 assert(!strcmp(config.log_file, "string1 string2")); in test_PERF_config() [all …]
|
/hardware/libhardware/modules/usbaudio/ |
D | alsa_device_proxy.c | 31 struct pcm_config * config) in proxy_prepare() argument 38 log_pcm_config(config, "proxy_setup()"); in proxy_prepare() 42 config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format) in proxy_prepare() 43 ? config->format : profile->default_config.format; in proxy_prepare() 45 config->rate != 0 && profile_is_sample_rate_valid(profile, config->rate) in proxy_prepare() 46 ? config->rate : profile->default_config.rate; in proxy_prepare() 48 config->channels != 0 && profile_is_channel_count_valid(profile, config->channels) in proxy_prepare() 49 ? config->channels : profile->default_config.channels; in proxy_prepare()
|
D | logging.c | 103 void log_pcm_config(struct pcm_config * config, const char* label) { in log_pcm_config() argument 105 ALOGV(" channels:%d", config->channels); in log_pcm_config() 106 ALOGV(" rate:%d", config->rate); in log_pcm_config() 107 ALOGV(" period_size:%d", config->period_size); in log_pcm_config() 108 ALOGV(" period_count:%d", config->period_count); in log_pcm_config() 109 ALOGV(" format:%d", config->format); in log_pcm_config()
|
D | audio_hw.c | 479 struct audio_config *config, in adev_open_output_stream() argument 525 if (config->sample_rate == 0) { in adev_open_output_stream() 526 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); in adev_open_output_stream() 527 } else if (profile_is_sample_rate_valid(out->profile, config->sample_rate)) { in adev_open_output_stream() 528 proxy_config.rate = config->sample_rate; in adev_open_output_stream() 530 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile); in adev_open_output_stream() 535 if (config->format == AUDIO_FORMAT_DEFAULT) { in adev_open_output_stream() 537 config->format = audio_format_from_pcm_format(proxy_config.format); in adev_open_output_stream() 539 enum pcm_format fmt = pcm_format_from_audio_format(config->format); in adev_open_output_stream() 544 config->format = audio_format_from_pcm_format(proxy_config.format); in adev_open_output_stream() [all …]
|
/hardware/qcom/audio/post_proc/ |
D | virtualizer.c | 194 context->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in virtualizer_init() 195 context->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in virtualizer_init() 196 context->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in virtualizer_init() 197 context->config.inputCfg.samplingRate = 44100; in virtualizer_init() 198 context->config.inputCfg.bufferProvider.getBuffer = NULL; in virtualizer_init() 199 context->config.inputCfg.bufferProvider.releaseBuffer = NULL; in virtualizer_init() 200 context->config.inputCfg.bufferProvider.cookie = NULL; in virtualizer_init() 201 context->config.inputCfg.mask = EFFECT_CONFIG_ALL; in virtualizer_init() 202 context->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in virtualizer_init() 203 context->config.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in virtualizer_init() [all …]
|
D | bass_boost.c | 194 context->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in bassboost_init() 195 context->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in bassboost_init() 196 context->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in bassboost_init() 197 context->config.inputCfg.samplingRate = 44100; in bassboost_init() 198 context->config.inputCfg.bufferProvider.getBuffer = NULL; in bassboost_init() 199 context->config.inputCfg.bufferProvider.releaseBuffer = NULL; in bassboost_init() 200 context->config.inputCfg.bufferProvider.cookie = NULL; in bassboost_init() 201 context->config.inputCfg.mask = EFFECT_CONFIG_ALL; in bassboost_init() 202 context->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in bassboost_init() 203 context->config.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in bassboost_init() [all …]
|
D | equalizer.c | 430 context->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in equalizer_init() 431 context->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in equalizer_init() 432 context->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in equalizer_init() 433 context->config.inputCfg.samplingRate = 44100; in equalizer_init() 434 context->config.inputCfg.bufferProvider.getBuffer = NULL; in equalizer_init() 435 context->config.inputCfg.bufferProvider.releaseBuffer = NULL; in equalizer_init() 436 context->config.inputCfg.bufferProvider.cookie = NULL; in equalizer_init() 437 context->config.inputCfg.mask = EFFECT_CONFIG_ALL; in equalizer_init() 438 context->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in equalizer_init() 439 context->config.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in equalizer_init() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | vpxenc.c | 618 struct stream_config config; member 824 &stream->config.cfg, in new_stream() 832 stream->config.cfg.g_timebase.den = 1000; in new_stream() 837 stream->config.cfg.g_w = 0; in new_stream() 838 stream->config.cfg.g_h = 0; in new_stream() 841 stream->config.stereo_fmt = STEREO_FORMAT_MONO; in new_stream() 842 stream->config.write_webm = 1; in new_stream() 852 stream->config.cfg.g_lag_in_frames = 0; in new_stream() 856 stream->config.out_fn = NULL; in new_stream() 870 struct stream_config *config = &stream->config; in parse_stream_params() local [all …]
|
/hardware/intel/img/psb_video/ |
D | .gitignore | 17 config.h 18 config.h.in 22 config.guess 23 config.log 24 config.status 25 config.sub
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
D | gen_msvs_sln.sh | 144 for config in ${config_list}; do 145 echo "${indent}$config = $config" 160 for config in ${proj_config_list}; do 162 local c=${config%%|*} 163 echo "${indent}${proj_guid}.${c}|Mixed Platforms.ActiveCfg = ${config}" 164 echo "${indent}${proj_guid}.${c}|Mixed Platforms.Build.0 = ${config}" 166 echo "${indent}${proj_guid}.${config}.ActiveCfg = ${config}" 167 echo "${indent}${proj_guid}.${config}.Build.0 = ${config}" 215 local config=${sln_config%%|*} 221 ${TAB}rm -rf "$platform"/"$config" [all …]
|
/hardware/qcom/audio/voice_processing/ |
D | voice_processing.c | 68 effect_config_t config; member 294 session->config.inputCfg.samplingRate = 16000; in session_create_effect() 295 session->config.inputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect() 296 session->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect() 297 session->config.outputCfg.samplingRate = 16000; in session_create_effect() 298 session->config.outputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect() 299 session->config.outputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect() 332 static int session_set_config(struct session_s *session, effect_config_t *config) in session_set_config() argument 336 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in session_set_config() 337 config->inputCfg.format != config->outputCfg.format || in session_set_config() [all …]
|
/hardware/intel/img/hwcomposer/common/devices/ |
D | PhysicalDevice.cpp | 206 bool PhysicalDevice::getDisplayAttributes(uint32_t config, in getDisplayAttributes() argument 224 DisplayConfig *configChosen = mDisplayConfigs.itemAt(config); in getDisplayAttributes() 273 DisplayConfig *config = mDisplayConfigs.itemAt(i); in removeDisplayConfigs() local 274 delete config; in removeDisplayConfigs() 340 DisplayConfig *config = new DisplayConfig(mode.vrefresh, in updateDisplayConfigs() local 345 mDisplayConfigs.push_front(config); in updateDisplayConfigs() 367 DisplayConfig *config = mDisplayConfigs.itemAt(j); in updateDisplayConfigs() local 368 if (config->getRefreshRate() == (int)compatMode->vrefresh) { in updateDisplayConfigs() 378 DisplayConfig *config = new DisplayConfig(compatMode->vrefresh, in updateDisplayConfigs() local 383 mDisplayConfigs.push_back(config); in updateDisplayConfigs() [all …]
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 723 __func__, adev->snd_card, in->pcm_device_id, in->config.channels); in start_input_stream() 735 flags, &in->config); in start_input_stream() 1048 check_and_set_hdmi_channels(adev, out->config.channels); in start_output_stream() 1057 __func__, adev->snd_card, out->pcm_device_id, out->config.format); in start_output_stream() 1069 flags, &out->config); in start_output_stream() 1185 return out->config.period_size * in out_get_buffer_size() 1416 return (out->config.period_count * out->config.period_size * 1000) / in out_get_latency() 1417 (out->config.rate); in out_get_latency() 1508 out->written += bytes / (out->config.channels * sizeof(short)); in out_write() 1586 size_t kernel_buffer_size = out->config.period_size * out->config.period_count; in out_get_presentation_position() [all …]
|
/hardware/intel/common/libva/ |
D | .gitignore | 17 config.guess 18 config.h 19 config.h.in 20 config.log 21 config.status 22 config.sub
|
/hardware/intel/common/libva/test/basic/ |
D | test_10.c | 29 VAConfigID config; variable 38 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, NULL, 0, &config); in pre() 40 status("vaCreateConfig returns %08x\n", config); in pre() 53 status("vaCreateContext with config %08x\n", config); in pre() 55 …va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &conte… in pre() 130 status("vaDestroyConfig for config %08x\n", config); in post() 131 va_status = vaDestroyConfig( va_dpy, config ); in post()
|
D | test_11.c | 29 VAConfigID config; variable 38 va_status = vaCreateConfig(va_dpy, VAProfileMPEG2Main, VAEntrypointVLD, NULL, 0, &config); in pre() 40 status("vaCreateConfig returns %08x\n", config); in pre() 53 status("vaCreateContext with config %08x\n", config); in pre() 55 …va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &conte… in pre() 169 status("vaDestroyConfig for config %08x\n", config); in post() 170 va_status = vaDestroyConfig( va_dpy, config ); in post()
|
/hardware/ti/omap3/omx/core_plugin/omx_core_plugin/ |
D | Android.mk | 17 $(PV_TOP)/engines/player/config/android \ 20 $(PV_TOP)/nodes/pvdownloadmanagernode/config/opencore \ 22 $(PV_TOP)/fileformats/mp4/parser/config/opencore \ 23 $(PV_TOP)/oscl/oscl/config/android \ 24 $(PV_TOP)/oscl/oscl/config/shared \
|
/hardware/qcom/audio/visualizer/ |
D | offload_visualizer.c | 64 effect_config_t config; member 516 int set_config(effect_context_t *context, effect_config_t *config) in set_config() argument 518 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config() 519 if (config->inputCfg.channels != config->outputCfg.channels) return -EINVAL; in set_config() 520 if (config->inputCfg.format != config->outputCfg.format) return -EINVAL; in set_config() 521 if (config->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL; in set_config() 522 if (config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in set_config() 523 config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in set_config() 524 if (config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL; in set_config() 526 context->config = *config; in set_config() [all …]
|