Searched refs:block_size (Results 226 - 250 of 320) sorted by path

1234567891011>>

/external/opencv/cv/src/
H A Dcvhaar.cpp134 int block_size = sizeof(*cascade) + stage_count*sizeof(*cascade->stage_classifier); local
139 CV_CALL( cascade = (CvHaarClassifierCascade*)cvAlloc( block_size ));
140 memset( cascade, 0, block_size );
H A Dcvsegmentation.cpp72 int i, count = (storage->block_size - sizeof(CvMemBlock))/sizeof(*n) - 1;
/external/opencv/cvaux/src/
H A Dcvbgfg_codebook.cpp134 nblocks = (int)((model->storage->block_size - sizeof(CvMemBlock))/sizeof(*freeList));
/external/opencv/cxcore/include/
H A Dcxcore.h928 block_size == 0 means that default,
930 CVAPI(CvMemStorage*) cvCreateMemStorage( int block_size CV_DEFAULT(0));
H A Dcxtypes.h1166 int block_size; /* Block size. */ member in struct:CvMemStorage
/external/opencv/cxcore/src/
H A Dcxconvert.cpp664 int block_size = MIN( remaining, block_size0 ); \
672 for( i = 0; i <= block_size - 2; i += 2, \
678 if( i < block_size ) \
684 for( i=0; i <= block_size-2; i+=2, d+=dd*2 )\
686 if( i < block_size ) \
691 remaining -= block_size; \
H A Dcxdatastructs.cpp44 ((schar*)(storage)->top + (storage)->block_size - (storage)->free_space)
83 icvInitMemStorage( CvMemStorage* storage, int block_size )
92 if( block_size <= 0 )
93 block_size = CV_STORAGE_BLOCK_SIZE;
95 block_size = cvAlign( block_size, CV_STRUCT_ALIGN );
100 storage->block_size = block_size;
108 cvCreateMemStorage( int block_size )
117 CV_CALL( icvInitMemStorage( storage, block_size ));
1461 int block_size; local
1586 int block_size; local
[all...]
H A Dcxmathfuncs.cpp328 int block_size = 0; local
391 block_size = MIN( size.width, ICV_MATH_BLOCK_SIZE );
394 x_buffer = (float*)cvStackAlloc( block_size*sizeof(float));
395 y_buffer = (float*)cvStackAlloc( block_size*sizeof(float));
399 mag_buffer = (float*)cvStackAlloc( block_size*sizeof(float));
411 for( x = 0; x < size.width; x += block_size )
413 int len = MIN( size.width - x, block_size );
440 for( x = 0; x < size.width; x += block_size )
442 int len = MIN( size.width - x, block_size );
568 int block_size local
1708 int block_size = 0; local
[all...]
H A Dcxmatmul.cpp609 const int block_size = block_lin_size * block_lin_size; local
1142 dk0_1 = block_size / dm0;
1143 dk0_2 = block_size / dn0;
1146 if( dk0*dm0 > block_size )
1147 dm0 = block_size / dk0;
1148 if( dk0*dn0 > block_size )
1149 dn0 = block_size / dk0;
H A Dcxmean.cpp133 #define ICV_MEAN_ENTRY_BLOCK_COMMON( block_size ) \
134 int remaining = block_size; \
137 #define ICV_MEAN_ENTRY_BLOCK_C1( sumtype, worktype, block_size )\
140 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size )
142 #define ICV_MEAN_ENTRY_BLOCK_C2( sumtype, worktype, block_size )\
145 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size )
147 #define ICV_MEAN_ENTRY_BLOCK_C3( sumtype, worktype, block_size )\
150 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size )
152 #define ICV_MEAN_ENTRY_BLOCK_C4( sumtype, worktype, block_size )\
155 ICV_MEAN_ENTRY_BLOCK_COMMON( block_size )
[all...]
H A Dcxmeansdv.cpp270 #define ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size ) \
271 int remaining = block_size; \
275 worktype, sqworktype, block_size ) \
280 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size )
283 worktype, sqworktype, block_size ) \
288 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size )
291 worktype, sqworktype, block_size ) \
296 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size )
299 worktype, sqworktype, block_size ) \
304 ICV_MEAN_SDV_ENTRY_BLOCK_COMMON( block_size )
[all...]
H A Dcxnorm.cpp130 below accumulates the norm by blocks of size "block_size".
139 post_func, arrtype, normtype, worktype, block_size ) \
143 int remaining = block_size; \
159 remaining = block_size; \
173 post_func, arrtype, normtype, worktype, block_size ) \
197 post_func, arrtype, normtype, worktype, block_size ) \
218 normtype, worktype, block_size ) \
222 int remaining = block_size; \
240 remaining = block_size; \
255 arrtype, normtype, worktype, block_size ) \
[all...]
H A Dcxsumpixels.cpp141 #define ICV_SUM_ENTRY_BLOCK_COMMON( block_size ) \
142 int remaining = block_size; \
145 #define ICV_SUM_ENTRY_BLOCK_C1( sumtype, worktype, block_size ) \
148 ICV_SUM_ENTRY_BLOCK_COMMON( block_size )
150 #define ICV_SUM_ENTRY_BLOCK_C2( sumtype, worktype, block_size ) \
153 ICV_SUM_ENTRY_BLOCK_COMMON( block_size )
155 #define ICV_SUM_ENTRY_BLOCK_C3( sumtype, worktype, block_size ) \
158 ICV_SUM_ENTRY_BLOCK_COMMON( block_size )
160 #define ICV_SUM_ENTRY_BLOCK_C4( sumtype, worktype, block_size ) \
163 ICV_SUM_ENTRY_BLOCK_COMMON( block_size )
[all...]
/external/opencv/ml/src/
H A Dmlsvm.cpp459 if( rows_hdr_size > storage->block_size )
1538 int block_size = 1 << 16; local
1560 block_size = MAX( block_size, sample_count*(int)sizeof(CvSVMKernelRow));
1561 block_size = MAX( block_size, sample_count*2*(int)sizeof(double) + 1024 );
1562 block_size = MAX( block_size, sample_size*2 + 1024 );
1564 CV_CALL( storage = cvCreateMemStorage(block_size));
1606 int block_size local
2205 int block_size = 1 << 16, sv_size; local
[all...]
/external/opencv/otherlibs/highgui/
H A Dbitstrm.cpp177 void RBaseStream::SetBlockSize( int block_size, int unGetsize ) argument
179 assert( unGetsize >= 0 && block_size > 0 &&
180 (block_size & (block_size-1)) == 0 );
182 if( m_start && block_size == m_block_size && unGetsize == m_unGetsize ) return;
184 m_block_size = block_size;
799 void WBaseStream::SetBlockSize( int block_size )
801 assert( block_size > 0 && (block_size & (block_size
[all...]
H A Dbitstrm.h69 void SetBlockSize( int block_size, int unGetsize = 4 );
169 void SetBlockSize( int block_size );
/external/openssl/crypto/engine/
H A Deng_cryptodev.c377 if ((inl % ctx->cipher->block_size) != 0)
/external/openssl/crypto/evp/
H A De_aes.c276 size_t bl = ctx->cipher->block_size;
657 size_t bl = ctx->cipher->block_size;
H A Devp.h179 int block_size; member in struct:env_md_st
306 int block_size; member in struct:evp_cipher_st
H A Devp_enc.c215 OPENSSL_assert(ctx->cipher->block_size == 1
216 || ctx->cipher->block_size == 8
217 || ctx->cipher->block_size == 16);
258 ctx->block_mask=ctx->cipher->block_size-1;
343 bl=ctx->cipher->block_size;
403 b=ctx->cipher->block_size;
462 b=ctx->cipher->block_size;
518 b=(unsigned int)(ctx->cipher->block_size);
H A Devp_lib.c183 return e->block_size;
188 return ctx->cipher->block_size;
253 return md->block_size;
H A Devp_locl.h65 bl = ctx->cipher->block_size;\
133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \
137 nid##_##nmode, block_size, key_len, iv_len, \
149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \
152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \
172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
176 nid, block_size, key_len, iv_len, cbits, flags, \
178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
184 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le
[all...]
H A Dopenbsd_hw.c170 assert((inl&(ctx->cipher->block_size-1)) == 0);
/external/openssl/include/openssl/
H A Devp.h179 int block_size; member in struct:env_md_st
306 int block_size; member in struct:evp_cipher_st
/external/openssl/ssl/
H A Ds2_enc.c142 bs=ds->cipher->block_size;

Completed in 521 milliseconds

1234567891011>>