Home
last modified time | relevance | path

Searched refs:buf_sz (Results 1 – 4 of 4) sorted by relevance

/external/opencv/ml/src/
Dmlknearest.cpp317 int i, count, count_scale, blk_count0, blk_count = 0, buf_sz, k1; in find_nearest() local
360 buf_sz = MIN( blk_count0 * count_scale, max_buf_sz ); in find_nearest()
361 blk_count0 = MAX( buf_sz/count_scale, 1 ); in find_nearest()
364 buf_sz = blk_count0 * count_scale + k*sizeof(float); in find_nearest()
368 if( buf_sz <= CV_MAX_LOCAL_SIZE ) in find_nearest()
370 buf = (float*)cvStackAlloc( buf_sz ); in find_nearest()
374 CV_CALL( buf = (float*)cvAlloc( buf_sz )); in find_nearest()
Dmlann_mlp.cpp217 int i, l_step, l_count, buf_sz = 0; in create() local
248 buf_sz += (l_dst[i-1]+1)*n; in create()
251 buf_sz += (l_dst[0] + l_dst[l_count-1]*2)*2; in create()
253 CV_CALL( wbuf = cvCreateMat( 1, buf_sz, CV_64F )); in create()
273 int i, j, n, dn = 0, l_count, dn0, buf_sz, min_buf_sz; in predict() local
295 buf_sz = n*min_buf_sz; in predict()
297 if( buf_sz > max_buf_sz ) in predict()
301 buf_sz = dn0*min_buf_sz; in predict()
304 buf = (double*)cvStackAlloc( buf_sz*sizeof(buf[0]) ); in predict()
1063 int i, ivcount, ovcount, l_count, total = 0, max_iter, buf_sz, dcount0, dcount=0; in train_rprop() local
[all …]
Dmlsvm.cpp1889 int var_count, buf_sz; in predict() local
1902 buf_sz = sv_total*sizeof(buffer[0]) + (class_count+1)*sizeof(int); in predict()
1903 if( buf_sz <= CV_MAX_LOCAL_SIZE ) in predict()
1905 CV_CALL( buffer = (Qfloat*)cvStackAlloc( buf_sz )); in predict()
1909 CV_CALL( buffer = (Qfloat*)cvAlloc( buf_sz )); in predict()
/external/libvpx/libvpx/
Dvpxenc.c282 static const arg_def_t buf_sz = ARG_DEF(NULL, "buf-sz", 1, variable
291 &min_quantizer, &max_quantizer, &undershoot_pct, &overshoot_pct, &buf_sz,
958 } else if (arg_match(&arg, &buf_sz, argi)) { in parse_stream_params()