Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 176) sorted by relevance

12345678

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c90 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ member
115 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ member
174 static char * device_get_parameters(alsa_device_profile * profile, const char * keys) in device_get_parameters() argument
176 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
186 char* rates_list = profile_get_sample_rate_strs(profile); in device_get_parameters()
194 char* channels_list = profile_get_channel_count_strs(profile); in device_get_parameters()
202 char * format_params = profile_get_format_strs(profile); in device_get_parameters()
325 if (!profile_is_cached_for(out->profile, card, device)) { in out_set_parameters()
330 int saved_card = out->profile->card; in out_set_parameters()
331 int saved_device = out->profile->device; in out_set_parameters()
[all …]
/hardware/bsp/intel/peripheral/audio/generic/
Daudio_hal.c103 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ member
128 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ member
282 static char * device_get_parameters(alsa_device_profile * profile, const char * keys) in device_get_parameters() argument
284 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
294 char* rates_list = profile_get_sample_rate_strs(profile); in device_get_parameters()
302 char* channels_list = profile_get_channel_count_strs(profile); in device_get_parameters()
310 char * format_params = profile_get_format_strs(profile); in device_get_parameters()
432 if (!profile_is_cached_for(out->profile, card, device)) { in out_set_parameters()
437 int saved_card = out->profile->card; in out_set_parameters()
438 int saved_device = out->profile->device; in out_set_parameters()
[all …]
/hardware/intel/common/libva/test/basic/
Dtest_common.c88 #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
Dtest_06.c87 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()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp515 IOProfile *profile = mHwModules[i]->mOutputProfiles[j]; in getProfileForDirectOutput() local
517 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput()
520 if (mAvailableOutputDevices & profile->mSupportedDevices) { in getProfileForDirectOutput()
525 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput()
528 if (mAvailableOutputDevices & profile->mSupportedDevices) { in getProfileForDirectOutput()
599 IOProfile *profile = NULL; in getOutput() local
602 profile = getProfileForDirectOutput(device, in getOutput()
609 if (profile != NULL) { in getOutput()
614 if (!desc->isDuplicated() && (profile == desc->mProfile)) { in getOutput()
630 outputDesc = new AudioOutputDescriptor(profile); in getOutput()
[all …]
/hardware/intel/common/libva/test/vainfo/
Dvainfo.c39 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/msm8x26/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 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/msm8960/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 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/msm8996/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 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/
Dmsm-adie-codec.h101 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/msm8994/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 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/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp281 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 …]
Dvideo_encoder_device.cpp254 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/libmix/mix_video/src/
Dmixvideoconfigparamsenc.c61 self->profile = MIX_PROFILE_H264BASELINE; in mix_videoconfigparamsenc_init()
181 this_target->profile = this_src->profile; in mix_videoconfigparamsenc_copy()
316 if (this_first->profile != this_second->profile) { in mix_videoconfigparamsenc_equal()
676 MixProfile profile) { in mix_videoconfigparamsenc_set_profile() argument
678 obj->profile = profile; in mix_videoconfigparamsenc_set_profile()
683 MixProfile * profile) { in mix_videoconfigparamsenc_get_profile() argument
684 MIX_VIDEOCONFIGPARAMSENC_GETTER_CHECK_INPUT (obj, profile); in mix_videoconfigparamsenc_get_profile()
685 *profile = obj->profile; in mix_videoconfigparamsenc_get_profile()
/hardware/intel/common/libva/va/
Dva_fool.c172 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/
Dpsb_drv_video.c129profile < PSB_MAX_PROFILES) && (entrypoint < PSB_MAX_ENTRYPOINTS)) ? (profile == VAProfileNone? dr…
132profile < PSB_MAX_PROFILES) && (entrypoint < PSB_MAX_ENTRYPOINTS)) ? (profile == VAProfileNone? dr…
203 VAProfile profile, in psb_QueryConfigEntrypoints() argument
215 CHECK_INVALID_PARAM((num_entrypoints == NULL) || (profile >= PSB_MAX_PROFILES)); in psb_QueryConfigEntrypoints()
220 if (profile == VAProfileNone && driver_data->vpp_profile && in psb_QueryConfigEntrypoints()
227 if (profile != VAProfileNone && driver_data->profile2Format[profile][i]) { in psb_QueryConfigEntrypoints()
249 …_unsupported_profile_entrypoint(psb_driver_data_p driver_data, VAProfile profile, VAEntrypoint __m… in psb__error_unsupported_profile_entrypoint() argument
252 if (profile < PSB_MAX_PROFILES) { in psb__error_unsupported_profile_entrypoint()
256 if (profile == VAProfileNone) in psb__error_unsupported_profile_entrypoint()
260 if (driver_data->profile2Format[profile][i]) { in psb__error_unsupported_profile_entrypoint()
[all …]
Dpsb_buffer.c493 #define PROFILE_H264(profile) ((profile>=VAProfileH264Baseline && profile <=VAProfileH264High) || \ argument
494 (profile == VAProfileH264ConstrainedBaseline))
519 if (PROFILE_H264(obj_context->profile) && (tmp % 16 != 0)) { in tng_get_coded_data()
547 if (PROFILE_H264(obj_context->profile) && (tmp % 16 != 0)) { in tng_get_coded_data()
618 if (VAProfileJPEGBaseline != obj_config->profile in psb_codedbuf_map_mangle()
623 switch (obj_config->profile) { in psb_codedbuf_map_mangle()
730 if (VAProfileJPEGBaseline != obj_config->profile in psb_codedbuf_map_mangle()
735 switch (obj_config->profile) { in psb_codedbuf_map_mangle()
Dpnw_MPEG4ES.c53 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/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp365 codec_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_open()
369 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open()
375 codec_profile.profile = VEN_PROFILE_H264_BASELINE; in venc_open()
1378 __func__, codec_profile.profile, profile_level.level); in venc_start()
1391 if ((codec_profile.profile == VEN_PROFILE_MPEG4_SP) || in venc_start()
1392 (codec_profile.profile == VEN_PROFILE_H264_BASELINE) || in venc_start()
1393 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start()
1620 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
2124 requested_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_set_profile_level()
2129 requested_profile.profile = VEN_PROFILE_MPEG4_ASP; in venc_set_profile_level()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/test/
Domx_aac_enc_test.c115 uint32_t profile = OMX_AUDIO_AACObjectLC; variable
529 profile = (uint32_t)atoi(argv[9]); in main()
533 samplerate, channels, tunnel, rectime, bitrate, format, profile); in main()
535 if (!((profile == 2) || (profile == 5) || (profile == 29))) { in main()
537 "profile values are AAC_LC(2), AAC+(5), EAAC+(29)\n", profile); in main()
556 if ((profile == 5) || (profile == 29)) { in main()
823 aacparam.eAACProfile = (OMX_AUDIO_AACPROFILETYPE)profile; in Play_Encoder()
1154 ((profile == OMX_AUDIO_AACObjectHE) || in audaac_rec_install_adts_header_variable()
1155 (profile == OMX_AUDIO_AACObjectHE_PS))){ in audaac_rec_install_adts_header_variable()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp364 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 …]
/hardware/qcom/msm8x26/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8960/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8994/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8996/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int(* codec_open) (struct adie_codec_dev_profile * profile, struct adie_codec_path * * path_pptr);
85 u32(* codec_freq_supported) (struct adie_codec_dev_profile * profile, u32 requested_freq);

12345678