Home
last modified time | relevance | path

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

1234567

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c88 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ member
113 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ member
172 static char * device_get_parameters(alsa_device_profile * profile, const char * keys) in device_get_parameters() argument
174 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
184 char* rates_list = profile_get_sample_rate_strs(profile); in device_get_parameters()
192 char* channels_list = profile_get_channel_count_strs(profile); in device_get_parameters()
200 char * format_params = profile_get_format_strs(profile); in device_get_parameters()
323 if (!profile_is_cached_for(out->profile, card, device)) { in out_set_parameters()
328 int saved_card = out->profile->card; in out_set_parameters()
329 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.cpp514 IOProfile *profile = mHwModules[i]->mOutputProfiles[j]; in getProfileForDirectOutput() local
516 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput()
519 if (mAvailableOutputDevices & profile->mSupportedDevices) { in getProfileForDirectOutput()
524 if (profile->isCompatibleProfile(device, samplingRate, format, in getProfileForDirectOutput()
527 if (mAvailableOutputDevices & profile->mSupportedDevices) { in getProfileForDirectOutput()
598 IOProfile *profile = NULL; in getOutput() local
601 profile = getProfileForDirectOutput(device, in getOutput()
608 if (profile != NULL) { in getOutput()
613 if (!desc->isDuplicated() && (profile == desc->mProfile)) { in getOutput()
629 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/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/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/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/msm8x74/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/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/media/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/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 …]
Dvideo_encoder_device_v4l2.cpp878 codec_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE; in venc_open()
884 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open()
890 codec_profile.profile = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE; in venc_open()
896 codec_profile.profile = V4L2_MPEG_VIDC_VIDEO_VP8_UNUSED; in venc_open()
904 codec_profile.profile = V4L2_MPEG_VIDC_VIDEO_HEVC_PROFILE_MAIN; in venc_open()
2276 __func__, codec_profile.profile, profile_level.level); in venc_start()
2338 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
3125 if ((codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_MAIN) || in venc_set_session_qp()
3126 (codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_HIGH)) { in venc_set_session_qp()
3217 requested_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE; in venc_set_profile_level()
[all …]
/hardware/intel/common/wrs_omxil_core/core/src/
Dintel_video_config_parser.cpp93 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/
Dlnc_MPEG4ES.c54 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/msm8x74/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/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/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/msm8x84/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,

1234567