Home
last modified time | relevance | path

Searched refs:buf_sz (Results 1 – 6 of 6) 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/
Dvpxdec.c220 size_t *buf_sz, in read_frame() argument
250 if(nestegg_packet_data(input->pkt, input->chunk, buf, buf_sz)) in read_frame()
300 *buf_sz = new_buf_sz; in read_frame()
302 if (*buf_sz) in read_frame()
304 if (fread(*buf, 1, *buf_sz, infile) != *buf_sz) in read_frame()
701 size_t buf_sz = 0, buf_alloc_sz = 0; in main() local
1016 while (!read_frame(&input, &buf, &buf_sz, &buf_alloc_sz)) in main()
1024 if (vpx_codec_decode(&decoder, buf, buf_sz, NULL, 0)) in main()
Dvpxenc.c959 static const arg_def_t buf_sz = ARG_DEF(NULL, "buf-sz", 1, variable
969 &undershoot_pct, &overshoot_pct, &buf_sz, &buf_initial_sz, &buf_optimal_sz,
1290 else if (arg_match(&arg, &buf_sz, argi)) in main()
/external/llvm/lib/Support/Unix/
DPathV2.inc145 const size_t buf_sz = 32768;
146 char buffer[buf_sz];
172 (sz_read = ::read(from_fd, buffer, buf_sz)) > 0) {