/hardware/libhardware/modules/usbaudio/ |
D | alsa_device_profile.c | 61 void profile_init(alsa_device_profile* profile, int direction) in profile_init() argument 63 profile->card = profile->device = -1; in profile_init() 64 profile->direction = direction; in profile_init() 68 for (index = 0; index < ARRAY_SIZE(profile->formats); index++) { in profile_init() 69 profile->formats[index] = PCM_FORMAT_INVALID; in profile_init() 72 for (index = 0; index < ARRAY_SIZE(profile->sample_rates); index++) { in profile_init() 73 profile->sample_rates[index] = 0; in profile_init() 76 for (index = 0; index < ARRAY_SIZE(profile->channel_counts); index++) { in profile_init() 77 profile->channel_counts[index] = 0; in profile_init() 80 profile->min_period_size = profile->max_period_size = 0; in profile_init() [all …]
|
D | alsa_device_profile.h | 61 void profile_init(alsa_device_profile* profile, int direction); 62 bool profile_is_initialized(alsa_device_profile* profile); 63 bool profile_is_valid(alsa_device_profile* profile); 64 bool profile_is_cached_for(alsa_device_profile* profile, int card, int device); 65 void profile_decache(alsa_device_profile* profile); 67 bool profile_read_device_info(alsa_device_profile* profile); 70 char * profile_get_sample_rate_strs(alsa_device_profile* profile); 71 char * profile_get_format_strs(alsa_device_profile* profile); 72 char * profile_get_channel_count_strs(alsa_device_profile* profile); 75 unsigned profile_get_default_sample_rate(alsa_device_profile* profile); [all …]
|
D | alsa_device_proxy.c | 30 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile* profile, in proxy_prepare() argument 35 proxy->profile = profile; 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() 51 proxy->alsa_config.period_count = profile->default_config.period_count; in proxy_prepare() 53 profile_get_period_size(proxy->profile, proxy->alsa_config.rate); in proxy_prepare() [all …]
|
D | audio_hw.c | 82 alsa_device_profile * profile; member 104 alsa_device_profile * profile; member 185 static char * device_get_parameters(alsa_device_profile * profile, const char * keys) in device_get_parameters() argument 189 if (profile->card < 0 || profile->device < 0) { in device_get_parameters() 199 char* rates_list = profile_get_sample_rate_strs(profile); in device_get_parameters() 207 char* channels_list = profile_get_channel_count_strs(profile); in device_get_parameters() 215 char * format_params = profile_get_format_strs(profile); in device_get_parameters() 331 if (card >= 0 && device >= 0 && !profile_is_cached_for(out->profile, card, device)) { in out_set_parameters() 336 int saved_card = out->profile->card; in out_set_parameters() 337 int saved_device = out->profile->device; in out_set_parameters() [all …]
|
D | alsa_device_proxy.h | 25 alsa_device_profile* profile; member 32 void proxy_prepare(alsa_device_proxy * proxy, alsa_device_profile * profile,
|
/hardware/intel/common/libva/test/basic/ |
D | test_common.c | 88 #define PROFILE(profile) case VAProfile##profile: return("VAProfile" #profile); argument 90 const char *profile2string(VAProfile profile) in profile2string() argument 92 switch(profile) in profile2string() 118 #define ENTRYPOINT(profile) case VAEntrypoint##profile: return("VAEntrypoint" #profile); argument
|
D | test_06.c | 87 VAProfile profile= -1; in test() local 94 …va_status = vaQueryConfigAttributes(va_dpy, configs[config_count], &profile, &entrypoint, attrib_l… in test() 97 ASSERT( profile == profiles[i] ); in test()
|
D | testplan.txt | 19 - Create & destroy config for each profile / entrypoint 26 a given profile / entrypoint 42 - Create and destroy a context for each profile / entrypoint
|
/hardware/libhardware_legacy/audio/ |
D | AudioPolicyManagerBase.cpp | 505 IOProfile *profile = mHwModules[i]->mOutputProfiles[j]; in getProfileForDirectOutput() local 507 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput() 510 if (mAvailableOutputDevices & profile->mSupportedDevices) { in getProfileForDirectOutput() 515 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput() 518 if (mAvailableOutputDevices & profile->mSupportedDevices) { in getProfileForDirectOutput() 589 IOProfile *profile = NULL; in getOutput() local 592 profile = getProfileForDirectOutput(device, in getOutput() 599 if (profile != NULL) { in getOutput() 604 if (!desc->isDuplicated() && (profile == desc->mProfile)) { in getOutput() 620 outputDesc = new AudioOutputDescriptor(profile); in getOutput() [all …]
|
/hardware/intel/common/libva/test/vainfo/ |
D | vainfo.c | 39 static char * profile_string(VAProfile profile) in profile_string() argument 41 switch (profile) { in profile_string() 92 VAProfile profile, *profile_list = NULL; in main() local 135 profile = profile_list[i]; in main() 136 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, in main() 143 profile_str = profile_string(profile); in main()
|
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 101 int (*codec_open) (struct adie_codec_dev_profile *profile, 108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile, 128 int adie_codec_open(struct adie_codec_dev_profile *profile, 134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 101 int (*codec_open) (struct adie_codec_dev_profile *profile, 108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile, 128 int adie_codec_open(struct adie_codec_dev_profile *profile, 134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 101 int (*codec_open) (struct adie_codec_dev_profile *profile, 108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile, 128 int adie_codec_open(struct adie_codec_dev_profile *profile, 134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 281 codec_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE; in venc_open() 290 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open() 299 codec_profile.profile = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE; in venc_open() 1192 __func__, codec_profile.profile, profile_level.level); in venc_start() 1197 if((codec_profile.profile == V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE) || in venc_start() 1198 (codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE) || in venc_start() 1199 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start() 1364 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print() 1736 if((codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_MAIN) || in venc_set_session_qp() 1737 (codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_HIGH)) in venc_set_session_qp() [all …]
|
D | video_encoder_device.cpp | 254 codec_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_open() 263 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open() 272 codec_profile.profile = VEN_PROFILE_H264_BASELINE; in venc_open() 1177 __func__, codec_profile.profile, profile_level.level); in venc_start() 1190 if((codec_profile.profile == VEN_PROFILE_MPEG4_SP) || in venc_start() 1191 (codec_profile.profile == VEN_PROFILE_H264_BASELINE) || in venc_start() 1192 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start() 1411 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print() 1881 requested_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_set_profile_level() 1888 requested_profile.profile = VEN_PROFILE_MPEG4_ASP; in venc_set_profile_level() [all …]
|
/hardware/intel/common/libva/va/ |
D | va_fool.c | 172 VAProfile profile, in va_FoolCreateConfig() argument 194 if (((profile == VAProfileH264Baseline || in va_FoolCreateConfig() 195 profile == VAProfileH264Main || in va_FoolCreateConfig() 196 profile == VAProfileH264High || in va_FoolCreateConfig() 197 profile == VAProfileH264ConstrainedBaseline)) && in va_FoolCreateConfig() 202 if ((profile == VAProfileVP8Version0_3) && in va_FoolCreateConfig()
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.c | 125 …profile < PSB_MAX_PROFILES) && (entrypoint < PSB_MAX_ENTRYPOINTS)) ? (profile == VAProfileNone? dr… 128 …profile < PSB_MAX_PROFILES) && (entrypoint < PSB_MAX_ENTRYPOINTS)) ? (profile == VAProfileNone? dr… 199 VAProfile profile, in psb_QueryConfigEntrypoints() argument 211 CHECK_INVALID_PARAM((num_entrypoints == NULL) || (profile >= PSB_MAX_PROFILES)); in psb_QueryConfigEntrypoints() 216 if (profile == VAProfileNone && driver_data->vpp_profile && in psb_QueryConfigEntrypoints() 223 if (profile != VAProfileNone && driver_data->profile2Format[profile][i]) { in psb_QueryConfigEntrypoints() 245 …_unsupported_profile_entrypoint(psb_driver_data_p driver_data, VAProfile profile, VAEntrypoint __m… in psb__error_unsupported_profile_entrypoint() argument 248 if (profile < PSB_MAX_PROFILES) { in psb__error_unsupported_profile_entrypoint() 252 if (profile == VAProfileNone) in psb__error_unsupported_profile_entrypoint() 256 if (driver_data->profile2Format[profile][i]) { in psb__error_unsupported_profile_entrypoint() [all …]
|
D | psb_buffer.c | 491 #define PROFILE_H264(profile) ((profile>=VAProfileH264Baseline && profile <=VAProfileH264High) || \ argument 492 (profile == VAProfileH264ConstrainedBaseline)) 517 if (PROFILE_H264(obj_context->profile) && (tmp % 16 != 0)) { in tng_get_coded_data() 545 if (PROFILE_H264(obj_context->profile) && (tmp % 16 != 0)) { in tng_get_coded_data() 616 if (VAProfileJPEGBaseline != obj_config->profile in psb_codedbuf_map_mangle() 621 switch (obj_config->profile) { in psb_codedbuf_map_mangle() 728 if (VAProfileJPEGBaseline != obj_config->profile in psb_codedbuf_map_mangle() 733 switch (obj_config->profile) { in psb_codedbuf_map_mangle()
|
D | pnw_MPEG4ES.c | 53 VAProfile __maybe_unused profile, in pnw_MPEG4ES_QueryConfigAttributes() argument 149 switch (obj_config->profile) { in pnw_MPEG4ES_CreateContext() 191 MPEG4_PROFILE_TYPE profile; in pnw__MPEG4ES_process_sequence_param() local 274 profile = SP; in pnw__MPEG4ES_process_sequence_param() 277 profile = ASP; in pnw__MPEG4ES_process_sequence_param() 280 profile = SP; in pnw__MPEG4ES_process_sequence_param() 293 profile, /* sProfile */ in pnw__MPEG4ES_process_sequence_param()
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 364 codec_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_open() 368 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open() 374 codec_profile.profile = VEN_PROFILE_H264_BASELINE; in venc_open() 1377 __func__, codec_profile.profile, profile_level.level); in venc_start() 1390 if ((codec_profile.profile == VEN_PROFILE_MPEG4_SP) || in venc_start() 1391 (codec_profile.profile == VEN_PROFILE_H264_BASELINE) || in venc_start() 1392 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start() 1619 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print() 2123 requested_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_set_profile_level() 2128 requested_profile.profile = VEN_PROFILE_MPEG4_ASP; in venc_set_profile_level() [all …]
|
D | video_encoder_device_v4l2.cpp | 799 codec_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE; in venc_open() 805 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open() 811 codec_profile.profile = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE; in venc_open() 817 codec_profile.profile = V4L2_MPEG_VIDC_VIDEO_VP8_UNUSED; in venc_open() 2031 __func__, codec_profile.profile, profile_level.level); in venc_start() 2076 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print() 2737 if ((codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_MAIN) || in venc_set_session_qp() 2738 (codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_HIGH)) { in venc_set_session_qp() 2829 requested_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE; in venc_set_profile_level() 2831 requested_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_SIMPLE; in venc_set_profile_level() [all …]
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
D | intel_video_config_parser.cpp | 93 aOutputs->profile = (uint32)profile_level; // for mp4, profile/level info is packed in intel_video_config_parser() 102 aOutputs->profile = 0; in intel_video_config_parser() 153 aOutputs->profile = (uint32)profile_idc; in intel_video_config_parser() 232 aOutputs->profile = NewProfile; in intel_video_config_parser()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_MPEG4ES.c | 54 VAProfile profile, in lnc_MPEG4ES_QueryConfigAttributes() argument 157 switch (obj_config->profile) { in lnc_MPEG4ES_CreateContext() 199 MPEG4_PROFILE_TYPE profile; in lnc__MPEG4ES_process_sequence_param() local 242 profile = SP; in lnc__MPEG4ES_process_sequence_param() 245 profile = ASP; in lnc__MPEG4ES_process_sequence_param() 248 profile = SP; in lnc__MPEG4ES_process_sequence_param() 255 profile, /* sProfile */ in lnc__MPEG4ES_process_sequence_param()
|
/hardware/qcom/msm8960/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 80 int (*codec_open) (struct adie_codec_dev_profile *profile, 89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
|
/hardware/qcom/msm8x84/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 80 int (*codec_open) (struct adie_codec_dev_profile *profile, 89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
|