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

1 2

  /external/libopus/src/
opus_compare.c 182 int nchannels; local
193 nchannels=1;
195 nchannels=2;
232 if(nchannels==1){
236 ylength=read_pcm16(&y,fin2,nchannels);
249 xb=(float *)opus_malloc(nframes*NBANDS*nchannels*sizeof(*xb));
250 X=(float *)opus_malloc(nframes*NFREQS*nchannels*sizeof(*X));
251 Y=(float *)opus_malloc(nframes*yfreqs*nchannels*sizeof(*Y));
254 band_energy(xb,X,BANDS,NBANDS,x,nchannels,nframes,
257 band_energy(NULL,Y,BANDS,ybands,y,nchannels,nframes
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_wave.py 6 nchannels = 2 variable
26 self.f.setnchannels(nchannels)
30 output = '\0' * nframes * nchannels * sampwidth
35 self.assertEqual(nchannels, self.f.getnchannels())
test_linuxaudiodev.py 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp)
52 self.dev.setparameters(rate, 16, nchannels, fmt)
60 nchannels = 1
62 self.dev.setparameters(-1, size, nchannels, fmt)
66 self.dev.setparameters(rate, -2, nchannels, fmt)
72 self.assertEqual(err.args[0], "nchannels must be 1 or 2, not 3")
74 self.dev.setparameters(rate, size, nchannels, 177)
78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE)
83 self.dev.setparameters(rate, 16, nchannels, fmt)
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_wave.py 6 nchannels = 2 variable
26 self.f.setnchannels(nchannels)
30 output = '\0' * nframes * nchannels * sampwidth
35 self.assertEqual(nchannels, self.f.getnchannels())
test_linuxaudiodev.py 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp)
52 self.dev.setparameters(rate, 16, nchannels, fmt)
60 nchannels = 1
62 self.dev.setparameters(-1, size, nchannels, fmt)
66 self.dev.setparameters(rate, -2, nchannels, fmt)
72 self.assertEqual(err.args[0], "nchannels must be 1 or 2, not 3")
74 self.dev.setparameters(rate, size, nchannels, 177)
78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE)
83 self.dev.setparameters(rate, 16, nchannels, fmt)
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_wave.py 6 nchannels = 2 variable
26 self.f.setnchannels(nchannels)
30 output = '\0' * nframes * nchannels * sampwidth
35 self.assertEqual(nchannels, self.f.getnchannels())
test_linuxaudiodev.py 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp)
52 self.dev.setparameters(rate, 16, nchannels, fmt)
60 nchannels = 1
62 self.dev.setparameters(-1, size, nchannels, fmt)
66 self.dev.setparameters(rate, -2, nchannels, fmt)
72 self.assertEqual(err.args[0], "nchannels must be 1 or 2, not 3")
74 self.dev.setparameters(rate, size, nchannels, 177)
78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE)
83 self.dev.setparameters(rate, 16, nchannels, fmt)
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_wave.py 6 nchannels = 2 variable
26 self.f.setnchannels(nchannels)
30 output = '\0' * nframes * nchannels * sampwidth
35 self.assertEqual(nchannels, self.f.getnchannels())
test_linuxaudiodev.py 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp)
52 self.dev.setparameters(rate, 16, nchannels, fmt)
60 nchannels = 1
62 self.dev.setparameters(-1, size, nchannels, fmt)
66 self.dev.setparameters(rate, -2, nchannels, fmt)
72 self.assertEqual(err.args[0], "nchannels must be 1 or 2, not 3")
74 self.dev.setparameters(rate, size, nchannels, 177)
78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE)
83 self.dev.setparameters(rate, 16, nchannels, fmt)
test_ossaudiodev.py 30 nchannels = au.getnchannels()
40 return (data, rate, 16, nchannels)
44 def play_sound_file(self, data, rate, ssize, nchannels):
75 expected_time = float(len(data)) / (ssize//8) / nchannels / rate
78 dsp.setparameters(AFMT_S16_NE, nchannels, rate)
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt, -5, rate), # impossible nchannels
  /external/opencv3/modules/video/src/
bgfg_KNN.cpp 132 int nchannels = CV_MAT_CN(frameType); local
133 CV_Assert( nchannels <= CV_CN_MAX );
138 // values + flag (nchannels+1 values)
139 bgmodel.create( 1,(nN * 3) * (nchannels+1)* size,CV_8U);
257 _cvUpdatePixelBackgroundNP( long pixel,const uchar* data, int nchannels, int m_nN,
275 int ndata=1+nchannels;
313 m_aModel[offsetShort+nchannels]=include;
325 const uchar* data, int nchannels,
338 //uchar& include=data[nchannels];
341 int ndata=nchannels+1
461 int nchannels = CV_MAT_CN(_src.type()); local
600 int nchannels = CV_MAT_CN(frameType); local
    [all...]
bgfg_gaussmix2.cpp 189 int nchannels = CV_MAT_CN(frameType); local
190 CV_Assert( nchannels <= CV_CN_MAX );
196 kernel_getBg.create("getBackgroundImage2_kernel", ocl::video::bgfg_mog2_oclsrc, format( "-D CN=%d -D NMIXTURES=%d", nchannels, nmixtures));
211 if (nchannels==3)
212 nchannels=4;
213 u_mean.create(frameSize.height * nmixtures, frameSize.width, CV_32FC(nchannels)); //4 channels
224 // the mean (nchannels values) and
226 bgmodel.create( 1, frameSize.height*frameSize.width*nmixtures*(2 + nchannels), CV_32F );
461 detectShadowGMM(const float* data, int nchannels, int nmodes,
468 for( int mode = 0; mode < nmodes; mode++, mean += nchannels )
555 int ncols = src->cols, nchannels = src->channels(); local
817 int nchannels = CV_MAT_CN(frameType); local
867 int nchannels = CV_MAT_CN(frameType); local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
sndhdr.py 91 nchannels = f(h[20:24])
102 frame_size = sample_size * nchannels
103 return type, rate, nchannels, data_size//frame_size, sample_bits
135 nchannels = get_short_le(h[22:24])
138 return 'wav', rate, nchannels, -1, sample_bits
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/gdb/linux-x86/lib/python2.7/
sndhdr.py 91 nchannels = f(h[20:24])
102 frame_size = sample_size * nchannels
103 return type, rate, nchannels, data_size//frame_size, sample_bits
135 nchannels = get_short_le(h[22:24])
138 return 'wav', rate, nchannels, -1, sample_bits
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
sndhdr.py 91 nchannels = f(h[20:24])
102 frame_size = sample_size * nchannels
103 return type, rate, nchannels, data_size//frame_size, sample_bits
135 nchannels = get_short_le(h[22:24])
138 return 'wav', rate, nchannels, -1, sample_bits
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
sndhdr.py 91 nchannels = f(h[20:24])
102 frame_size = sample_size * nchannels
103 return type, rate, nchannels, data_size//frame_size, sample_bits
135 nchannels = get_short_le(h[22:24])
138 return 'wav', rate, nchannels, -1, sample_bits
audiodev.py 106 def setnchannels(self, nchannels):
108 if nchannels == raw:
148 ## if 0: access outrate, sampwidth, nchannels, inited_outrate, inited_width, \
154 self.nchannels = 0
173 def setnchannels(self, nchannels):
174 self.nchannels = nchannels
185 info.o_channels = self.nchannels
  /external/opencv3/modules/features2d/src/kaze/
AKAZEFeatures.h 62 int nbits, int pattern_size, int nchannels);
  /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...]

Completed in 604 milliseconds

1 2