/external/opencv/ml/src/ |
mlknearest.cpp | 317 int i, count, count_scale, blk_count0, blk_count = 0, buf_sz, k1; local 360 buf_sz = MIN( blk_count0 * count_scale, max_buf_sz ); 361 blk_count0 = MAX( buf_sz/count_scale, 1 ); 364 buf_sz = blk_count0 * count_scale + k*sizeof(float); 368 if( buf_sz <= CV_MAX_LOCAL_SIZE ) 370 buf = (float*)cvStackAlloc( buf_sz ); 374 CV_CALL( buf = (float*)cvAlloc( buf_sz ));
|
mlann_mlp.cpp | 217 int i, l_step, l_count, buf_sz = 0; local 248 buf_sz += (l_dst[i-1]+1)*n; 251 buf_sz += (l_dst[0] + l_dst[l_count-1]*2)*2; 253 CV_CALL( wbuf = cvCreateMat( 1, buf_sz, CV_64F )); 273 int i, j, n, dn = 0, l_count, dn0, buf_sz, min_buf_sz; local 295 buf_sz = n*min_buf_sz; 297 if( buf_sz > max_buf_sz ) 301 buf_sz = dn0*min_buf_sz; 304 buf = (double*)cvStackAlloc( buf_sz*sizeof(buf[0]) ); 1063 int i, ivcount, ovcount, l_count, total = 0, max_iter, buf_sz, dcount0, dcount=0 local [all...] |
mlsvm.cpp | 1889 int var_count, buf_sz; local [all...] |
/external/libvpx/libvpx/ |
vpxdec.c | 227 size_t *buf_sz, 257 if(nestegg_packet_data(input->pkt, input->chunk, buf, buf_sz)) 307 *buf_sz = new_buf_sz; 311 if (fread(*buf, 1, *buf_sz, infile) != *buf_sz) 706 size_t buf_sz = 0, buf_alloc_sz = 0; local 1036 while (!read_frame(&input, &buf, &buf_sz, &buf_alloc_sz)) 1045 if (vpx_codec_decode(&decoder, buf, (unsigned int)buf_sz, NULL, 0)) [all...] |
vpxenc.c | 1077 static const arg_def_t buf_sz = ARG_DEF(NULL, "buf-sz", 1, variable 1087 &undershoot_pct, &overshoot_pct, &buf_sz, &buf_initial_sz, &buf_optimal_sz, [all...] |