Home
last modified time | relevance | path

Searched refs:nsamples (Results 1 – 17 of 17) sorted by relevance

/external/opencv/ml/src/
Dmlrtrees.cpp319 nsamples = data->sample_count; in grow_forest()
327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 )); in grow_forest()
336 CV_CALL(oob_responses = cvCreateMat( 2, nsamples, CV_32FC1 )); in grow_forest()
341 CV_CALL(sample_idx_mask_for_tree = cvCreateMat( 1, nsamples, CV_8UC1 )); in grow_forest()
342 CV_CALL(sample_idx_for_tree = cvCreateMat( 1, nsamples, CV_32SC1 )); in grow_forest()
343 CV_CALL(oob_samples_perm_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest()
344 CV_CALL(samples_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest()
345 CV_CALL(missing_ptr = (uchar*)cvAlloc( sizeof(uchar)*nsamples*dims )); in grow_forest()
346 CV_CALL(true_resp_ptr = (float*)cvAlloc( sizeof(float)*nsamples )); in grow_forest()
351 CvMat responses = cvMat(1, nsamples, CV_32FC1, true_resp_ptr); in grow_forest()
[all …]
Dmlem.cpp317 int i, nsamples, nclusters, dims; in train() local
328 nsamples = train_data.count; in train()
333 labels->cols != 1 && labels->rows != 1 || labels->cols + labels->rows - 1 != nsamples )) in train()
337 if( nsamples <= nclusters ) in train()
342 CV_CALL( probs = cvCreateMat( nsamples, nclusters, CV_64FC1 )); in train()
372 for( i = 0; i < nsamples; i++ ) in train()
406 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; in init_em() local
408 if( params.start_step == START_AUTO_STEP || nclusters == 1 || nclusters == nsamples ) in init_em()
412 for( i = 0; i < nsamples; i++ ) in init_em()
494 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; in init_auto() local
[all …]
D_ml.h230 int nsamples = (matrice)->rows; \
239 for( i = 0; i < nsamples; i++, a.data.ptr += offset ) \
Dmlnbayes.cpp122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; in train() local
129 &nsamples, &_var_count, &_var_all, &responses, in train()
196 for( s = 0; s < nsamples; s++ ) in train()
Dml_inner_functions.cpp1896 int nclusters, nsamples; in icvFindClusterLabels() local
1904 nsamples = probs->rows; in icvFindClusterLabels()
1905 CV_ASSERT( nsamples == labels->cols ); in icvFindClusterLabels()
1909 for( i = 0; i < nsamples; i++ ) in icvFindClusterLabels()
1915 CV_ASSERT((int)cvSum(counts).val[0] == nsamples); in icvFindClusterLabels()
1927 for( i = 0; i < nsamples; i++, probs_data++ ) in icvFindClusterLabels()
/external/libdrm/radeon/
Dradeon_surface.c174 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify()
186 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
332 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
367 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
379 surf->nsamples * surf->bpe * 64, in r6_surface_init_2d()
380 xalign * yalign * surf->nsamples * surf->bpe); in r6_surface_init_2d()
406 if (surf->nsamples > 1) { in r6_surface_init()
430 if (surf->nsamples > 1) { in r6_surface_init()
583 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in eg_surf_minify()
600 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
[all …]
Dradeon_surface.h120 uint32_t nsamples; member
/external/libopus/src/
Dopus_compare.c57 size_t nsamples; in read_pcm16() local
62 nsamples=csamples=0; in read_pcm16()
66 if(nsamples+nread>csamples){ in read_pcm16()
68 while(nsamples+nread>csamples); in read_pcm16()
78 samples[(nsamples+xi)*_nchannels+ci]=s; in read_pcm16()
81 nsamples+=nread; in read_pcm16()
84 _nchannels*nsamples*sizeof(*samples)); in read_pcm16()
85 return nsamples; in read_pcm16()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Dunittest.cc70 int nsamples = T::DecodeInternal(inst, encoded.data(), encoded.size(), in DecodePacket() local
72 EXPECT_GT(nsamples, 0); in DecodePacket()
73 EXPECT_LE(static_cast<size_t>(nsamples), decoded.size()); in DecodePacket()
74 decoded.resize(nsamples); in DecodePacket()
/external/pdfium/third_party/libtiff/
Dtif_pixarlog.c747 tmsize_t nsamples; in PixarLogDecode() local
753 nsamples = occ / sizeof(float); /* XXX float == 32 bits */ in PixarLogDecode()
758 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */ in PixarLogDecode()
762 nsamples = occ; in PixarLogDecode()
780 sp->stream.avail_out = (uInt) (nsamples * sizeof(uint16)); in PixarLogDecode()
781 if (sp->stream.avail_out != nsamples * sizeof(uint16)) in PixarLogDecode()
823 TIFFSwabArrayOfShort(up, nsamples); in PixarLogDecode()
830 if (nsamples % llen) { in PixarLogDecode()
833 "%lu, data truncated.", (unsigned long) llen, (unsigned long) nsamples); in PixarLogDecode()
834 nsamples -= nsamples % llen; in PixarLogDecode()
[all …]
Dtif_getimage.c2314 int nsamples = 8 / bitspersample; in makebwmap() local
2318 if( nsamples == 0 ) in makebwmap()
2319 nsamples = 1; in makebwmap()
2322 256*sizeof (uint32 *)+(256*nsamples*sizeof(uint32))); in makebwmap()
2449 int nsamples = 8 / bitspersample; in makecmap() local
2457 256*sizeof (uint32 *)+(256*nsamples*sizeof(uint32))); in makecmap()
/external/tcpdump/
Dprint-sflow.c828 uint32_t nsamples; in sflow_print() local
856 nsamples=EXTRACT_32BITS(sflow_datagram->samples); in sflow_print()
864 nsamples, in sflow_print()
871 while (nsamples > 0 && tlen > 0) { in sflow_print()
928 nsamples--; in sflow_print()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c102 surface->nsamples = ptex->nr_samples ? ptex->nr_samples : 1; in r600_init_surface()
272 fmask.nsamples = 2; in r600_texture_get_fmask_info()
276 fmask.nsamples = 4; in r600_texture_get_fmask_info()
280 fmask.nsamples = 4; in r600_texture_get_fmask_info()
322 fmask.npix_x, fmask.npix_y, fmask.bpe * fmask.nsamples, rtex->fmask_size); in r600_texture_allocate_fmask()
/external/swiftshader/third_party/LLVM/test/Transforms/LoopDeletion/
D2008-05-06-Phi.ll106 …r(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32…
/external/llvm/test/Transforms/LoopDeletion/
D2008-05-06-Phi.ll106 …r(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32…
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_texture.c93 surface->nsamples = 1; in r600_init_surface()
/external/opencv/ml/include/
Dml.h1007 int nsamples; variable