/external/bluetooth/bluez/sbc/ |
D | sbc_primitives.c | 232 int nsamples, int nchannels, int big_endian) in sbc_encoder_process_input_s4_internal() argument 236 if (nchannels > 0) in sbc_encoder_process_input_s4_internal() 239 if (nchannels > 1) in sbc_encoder_process_input_s4_internal() 251 if (nchannels > 0) { in sbc_encoder_process_input_s4_internal() 253 x[0] = PCM(0 + 7 * nchannels); in sbc_encoder_process_input_s4_internal() 254 x[1] = PCM(0 + 3 * nchannels); in sbc_encoder_process_input_s4_internal() 255 x[2] = PCM(0 + 6 * nchannels); in sbc_encoder_process_input_s4_internal() 256 x[3] = PCM(0 + 4 * nchannels); in sbc_encoder_process_input_s4_internal() 257 x[4] = PCM(0 + 0 * nchannels); in sbc_encoder_process_input_s4_internal() 258 x[5] = PCM(0 + 2 * nchannels); in sbc_encoder_process_input_s4_internal() [all …]
|
D | sbc_primitives_neon.c | 550 int nsamples, int nchannels, int big_endian) in sbc_enc_process_input_4s_neon_internal() argument 575 if (nchannels > 1) { in sbc_enc_process_input_4s_neon_internal() 593 if ((nchannels > 1) && ((uintptr_t)pcm & 1)) { in sbc_enc_process_input_4s_neon_internal() 627 } else if (nchannels > 1) { in sbc_enc_process_input_4s_neon_internal() 688 int nsamples, int nchannels, int big_endian) in sbc_enc_process_input_8s_neon_internal() argument 721 if (nchannels > 1) { in sbc_enc_process_input_8s_neon_internal() 743 if ((nchannels > 1) && ((uintptr_t)pcm & 1)) { in sbc_enc_process_input_8s_neon_internal() 781 } else if (nchannels > 1) { in sbc_enc_process_input_8s_neon_internal() 850 int nsamples, int nchannels) in sbc_enc_process_input_4s_be_neon() argument 853 position, pcm, X, nsamples, nchannels, 1); in sbc_enc_process_input_4s_be_neon() [all …]
|
D | sbc_primitives.h | 52 int nsamples, int nchannels); 55 int nsamples, int nchannels); 58 int nsamples, int nchannels); 61 int nsamples, int nchannels);
|
/external/qemu/audio/ |
D | wavcapture.c | 11 int nchannels; member 75 wav->freq, wav->bits, wav->nchannels, in wav_capture_info() 85 int bits, int nchannels) in wav_start_capture() argument 105 if (nchannels != 1 && nchannels != 2) { in wav_start_capture() 107 nchannels); in wav_start_capture() 111 stereo = nchannels == 2; in wav_start_capture() 115 as.nchannels = 1 << stereo; in wav_start_capture() 128 le_store (hdr + 22, as.nchannels, 2); in wav_start_capture() 143 wav->nchannels = nchannels; in wav_start_capture()
|
D | audio_win_int.c | 20 wfx->nChannels = as->nchannels; in waveformat_from_audio_settings() 22 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2); in waveformat_from_audio_settings() 23 wfx->nBlockAlign = 1 << (as->nchannels == 2); in waveformat_from_audio_settings() 71 as->nchannels = 1; in waveformat_to_audio_settings() 75 as->nchannels = 2; in waveformat_to_audio_settings()
|
D | ossaudio.c | 87 int nchannels; member 235 req->nchannels, obt->nchannels); in oss_dump_info() 274 int fmt, freq, nchannels; in oss_open() local 289 nchannels = req->nchannels; in oss_open() 297 if (ioctl (fd, SNDCTL_DSP_CHANNELS, &nchannels)) { in oss_open() 299 req->nchannels); in oss_open() 357 obt->nchannels = nchannels; in oss_open() 365 (req->nchannels != obt->nchannels) || in oss_open() 521 req.nchannels = as->nchannels; in oss_init_out() 536 obt_as.nchannels = obt.nchannels; in oss_init_out() [all …]
|
D | wavaudio.c | 128 stereo = wav_as.nchannels == 2; in wav_out_init() 159 le_store (hdr + 22, hw->info.nchannels, 2); in wav_out_init() 253 int nchannels, freq, format, bits; in wav_in_init() local 276 nchannels = le_read( hdr+22, 2 ); in wav_in_init() 284 switch (nchannels) { in wav_in_init() 289 nchannels, path); in wav_in_init() 303 if (format*8/nchannels != bits) { in wav_in_init() 305 bits, format*8/nchannels, path); in wav_in_init() 309 wav_as.nchannels = nchannels; in wav_in_init() 426 {"DAC_FIXED_CHANNELS", AUD_OPT_INT, &conf_out.settings.nchannels,
|
D | alsaaudio.c | 158 int nchannels; member 169 int nchannels; member 492 req->nchannels, obt->nchannels); in alsa_dump_info() 537 unsigned int freq, nchannels; in alsa_open() local 544 nchannels = req->nchannels; in alsa_open() 591 &nchannels in alsa_open() 595 req->nchannels); in alsa_open() 599 if (nchannels != 1 && nchannels != 2) { in alsa_open() 602 nchannels); in alsa_open() 714 bytes_per_sec = freq << (nchannels == 2); in alsa_open() [all …]
|
D | audio.c | 170 .nchannels = 2, 182 .nchannels = 2, 613 dolog ("frequency=%d nchannels=%d fmt=", as->freq, as->nchannels); in audio_print_settings() 658 invalid = as->nchannels != 1 && as->nchannels != 2; in audio_validate_settings() 701 && info->nchannels == as->nchannels in audio_pcm_info_eq() 735 info->nchannels = as->nchannels; in audio_pcm_init_info() 736 info->shift = (as->nchannels == 2) + shift; in audio_pcm_init_info() 761 int shift = info->nchannels - 1; in audio_pcm_info_clear_buf() 778 int shift = info->nchannels - 1; in audio_pcm_info_clear_buf() 927 hw, sw->info.freq, sw->info.bits, sw->info.nchannels); in audio_attach_capture() [all …]
|
D | audio_template.h | 162 [sw->info.nchannels == 2] in glue() 293 [hw->info.nchannels == 2] in glue() 423 name, as->freq, as->nchannels, as->fmt); in glue() 452 SW_NAME (sw), sw->info.freq, sw->info.bits, sw->info.nchannels); in glue() 457 as->nchannels); in glue()
|
D | audio.h | 50 int nchannels; member 169 int bits, int nchannels);
|
D | winaudio.c | 175 format.nChannels = as->nchannels; in winaudio_out_init() 177 format.nAvgBytesPerSec = as->freq*as->nchannels; in winaudio_out_init() 421 format.nChannels = as->nchannels; in winaudio_in_init() 423 format.nAvgBytesPerSec = as->freq*as->nchannels; in winaudio_in_init()
|
D | paaudio.c | 333 ss.channels = as->nchannels; in qpa_init_out() 387 ss.channels = as->nchannels; in qpa_init_in()
|
D | fmodaudio.c | 350 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0); in fmod_init_out() 416 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0); in fmod_init_in()
|
D | esdaudio.c | 231 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO; in qesd_init_out() 442 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO; in qesd_init_in()
|
D | audio_int.h | 62 int nchannels; member
|
D | dsound_template.h | 278 hw->bufsize, settings.freq, settings.nchannels, settings.fmt); in dsound_init_in()
|
D | dsoundaudio.c | 61 .settings.nchannels = 2, 980 .valp = &conf.settings.nchannels,
|
/external/opencv/cxcore/include/ |
D | cvwimage.h | 310 WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) { in WImageBuffer() argument 311 Allocate(width, height, nchannels); in WImageBuffer() 320 void Allocate(int width, int height, int nchannels); 531 inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels) in Allocate() argument 534 WImage<T>::Height() != height || WImage<T>::Channels() != nchannels) { in Allocate() 537 WImage<T>::Depth(), nchannels); in Allocate() 565 WImageView<T>::WImageView(T* data, int width, int height, int nchannels, int width_step) in WImageView() argument 568 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), nchannels); in WImageView()
|
/external/qemu/android/ |
D | audio-test.c | 58 as.nchannels = 1; in testAudio_init()
|
/external/qemu/hw/ |
D | goldfish_audio.c | 578 as.nchannels = 2; in goldfish_audio_init() 599 as.nchannels = 1; in goldfish_audio_init()
|
/external/qemu/ |
D | vnc.c | 1809 vs->as.nchannels = read_u8(data, 5); in protocol_client_msg() 1810 if (vs->as.nchannels != 1 && vs->as.nchannels != 2) { in protocol_client_msg() 2075 vs->as.nchannels = 2; in vnc_connect()
|
D | vnc-android.c | 1815 vs->as.nchannels = read_u8(data, 5); in protocol_client_msg() 1816 if (vs->as.nchannels != 1 && vs->as.nchannels != 2) { in protocol_client_msg() 2081 vs->as.nchannels = 2; in vnc_connect()
|
/external/opencv/cxcore/src/ |
D | cxarray.cpp | 3259 icvGetColorModel( int nchannels, const char** colorModel, const char** channelSeq ) in icvGetColorModel() argument 3269 nchannels--; in icvGetColorModel() 3272 if( (unsigned)nchannels <= 3 ) in icvGetColorModel() 3274 *colorModel = tab[nchannels][0]; in icvGetColorModel() 3275 *channelSeq = tab[nchannels][1]; in icvGetColorModel()
|
/external/esd/include/ |
D | audiofile.h | 469 void afInitChannels (AFfilesetup, int track, int nchannels);
|