Home
last modified time | relevance | path

Searched refs:channels (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_ossaudiodev.py101 (fmt, channels, rate) = config
103 dsp.channels(channels) == channels and
112 result = dsp.setparameters(fmt, channels, rate, False)
113 self.assertEqual(result, (fmt, channels, rate),
116 result = dsp.setparameters(fmt, channels, rate, True)
117 self.assertEqual(result, (fmt, channels, rate),
128 channels = 2
131 (fmt, channels, -50), # impossible rate
133 (fmt, channels, rate) = config
134 result = dsp.setparameters(fmt, channels, rate, False)
[all …]
/device/google/dragon/audio/hal/dsp/
Ddsp_util.c250 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, in dsp_util_deinterleave() argument
253 float *output_ptr[channels]; in dsp_util_deinterleave()
257 if (channels == 2) { in dsp_util_deinterleave()
263 for (i = 0; i < channels; i++) in dsp_util_deinterleave()
267 for (j = 0; j < channels; j++) in dsp_util_deinterleave()
271 void dsp_util_interleave(float *const *input, int16_t *output, int channels, in dsp_util_interleave() argument
274 float *input_ptr[channels]; in dsp_util_interleave()
278 if (channels == 2) { in dsp_util_interleave()
284 for (i = 0; i < channels; i++) in dsp_util_interleave()
288 for (j = 0; j < channels; j++) { in dsp_util_interleave()
Ddsp_util.h24 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels,
37 void dsp_util_interleave(float *const *input, int16_t *output, int channels,
/device/asus/fugu/libaudio/
DAudioStreamIn.cpp199 DUMP("\tinput channels: %d\n", mPcmConfig.channels); in dump()
355 mPcmConfig.channels = deviceInfo->minChannelCount; in startInputStream_l()
357 mPcmConfig.channels = deviceInfo->maxChannelCount; in startInputStream_l()
359 mPcmConfig.channels = requestedChannelCount; in startInputStream_l()
523 if (mPcmConfig.channels == 2) { in getNextBuffer()
DAudioHardwareOutput.h67 uint32_t *channels,
DAudioOutput.cpp209 config.channels = mChannelCnt; in openPCMDevice()
224 mALSACardID, dev_id, config.rate, config.channels, config.period_size, config.format); in openPCMDevice()
DAudioHardwareOutput.cpp108 uint32_t *channels, in openOutputStream() argument
132 *status = out->set(format, channels, sampleRate); in openOutputStream()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb()
199 channel = &pme->channels[i]; in mm_app_snapshot_metadata_notify_cb()
278 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw()
279 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb_raw()
348 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb()
349 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
Dmm_qcamera_preview.c54 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb()
55 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
136 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_preview_notify_cb()
137 channel = &pme->channels[i]; in mm_app_preview_notify_cb()
214 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_zsl_notify_cb()
215 channel = &pme->channels[i]; in mm_app_zsl_notify_cb()
Dmm_qcamera_reprocess.c50 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb()
51 channel = &pme->channels[i]; in mm_app_reprocess_notify_cb()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb()
199 channel = &pme->channels[i]; in mm_app_snapshot_metadata_notify_cb()
278 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw()
279 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb_raw()
348 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb()
349 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
Dmm_qcamera_preview.c54 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb()
55 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
136 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_preview_notify_cb()
137 channel = &pme->channels[i]; in mm_app_preview_notify_cb()
214 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_zsl_notify_cb()
215 channel = &pme->channels[i]; in mm_app_zsl_notify_cb()
Dmm_qcamera_reprocess.c50 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb()
51 channel = &pme->channels[i]; in mm_app_reprocess_notify_cb()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c200 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb()
201 channel = &pme->channels[i]; in mm_app_snapshot_metadata_notify_cb()
280 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw()
281 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb_raw()
348 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb()
349 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
Dmm_qcamera_preview.c65 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb()
66 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
148 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb()
149 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb()
268 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_preview_notify_cb()
269 channel = &pme->channels[i]; in mm_app_preview_notify_cb()
346 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_zsl_notify_cb()
347 channel = &pme->channels[i]; in mm_app_zsl_notify_cb()
Dmm_qcamera_reprocess.c51 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb()
52 channel = &pme->channels[i]; in mm_app_reprocess_notify_cb()
Dmm_qcamera_app.c718 channel = &test_obj->channels[ch_type]; in mm_app_add_channel()
810 return &test_obj->channels[ch_type]; in mm_app_get_channel_by_type()
/device/google/dragon/audio/hal/
Daudio_hw.c53 .channels = PLAYBACK_DEFAULT_CHANNEL_COUNT,
73 .channels = CAPTURE_DEFAULT_CHANNEL_COUNT,
92 .channels = CAPTURE_DEFAULT_CHANNEL_COUNT,
111 .channels = PLAYBACK_DEFAULT_CHANNEL_COUNT,
131 .channels = PLAYBACK_DEFAULT_CHANNEL_COUNT,
151 .channels = 1,
191 .channels = 2,
914 config.inputCfg.channels = channel_config->aux_channels; in in_configure_effect_channels()
915 config.outputCfg.channels = config.inputCfg.channels; in in_configure_effect_channels()
1037 size_t src_channels = in->config.channels; in read_and_process_frames()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c225 .channels = 2,
234 .channels = 2,
420 out->pcm_config.channels, in out_write_worker()
964 in->pcm_config.channels, in in_read_worker()
1051 in->pcm_config.channels == 2) { in in_read()
1186 out->pcm_config.channels * in adev_open_output_stream()
1378 in->pcm_config.channels * in adev_open_input_stream()
/device/linaro/hikey/audio/
Daudio_hw.c145 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels()
464 out->config.channels = CHANNEL_STEREO; in adev_open_output_stream()
480 out->config.channels, out->config.rate, out->config.format); in adev_open_output_stream()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h212 mm_camera_channel_t channels[MM_CHANNEL_TYPE_MAX]; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h210 mm_camera_channel_t channels[MM_CHANNEL_TYPE_MAX]; member
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h212 mm_camera_channel_t channels[MM_CHANNEL_TYPE_MAX]; member
/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c232 config.channels = 1; in callback_thread_loop()
/device/google/marlin/
DWCNSS_qcom_cfg.ini233 #If set to 0, will not scan DFS channels

12