Home
last modified time | relevance | path

Searched refs:nchannels (Results 1 – 13 of 13) sorted by relevance

/external/libopus/src/
Dopus_compare.c182 int nchannels; in main() local
193 nchannels=1; in main()
195 nchannels=2; in main()
232 if(nchannels==1){ in main()
236 ylength=read_pcm16(&y,fin2,nchannels); in main()
249 xb=(float *)opus_malloc(nframes*NBANDS*nchannels*sizeof(*xb)); in main()
250 X=(float *)opus_malloc(nframes*NFREQS*nchannels*sizeof(*X)); in main()
251 Y=(float *)opus_malloc(nframes*yfreqs*nchannels*sizeof(*Y)); in main()
254 band_energy(xb,X,BANDS,NBANDS,x,nchannels,nframes, in main()
257 band_energy(NULL,Y,BANDS,ybands,y,nchannels,nframes, in main()
[all …]
/external/opencv3/modules/video/src/
Dbgfg_gaussmix2.cpp189 int nchannels = CV_MAT_CN(frameType); in initialize() local
190 CV_Assert( nchannels <= CV_CN_MAX ); in initialize()
196 …_kernel", ocl::video::bgfg_mog2_oclsrc, format( "-D CN=%d -D NMIXTURES=%d", nchannels, nmixtures)); in initialize()
211 if (nchannels==3) in initialize()
212 nchannels=4; in initialize()
213 … u_mean.create(frameSize.height * nmixtures, frameSize.width, CV_32FC(nchannels)); //4 channels in initialize()
226 bgmodel.create( 1, frameSize.height*frameSize.width*nmixtures*(2 + nchannels), CV_32F ); in initialize()
461 detectShadowGMM(const float* data, int nchannels, int nmodes, in detectShadowGMM() argument
468 for( int mode = 0; mode < nmodes; mode++, mean += nchannels ) in detectShadowGMM()
474 for( int c = 0; c < nchannels; c++ ) in detectShadowGMM()
[all …]
Dbgfg_KNN.cpp132 int nchannels = CV_MAT_CN(frameType); in initialize() local
133 CV_Assert( nchannels <= CV_CN_MAX ); in initialize()
139 bgmodel.create( 1,(nN * 3) * (nchannels+1)* size,CV_8U); in initialize()
257 _cvUpdatePixelBackgroundNP( long pixel,const uchar* data, int nchannels, int m_nN, in _cvUpdatePixelBackgroundNP() argument
275 int ndata=1+nchannels; in _cvUpdatePixelBackgroundNP()
313 m_aModel[offsetShort+nchannels]=include; in _cvUpdatePixelBackgroundNP()
325 const uchar* data, int nchannels, in _cvCheckPixelBackgroundNP() argument
341 int ndata=nchannels+1; in _cvCheckPixelBackgroundNP()
352 if( nchannels == 3 ) in _cvCheckPixelBackgroundNP()
362 for( int c = 0; c < nchannels; c++ ) in _cvCheckPixelBackgroundNP()
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dwimage.hpp303 WImageBuffer(int width, int height, int nchannels) : WImage<T>(0) { in WImageBuffer() argument
304 Allocate(width, height, nchannels); in WImageBuffer()
313 void Allocate(int width, int height, int nchannels);
514 inline void WImageBuffer<T>::Allocate(int width, int height, int nchannels) in Allocate() argument
517 WImage<T>::Height() != height || WImage<T>::Channels() != nchannels) { in Allocate()
520 WImage<T>::Depth(), nchannels); in Allocate()
545 WImageView<T>::WImageView(T* data, int width, int height, int nchannels, int width_step) in WImageView() argument
548 cvInitImageHeader(&header_, cvSize(width, height), WImage<T>::Depth(), nchannels); in WImageView()
/external/opencv3/modules/features2d/src/kaze/
DAKAZEFeatures.cpp1618 int pattern_size, int nchannels) { in generateDescriptorSubsample() argument
1625 ssz *= nchannels; in generateDescriptorSubsample()
1634 Mat_<int> fullM(ssz / nchannels, 5); in generateDescriptorSubsample()
1652 Mat_<int> comps = Mat_<int>(nchannels * (int)ceil(nbits / (float)nchannels), 2); in generateDescriptorSubsample()
1657 int npicks = (int)ceil(nbits / (float)nchannels); in generateDescriptorSubsample()
1674 comps(i*nchannels, 0) = nchannels*j; in generateDescriptorSubsample()
1675 comps(i*nchannels + 1, 0) = nchannels*j + 1; in generateDescriptorSubsample()
1676 comps(i*nchannels + 2, 0) = nchannels*j + 2; in generateDescriptorSubsample()
1685 comps(i*nchannels, 0) = nchannels*count; in generateDescriptorSubsample()
1686 comps(i*nchannels + 1, 0) = nchannels*count + 1; in generateDescriptorSubsample()
[all …]
DAKAZEFeatures.h62 int nbits, int pattern_size, int nchannels);
/external/opencv/cxcore/include/
Dcvwimage.h310 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/opencv3/modules/highgui/src/
Dwindow_w32.cpp1512 int nchannels = 3; in HighGUIProc() local
1514 icvGetBitmapData( window, &size, &nchannels, 0 ); in HighGUIProc()
1528 if( 1 == nchannels ) in HighGUIProc()
1631 int nchannels = 3; in HighGUIProc() local
1638 icvGetBitmapData( window, &size, &nchannels, 0 ); in HighGUIProc()
1643 if( nchannels == 1 ) in HighGUIProc()
/external/opencv3/modules/objdetect/src/
Dcascadedetect.hpp41 int getNumChannels() const { return nchannels; } in getNumChannels()
70 int nchannels; member in cv::FeatureEvaluator
Dcascadedetect.cpp522 usbuf.create(sbufSize.height*nchannels, sbufSize.width, CV_32S); in setImage()
537 sbuf.create(sbufSize.height*nchannels, sbufSize.width, CV_32S); in setImage()
602 nchannels = 0; in HaarEvaluator()
636 nchannels = hasTiltedFeatures ? 3 : 2; in read()
831 nchannels = 1; in read()
/external/opencv/cxcore/src/
Dcxarray.cpp3259 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/opencv3/modules/core/src/
Darray.cpp2850 icvGetColorModel( int nchannels, const char** colorModel, const char** channelSeq ) in icvGetColorModel() argument
2860 nchannels--; in icvGetColorModel()
2863 if( (unsigned)nchannels <= 3 ) in icvGetColorModel()
2865 *colorModel = tab[nchannels][0]; in icvGetColorModel()
2866 *channelSeq = tab[nchannels][1]; in icvGetColorModel()
/external/esd/include/
Daudiofile.h469 void afInitChannels (AFfilesetup, int track, int nchannels);