HomeSort by relevance Sort by last modified time
    Searched refs:nchannels (Results 1 - 25 of 27) sorted by null

1 2

  /external/bluetooth/bluez/sbc/
sbc_primitives.c 224 * optimal performance, it is important to have "nsamples", "nchannels"
232 int nsamples, int nchannels, int big_endian)
236 if (nchannels > 0)
239 if (nchannels > 1)
251 if (nchannels > 0) {
253 x[0] = PCM(0 + 7 * nchannels);
254 x[1] = PCM(0 + 3 * nchannels);
255 x[2] = PCM(0 + 6 * nchannels);
256 x[3] = PCM(0 + 4 * nchannels);
257 x[4] = PCM(0 + 0 * nchannels);
    [all...]
sbc_primitives.h 52 int nsamples, int nchannels);
55 int nsamples, int nchannels);
58 int nsamples, int nchannels);
61 int nsamples, int nchannels);
sbc_primitives_neon.c 550 int nsamples, int nchannels, int big_endian)
575 if (nchannels > 1) {
593 if ((nchannels > 1) && ((uintptr_t)pcm & 1)) {
627 } else if (nchannels > 1) {
688 int nsamples, int nchannels, int big_endian)
721 if (nchannels > 1) {
743 if ((nchannels > 1) && ((uintptr_t)pcm & 1)) {
781 } else if (nchannels > 1) {
850 int nsamples, int nchannels)
853 position, pcm, X, nsamples, nchannels, 1)
    [all...]
  /external/qemu/audio/
audio_win_int.c 20 wfx->nChannels = as->nchannels;
22 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2);
23 wfx->nBlockAlign = 1 << (as->nchannels == 2);
69 switch (wfx->nChannels) {
71 as->nchannels = 1;
75 as->nchannels = 2;
81 wfx->nChannels
wavcapture.c 11 int nchannels; member in struct:__anon9334
75 wav->freq, wav->bits, wav->nchannels,
85 int bits, int nchannels)
105 if (nchannels != 1 && nchannels != 2) {
107 nchannels);
111 stereo = nchannels == 2;
115 as.nchannels = 1 << stereo;
128 le_store (hdr + 22, as.nchannels, 2);
143 wav->nchannels = nchannels
    [all...]
alsaaudio.c 158 int nchannels; member in struct:alsa_params_req
169 int nchannels; member in struct:alsa_params_obt
492 req->nchannels, obt->nchannels);
537 unsigned int freq, nchannels; local
544 nchannels = req->nchannels;
591 &nchannels
595 req->nchannels);
599 if (nchannels != 1 && nchannels != 2)
    [all...]
wavaudio.c 128 stereo = wav_as.nchannels == 2;
159 le_store (hdr + 22, hw->info.nchannels, 2);
253 int nchannels, freq, format, bits; local
276 nchannels = le_read( hdr+22, 2 );
284 switch (nchannels) {
289 nchannels, path);
303 if (format*8/nchannels != bits) {
305 bits, format*8/nchannels, path);
309 wav_as.nchannels = nchannels;
    [all...]
ossaudio.c 87 int nchannels; member in struct:oss_params
235 req->nchannels, obt->nchannels);
274 int fmt, freq, nchannels; local
289 nchannels = req->nchannels;
297 if (ioctl (fd, SNDCTL_DSP_CHANNELS, &nchannels)) {
299 req->nchannels);
357 obt->nchannels = nchannels;
    [all...]
audio.h 50 int nchannels; member in struct:audsettings
169 int bits, int nchannels);
audio.c 170 .nchannels = 2,
182 .nchannels = 2,
613 dolog ("frequency=%d nchannels=%d fmt=", as->freq, as->nchannels);
658 invalid = as->nchannels != 1 && as->nchannels != 2;
701 && info->nchannels == as->nchannels
735 info->nchannels = as->nchannels;
    [all...]
audio_template.h 162 [sw->info.nchannels == 2]
293 [hw->info.nchannels == 2]
422 ldebug ("open %s, freq %d, nchannels %d, fmt %d\n",
423 name, as->freq, as->nchannels, as->fmt);
452 SW_NAME (sw), sw->info.freq, sw->info.bits, sw->info.nchannels);
457 as->nchannels);
winaudio.c 175 format.nChannels = as->nchannels;
177 format.nAvgBytesPerSec = as->freq*as->nchannels;
192 format.nAvgBytesPerSec = (format.nSamplesPerSec & format.nChannels) << shift;
193 format.nBlockAlign = format.nChannels << shift;
421 format.nChannels = as->nchannels;
423 format.nAvgBytesPerSec = as->freq*as->nchannels;
436 format.nAvgBytesPerSec = (format.nSamplesPerSec * format.nChannels) << shift;
437 format.nBlockAlign = format.nChannels << shift;
    [all...]
audio_int.h 62 int nchannels; member in struct:audio_pcm_info
dsound_template.h 278 hw->bufsize, settings.freq, settings.nchannels, settings.fmt);
dsoundaudio.c 61 .settings.nchannels = 2,
275 dolog ("nChannels = %d\n", wfx->nChannels);
980 .valp = &conf.settings.nchannels,
esdaudio.c 231 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO;
442 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO;
fmodaudio.c 350 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0);
416 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0);
paaudio.c 333 ss.channels = as->nchannels;
387 ss.channels = as->nchannels;
  /external/qemu/android/
audio-test.c 58 as.nchannels = 1;
  /external/opencv/cxcore/include/
cvwimage.h 198 int Channels() const {return image_->nChannels; }
267 assert(!img || img->nChannels == Channels());
310 WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) {
311 Allocate(width, height, nchannels);
320 void Allocate(int width, int height, int nchannels);
531 inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels)
534 WImage<T>::Height() != height || WImage<T>::Channels() != nchannels) {
537 WImage<T>::Depth(), nchannels);
565 WImageView<T>::WImageView(T* data, int width, int height, int nchannels, int width_step)
568 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), nchannels);
    [all...]
  /external/qemu/hw/
goldfish_audio.c 578 as.nchannels = 2;
599 as.nchannels = 1;
  /external/esd/include/
audiofile.h 469 void afInitChannels (AFfilesetup, int track, int nchannels);
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
audiofile.h 469 void afInitChannels (AFfilesetup, int track, int nchannels);
  /external/qemu/
vnc-android.c     [all...]
vnc.c     [all...]

Completed in 1179 milliseconds

1 2