Home
last modified time | relevance | path

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

12

/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.cpp196 DUMP("\tinput channels: %d\n", mPcmConfig.channels); in dump()
327 mPcmConfig.channels = deviceInfo->minChannelCount; in startInputStream_l()
329 mPcmConfig.channels = deviceInfo->maxChannelCount; in startInputStream_l()
331 mPcmConfig.channels = requestedChannelCount; in startInputStream_l()
492 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/moto/shamu/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()
265 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw()
266 channel = &pme->channels[i]; in mm_app_snapshot_notify_cb_raw()
332 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb()
333 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()
130 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_preview_notify_cb()
131 channel = &pme->channels[i]; in mm_app_preview_notify_cb()
203 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_zsl_notify_cb()
204 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()
Dmm_qcamera_app.c707 channel = &test_obj->channels[ch_type]; in mm_app_add_channel()
799 return &test_obj->channels[ch_type]; in mm_app_get_channel_by_type()
/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()
Dmm_qcamera_app.c707 channel = &test_obj->channels[ch_type]; in mm_app_add_channel()
799 return &test_obj->channels[ch_type]; in mm_app_get_channel_by_type()
/device/htc/flounder/audio/hal/
Daudio_hw.c59 .channels = PLAYBACK_DEFAULT_CHANNEL_COUNT,
79 .channels = CAPTURE_DEFAULT_CHANNEL_COUNT,
97 .channels = CAPTURE_DEFAULT_CHANNEL_COUNT,
115 .channels = CAPTURE_DEFAULT_CHANNEL_COUNT,
133 .channels = SCO_DEFAULT_CHANNEL_COUNT,
153 .channels = SCO_DEFAULT_CHANNEL_COUNT,
171 .channels = 1,
213 .channels = 2,
1016 ALOGVV("%s: enter:), in->config.channels(%d)", __func__,in->config.channels); in update_echo_reference()
1026 in->config.channels, frames, in->ref_buf_frames, frames - in->ref_buf_frames); in update_echo_reference()
[all …]
/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/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c170 .channels = AUDIO_CAPTURE_CHANNEL_COUNT,
472 if (config->inputCfg.channels != config->outputCfg.channels) return -EINVAL; in set_config()
474 if (config->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL; in set_config()
533 context->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in visualizer_init()
541 context->config.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in visualizer_init()
553 visu_ctxt->channel_count = popcount(context->config.inputCfg.channels); in visualizer_init()
/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/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h212 mm_camera_channel_t channels[MM_CHANNEL_TYPE_MAX]; member
/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/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.c231 config.channels = 1; in callback_thread_loop()

12