/external/opencv/ml/src/ |
mlrtrees.cpp | 319 nsamples = data->sample_count; 327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 )); 336 CV_CALL(oob_responses = cvCreateMat( 2, nsamples, CV_32FC1 )); 341 CV_CALL(sample_idx_mask_for_tree = cvCreateMat( 1, nsamples, CV_8UC1 )); 342 CV_CALL(sample_idx_for_tree = cvCreateMat( 1, nsamples, CV_32SC1 )); 343 CV_CALL(oob_samples_perm_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); 344 CV_CALL(samples_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); 345 CV_CALL(missing_ptr = (uchar*)cvAlloc( sizeof(uchar)*nsamples*dims )); 346 CV_CALL(true_resp_ptr = (float*)cvAlloc( sizeof(float)*nsamples )); 351 CvMat responses = cvMat(1, nsamples, CV_32FC1, true_resp_ptr) [all...] |
mlem.cpp | 163 "floating-point matrix (CvMat) of 'nsamples' x 'nclusters' size" ); 175 "floating-point matrix (CvMat) of 'nsamples' x 'dims' size" ); 317 int i, nsamples, nclusters, dims; local 328 nsamples = train_data.count; 333 labels->cols != 1 && labels->rows != 1 || labels->cols + labels->rows - 1 != nsamples )) 337 if( nsamples <= nclusters ) 342 CV_CALL( probs = cvCreateMat( nsamples, nclusters, CV_64FC1 )); 372 for( i = 0; i < nsamples; i++ ) 406 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; local 408 if( params.start_step == START_AUTO_STEP || nclusters == 1 || nclusters == nsamples ) 494 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; local 585 int i, j, k, nsamples, dims; local 789 int nsamples = train_data.count, dims = train_data.dims, nclusters = params.nclusters; local [all...] |
mlnbayes.cpp | 122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; local 129 &nsamples, &_var_count, &_var_all, &responses, 196 for( s = 0; s < nsamples; s++ )
|
_ml.h | 230 int nsamples = (matrice)->rows; \ 239 for( i = 0; i < nsamples; i++, a.data.ptr += offset ) \
|
ml_inner_functions.cpp | 1896 int nclusters, nsamples; local [all...] |
/external/srec/audio/test/AudioInRecord/src/ |
AudioInRecord.c | 55 unsigned int nSamples; 89 nSamples = 0; 90 while (nSamples <= N_SAMPLES_TO_RECORD - N_SAMPLES_PER_BUFFER) 95 lhsErr = lhs_audioinGetSamples(hAudioIn, &u32NbrOfSamples, &(recordedSamples[nSamples]), &AudioInInfo); 97 nSamples += u32NbrOfSamples; 139 fwrite(recordedSamples, sizeof(typeSample), nSamples, fpOutput);
|
/external/chromium_org/third_party/opus/src/silk/ |
resampler.c | 181 opus_int nSamples; 188 nSamples = S->Fs_in_kHz - S->inputDelay; 191 silk_memcpy( &S->delayBuf[ S->inputDelay ], in, nSamples * sizeof( opus_int16 ) ); 196 silk_resampler_private_up2_HQ_wrapper( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); 200 silk_resampler_private_IIR_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); 204 silk_resampler_private_down_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); 208 silk_memcpy( &out[ S->Fs_out_kHz ], &in[ nSamples ], ( inLen - S->Fs_in_kHz ) * sizeof( opus_int16 ) );
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
AACEncoder.cpp | 242 const int32_t nSamples = mChannels * kNumSamplesPerFrame; 243 while (mNumInputSamples < nSamples) { 252 sizeof(int16_t) * (nSamples - mNumInputSamples)); 271 size_t copy = (nSamples - mNumInputSamples) * sizeof(int16_t); 291 if (mNumInputSamples >= nSamples) { 292 mNumInputSamples %= nSamples; 300 inputData.Length = nSamples * sizeof(int16_t);
|
/frameworks/av/media/libstagefright/ |
FLACExtractor.cpp | 125 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels); 383 static void copyMono8(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) 385 for (unsigned i = 0; i < nSamples; ++i) { 390 static void copyStereo8(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) 392 for (unsigned i = 0; i < nSamples; ++i) { 398 static void copyMultiCh8(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) 400 for (unsigned i = 0; i < nSamples; ++i) { 407 static void copyMono16(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels) 409 for (unsigned i = 0; i < nSamples; ++i) { 414 static void copyStereo16(short *dst, const int *const *src, unsigned nSamples, unsigned nChannels [all...] |
AudioSource.cpp | 362 void AudioSource::trackMaxAmplitude(int16_t *data, int nSamples) { 363 for (int i = nSamples; i > 0; --i) {
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/ |
fakeaudiocapturemodule_unittest.cc | 59 const uint32_t nSamples, 68 rec_buffer_bytes_ = nSamples * nBytesPerSample; 82 virtual int32_t NeedMorePlayData(const uint32_t nSamples, 89 const uint32_t audio_buffer_size = nSamples * nBytesPerSample;
|
/external/chromium_org/third_party/opus/src/src/ |
opus_compare.c | 57 size_t nsamples; local 62 nsamples=csamples=0; 66 if(nsamples+nread>csamples){ 68 while(nsamples+nread>csamples); 78 samples[(nsamples+xi)*_nchannels+ci]=s; 81 nsamples+=nread; 84 _nchannels*nsamples*sizeof(*samples)); 85 return nsamples;
|
/frameworks/base/media/java/android/media/ |
ResampleInputStream.java | 124 int nsamples = (mIn - mOut + mInputStream.available()) / 2; 125 return ((nsamples - mFirLength) * mRateOut / mRateIn) * 2;
|
/frameworks/av/include/media/stagefright/ |
AudioSource.h | 91 void trackMaxAmplitude(int16_t *data, int nSamples);
|
/external/openfst/src/include/fst/ |
randgen.h | 144 size_t nsamples; // # of samples to be sampled at this state member in struct:fst::RandState 150 : state_id(s), nsamples(n), length(l), select(k), parent(p) {} 153 : state_id(kNoStateId), nsamples(0), length(0), select(0), parent(0) {} 183 // Samples 'rstate.nsamples' from state 'state_id'. The 'rstate.length' is 198 for (size_t i = 0; i < rstate.nsamples; ++i) 210 // Returns a pair (N, K) where 0 <= N <= NumArcs(s) and 0 < K <= nsamples. 277 for (size_t i = 0; i < rstate.nsamples; ++i) 459 double prob = static_cast<double>(count)/rstate.nsamples;
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
noise_shape_analysis_FIX.c | 151 opus_int k, i, nSamples, Qnrg, b_Q14, warping_Q16, scale = 0; 207 nSamples = silk_LSHIFT( psEnc->sCmn.fs_kHz, 1 ); 212 silk_sum_sqr_shift( &nrg, &scale, pitch_res_ptr, nSamples ); 213 nrg += silk_RSHIFT( nSamples, scale ); /* Q(-scale)*/ 220 pitch_res_ptr += nSamples;
|
/external/chromium_org/third_party/opus/src/silk/float/ |
noise_shape_analysis_FLP.c | 136 opus_int k, nSamples; 182 nSamples = 2 * psEnc->sCmn.fs_kHz; 187 nrg = ( silk_float )nSamples + ( silk_float )silk_energy_FLP( pitch_res_ptr, nSamples ); 193 pitch_res_ptr += nSamples;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 154 nsamples = get_long_le(h[8:12]) 156 return 'sndt', rate, 1, nsamples, 8
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sndhdr.py | 154 nsamples = get_long_le(h[8:12]) 156 return 'sndt', rate, 1, nsamples, 8
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_texture.c | 102 surface->nsamples = ptex->nr_samples ? ptex->nr_samples : 1; 267 /* This should be 8,1, but we should set nsamples > 1 272 fmask.nsamples = 2; 276 fmask.nsamples = 4; 280 fmask.nsamples = 4; 322 fmask.npix_x, fmask.npix_y, fmask.bpe * fmask.nsamples, rtex->fmask_size); [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_texture.c | 102 surface->nsamples = ptex->nr_samples ? ptex->nr_samples : 1; 267 /* This should be 8,1, but we should set nsamples > 1 272 fmask.nsamples = 2; 276 fmask.nsamples = 4; 280 fmask.nsamples = 4; 322 fmask.npix_x, fmask.npix_y, fmask.bpe * fmask.nsamples, rtex->fmask_size); [all...] |
/external/llvm/test/Transforms/LoopDeletion/ |
2008-05-06-Phi.ll | 106 define i32 @lame_encode_buffer(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32 %mp3buf_size) nounwind {
|
/external/aac/libAACdec/src/ |
block.cpp | 684 int fr, fl, tl, nSamples, nSpec; 720 nSamples = imdct_block( 740 FDK_ASSERT(nSamples == frameLen);
|
/external/aac/libAACenc/src/ |
metadata_main.cpp | 235 const INT nSamples 486 const INT nSamples
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xcms.h | 772 unsigned int /* nsamples */
|