/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:__anon11885 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...] |
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...] |
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...] |
/external/opencv/cvaux/src/ |
cvbgfg_gaussmix.cpp | 53 //int nChannels; /* OpenCV functions support 1,2,3 or 4 channels */ 82 static int icvMatchTest( double* src_pixel, int nChannels, int* match, 84 /*static int icvMatchTest2( double* src_pixel, int nChannels, int* match, 94 static void icvUpdateFullWindow( double* src_pixel, int nChannels, 102 static void icvUpdatePartialWindow( double* src_pixel, int nChannels, int* match, 104 static void icvUpdatePartialNoMatch( double* src_pixel, int nChannels, 110 static void icvGetSortKey( const int nChannels, double* sort_key, const CvGaussBGPoint* g_point, 112 static void icvBackgroundTest( const int nChannels, int n, int i, int j, int *match, CvGaussBGModel* bg_model ); 182 first_frame->height), IPL_DEPTH_8U, first_frame->nChannels)); 198 const int p = i*first_frame->widthStep+j*first_frame->nChannels; [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
adj_thr.c | 72 const Word16 nChannels) 76 for (ch=0; ch<nChannels; ch++) { 97 const Word16 nChannels) 105 for (ch=0; ch<nChannels; ch++) { 167 const Word16 nChannels, 174 for (ch=0; ch<nChannels; ch++) { 199 for(ch=0; ch<nChannels; ch++) { 259 if (nChannels == 2) { 299 for(ch=0; ch<nChannels; ch++) { 333 const Word16 nChannels) [all...] |
qc_main.c | 121 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP) 128 quantSpec = (Word16 *)mem_malloc(pMemOP, nChannels * FRAME_LEN_LONG * sizeof(Word16), 32, VO_INDEX_ENC_AAC); 131 scf = (Word16 *)mem_malloc(pMemOP, nChannels * MAX_GROUPED_SFB * sizeof(Word16), 32, VO_INDEX_ENC_AAC); 136 maxValueInSfb = (UWord16 *)mem_malloc(pMemOP, nChannels * MAX_GROUPED_SFB * sizeof(UWord16), 32, VO_INDEX_ENC_AAC); 142 for (i=0; i<nChannels; i++) { 224 hQC->nChannels = init->elInfo->nChannelsInEl; 264 Word16 nChannels, 281 nChannels, 295 CalcFormFactor(hQC->logSfbFormFactor, hQC->sfbNRelevantLines, hQC->logSfbEnergy, psyOutChannel, nChannels); 307 nChannels, [all...] |
channel_map.c | 64 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo) 69 switch(nChannels) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
qc_main.h | 32 Word16 QCOutNew(QC_OUT *hQC, Word16 nChannels, VO_MEM_OPERATOR *pMemOP); 51 Word16 nChannels,
|
sf_estim.h | 37 const Word16 nChannels); 45 const Word16 nChannels);
|
bitenc.h | 33 Word16 nChannels;
|
channel_map.h | 29 Word16 InitElementInfo (Word16 nChannels, ELEMENT_INFO* elInfo);
|
stat_bits.h | 31 Word16 nChannels,
|
line_pe.h | 61 const Word16 nChannels, 70 const Word16 nChannels);
|
adj_thr.h | 50 const Word16 nChannels,
|
/frameworks/av/media/libeffects/testlibs/ |
AudioEqualizer.cpp | 39 int nChannels, int sampleRate, 42 ALOGV("AudioEqualizer::CreateInstance(pMem=%p, nBands=%d, nChannels=%d, " 44 pMem, nBands, nChannels, sampleRate, nPresets); 54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate, 58 void AudioEqualizer::configure(int nChannels, int sampleRate) { 59 ALOGV("AudioEqualizer::configure(nChannels=%d, sampleRate=%d)", nChannels, 61 mpLowShelf->configure(nChannels, sampleRate); 63 mpPeakingFilters[i].configure(nChannels, sampleRate); 65 mpHighShelf->configure(nChannels, sampleRate) [all...] |
AudioPeakingFilter.cpp | 44 AudioPeakingFilter::AudioPeakingFilter(int nChannels, int sampleRate) 45 : mBiquad(nChannels, sampleRate) { 46 configure(nChannels, sampleRate); 50 void AudioPeakingFilter::configure(int nChannels, int sampleRate) { 53 mBiquad.configure(nChannels, sampleRate);
|
AudioShelvingFilter.cpp | 49 AudioShelvingFilter::AudioShelvingFilter(ShelfType type, int nChannels, 52 mBiquad(nChannels, sampleRate) { 53 configure(nChannels, sampleRate); 56 void AudioShelvingFilter::configure(int nChannels, int sampleRate) { 59 mBiquad.configure(nChannels, sampleRate);
|
AudioBiquadFilter.cpp | 28 AudioBiquadFilter::AudioBiquadFilter(int nChannels, int sampleRate) { 29 configure(nChannels, sampleRate); 33 void AudioBiquadFilter::configure(int nChannels, int sampleRate) { 34 assert(nChannels > 0 && nChannels <= MAX_CHANNELS); 36 mNumChannels = nChannels;
|
AudioPeakingFilter.h | 42 // nChannels Number of input/output channels (interlaced). 44 AudioPeakingFilter(int nChannels, int sampleRate); 48 // nChannels Number of input/output channels (interlaced). 50 void configure(int nChannels, int sampleRate); 99 // frameCount * nChannels interlaced samples. Processing can be done
|
AudioShelvingFilter.h | 49 // nChannels Number of input/output channels (interlaced). 51 AudioShelvingFilter(ShelfType type, int nChannels, int sampleRate); 55 // nChannels Number of input/output channels (interlaced). 57 void configure(int nChannels, int sampleRate); 93 // frameCount * nChannels interlaced samples. Processing can be done
|
AudioBiquadFilter.h | 43 // nChannels Number of input/output channels. 45 AudioBiquadFilter(int nChannels, int sampleRate); 48 // nChannels Number of input/output channels. 50 void configure(int nChannels, int sampleRate); 75 // in The input buffer. Should be of size frameCount * nChannels. 76 // out The output buffer. Should be of size frameCount * nChannels.
|
AudioFormatAdapter.h | 54 // nChannels Number of input and output channels. The adapter does not do 59 void configure(T & processor, int nChannels, uint8_t pcmFormat, 62 mNumChannels = nChannels; 65 mMaxSamplesPerCall = bufSize / nChannels;
|
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 51 // bitRate/nChannels > 8000 52 // bitRate/nChannels < 160000 53 // bitRate/nChannels < sampleRate*6 56 param->nChannels = 2; 90 param->nChannels = atoi(*argv); 118 param->bitRate = 640*param->nChannels*param->sampleRate/scale;
|