Home
last modified time | relevance | path

Searched refs:sizeE (Results 1 – 25 of 48) sorted by relevance

12

/external/neven/Embedded/common/src/b_TensorEm/
DCluster3D.c48 ptrA->sizeE = 0; in bts_Cluster3D_init()
61 ptrA->sizeE = 0; in bts_Cluster3D_exit()
80 if( ptrA->allocatedSizeE < srcPtrA->sizeE ) in bts_Cluster3D_copy()
87 …emcpy16( ptrA->vecArrE, srcPtrA->vecArrE, bbs_SIZEOF16( struct bts_Int16Vec3D ) * srcPtrA->sizeE ); in bts_Cluster3D_copy()
90 ptrA->sizeE = srcPtrA->sizeE; in bts_Cluster3D_copy()
103 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bts_Cluster3D_equal()
106 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bts_Cluster3D_equal()
137 if( ptrA->sizeE == 0 ) return bts_Flt16Vec3D_create16( 0, 0, 0, 0 ); in bts_Cluster3D_center()
139 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bts_Cluster3D_center()
147 xL = ( ( ( xL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster3D_center()
[all …]
DSubVecMap.c48 ptrA->sizeE = -1; in bts_SubVecMap_init()
58 ptrA->sizeE = -1; in bts_SubVecMap_exit()
76 ptrA->sizeE = srcPtrA->sizeE; in bts_SubVecMap_copy()
86 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bts_SubVecMap_equal()
123 memSizeL += bbs_SIZEOF16( ptrA->sizeE ); in bts_SubVecMap_memSize()
139 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA ); in bts_SubVecMap_memWrite()
156 memPtrA += bbs_memRead32( &ptrA->sizeE, memPtrA ); in bts_SubVecMap_memRead()
186 int32 sizeL = ( ptrL->sizeE != -1 ) ? ptrL->sizeE : ( int32 )inVecPtrA->arrE.sizeE - ptrL->offsetE; in bts_SubVecMap_map()
189 if( ( ptrL->offsetE + sizeL ) > ( int32 )inVecPtrA->arrE.sizeE ) in bts_SubVecMap_map()
DCluster2D.c92 ptrA->sizeE = 0; in bts_Cluster2D_init()
105 ptrA->sizeE = 0; in bts_Cluster2D_exit()
124 if( ptrA->allocatedSizeE < srcPtrA->sizeE ) in bts_Cluster2D_copy()
131 …emcpy32( ptrA->vecArrE, srcPtrA->vecArrE, bbs_SIZEOF32( struct bts_Int16Vec2D ) * srcPtrA->sizeE ); in bts_Cluster2D_copy()
134 ptrA->sizeE = srcPtrA->sizeE; in bts_Cluster2D_copy()
147 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bts_Cluster2D_equal()
150 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bts_Cluster2D_equal()
178 if( ptrA->sizeE == 0 ) return bts_Flt16Vec2D_create16( 0, 0, 0 ); in bts_Cluster2D_center()
180 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bts_Cluster2D_center()
187 xL = ( ( ( xL << 1 ) / ( int32 )ptrA->sizeE ) + 1 ) >> 1; in bts_Cluster2D_center()
[all …]
DMapSequence.c49 ptrA->sizeE = 0; in bts_MapSequence_init()
60 for( iL = 0; iL < ptrA->sizeE; iL++ ) bts_vectorMapExit( cpA, ptrA->ptrArrE[ iL ] ); in bts_MapSequence_exit()
63 ptrA->sizeE = 0; in bts_MapSequence_exit()
131 memSizeL += bbs_SIZEOF16( ptrA->sizeE ); in bts_MapSequence_memSize()
133 for( iL = 0; iL < ptrA->sizeE; iL++ ) memSizeL += bts_vectorMapMemSize( cpA, ptrA->ptrArrE[ iL ] ); in bts_MapSequence_memSize()
149 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA ); in bts_MapSequence_memWrite()
151 …for( iL = 0; iL < ptrA->sizeE; iL++ ) memPtrA += bts_vectorMapMemWrite( cpA, ptrA->ptrArrE[ iL ], … in bts_MapSequence_memWrite()
171 memPtrA += bbs_memRead32( &ptrA->sizeE, memPtrA ); in bts_MapSequence_memRead()
180 uint32 dataSizeL = ptrA->sizeE * bbs_SIZEOF16( struct bts_VectorMap* ); in bts_MapSequence_memRead()
182 for( iL = 0; iL < ptrA->sizeE; iL++ ) in bts_MapSequence_memRead()
[all …]
DFlt16Vec.c100 uint16 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_avg()
114 return bbs_vecNorm16( ptrA->arrE.arrPtrE, ptrA->arrE.sizeE ); in bts_Flt16Vec_norm()
122 uint16 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_maxAbs()
239 uint32 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_maximizeMantisse()
258 uint32 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_maximizeAbsValue()
271 uint16 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_zeroAverage()
292 uint16 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_normalize()
348 uint32 sizeL = ptrA->arrE.sizeE; in bts_Flt16Vec_mul()
396 uint16 sizeL = vp1A->arrE.sizeE; in bts_Flt16Vec_dotPtrd()
402 if( vp1A->arrE.sizeE != vp2A->arrE.sizeE ) in bts_Flt16Vec_dotPtrd()
[all …]
DRBFMap2D.c156 const uint32 sizeL = srcPtrA->sizeE; in bts_RBFMap2D_compute()
165 if( dstPtrA->sizeE != srcPtrA->sizeE ) in bts_RBFMap2D_compute()
168 "but dst cluster has size %d\n", srcPtrA->sizeE, dstPtrA->sizeE ); in bts_RBFMap2D_compute()
405 bts_Int32Mat_create( cpA, &ptrA->matE, ptrA->srcClusterE.sizeE, mspA ); in bts_RBFMap2D_memRead()
406 bts_Int32Mat_create( cpA, &ptrA->tempMatE, ptrA->srcClusterE.sizeE, mspA ); in bts_RBFMap2D_memRead()
432 const uint32 sizeL = ptrA->srcClusterE.sizeE; in bts_RBFMap2D_mapVector()
559 if( dstPtrA->sizeE != srcPtrA->sizeE ) in bts_RBFMap2D_mapCluster()
562 bts_Cluster2D_size( cpA, dstPtrA, srcPtrA->sizeE ); in bts_RBFMap2D_mapCluster()
571 for( iL = 0; iL < srcPtrA->sizeE; iL++ ) in bts_RBFMap2D_mapCluster()
DIdCluster2D.c235 uint32 size1L = inCluster1PtrA->clusterE.sizeE; in bts_IdCluster2D_convertToEqivalentClusters()
236 uint32 size2L = inCluster2PtrA->clusterE.sizeE; in bts_IdCluster2D_convertToEqivalentClusters()
DSubVecMap.h52 int32 sizeE; member
/external/neven/Embedded/common/src/b_BasicEm/
DInt16Arr.c48 ptrA->sizeE = 0; in bbs_Int16Arr_init()
61 ptrA->sizeE = 0; in bbs_Int16Arr_exit()
80 if( ptrA->allocatedSizeE < srcPtrA->sizeE ) in bbs_Int16Arr_copy()
87 bbs_Int16Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_Int16Arr_copy()
88 bbs_memcpy16( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF16( int16 ) ); in bbs_Int16Arr_copy()
100 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_Int16Arr_equal()
101 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_Int16Arr_equal()
141 if( ptrA->sizeE == sizeA ) return; in bbs_Int16Arr_create()
151 ptrA->sizeE = sizeA; in bbs_Int16Arr_create()
170 ptrA->sizeE = sizeA; in bbs_Int16Arr_createAligned()
[all …]
DUInt32Arr.c44 ptrA->sizeE = 0; in bbs_UInt32Arr_init()
57 ptrA->sizeE = 0; in bbs_UInt32Arr_exit()
83 bbs_UInt32Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_UInt32Arr_copy()
84 bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( uint32 ) ); in bbs_UInt32Arr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_UInt32Arr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_UInt32Arr_equal()
137 if( ptrA->sizeE == sizeA ) return; in bbs_UInt32Arr_create()
147 ptrA->sizeE = sizeA; in bbs_UInt32Arr_create()
165 ptrA->sizeE = sizeA; in bbs_UInt32Arr_size()
181 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_UInt32Arr_memSize()
[all …]
DInt32Arr.c44 ptrA->sizeE = 0; in bbs_Int32Arr_init()
57 ptrA->sizeE = 0; in bbs_Int32Arr_exit()
83 bbs_Int32Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_Int32Arr_copy()
84 bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( int32 ) ); in bbs_Int32Arr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_Int32Arr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_Int32Arr_equal()
137 if( ptrA->sizeE == sizeA ) return; in bbs_Int32Arr_create()
147 ptrA->sizeE = sizeA; in bbs_Int32Arr_create()
165 ptrA->sizeE = sizeA; in bbs_Int32Arr_size()
181 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_Int32Arr_memSize()
[all …]
DUInt8Arr.c44 ptrA->sizeE = 0; in bbs_UInt8Arr_init()
57 ptrA->sizeE = 0; in bbs_UInt8Arr_exit()
83 bbs_UInt8Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_UInt8Arr_copy()
84 bbs_memcpy16( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE >> 1 ); in bbs_UInt8Arr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_UInt8Arr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_UInt8Arr_equal()
137 if( ptrA->sizeE == sizeA ) return; in bbs_UInt8Arr_create()
152 ptrA->sizeE = sizeA; in bbs_UInt8Arr_create()
170 ptrA->sizeE = sizeA; in bbs_UInt8Arr_size()
186 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_UInt8Arr_memSize()
[all …]
DInt8Arr.c44 ptrA->sizeE = 0; in bbs_Int8Arr_init()
57 ptrA->sizeE = 0; in bbs_Int8Arr_exit()
83 bbs_Int8Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_Int8Arr_copy()
84 bbs_memcpy16( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE >> 1 ); in bbs_Int8Arr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_Int8Arr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_Int8Arr_equal()
137 if( ptrA->sizeE == sizeA ) return; in bbs_Int8Arr_create()
152 ptrA->sizeE = sizeA; in bbs_Int8Arr_create()
170 ptrA->sizeE = sizeA; in bbs_Int8Arr_size()
186 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_Int8Arr_memSize()
[all …]
DUInt16Arr.c44 ptrA->sizeE = 0; in bbs_UInt16Arr_init()
57 ptrA->sizeE = 0; in bbs_UInt16Arr_exit()
83 bbs_UInt16Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_UInt16Arr_copy()
84 bbs_memcpy16( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF16( uint16 ) ); in bbs_UInt16Arr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_UInt16Arr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_UInt16Arr_equal()
158 ptrA->sizeE = sizeA; in bbs_UInt16Arr_size()
169 if( ptrA->sizeE == sizeA ) return; in bbs_UInt16Arr_create()
179 ptrA->sizeE = sizeA; in bbs_UInt16Arr_create()
197 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_UInt16Arr_memSize()
[all …]
DComplexArr.c44 ptrA->sizeE = 0; in bbs_ComplexArr_init()
57 ptrA->sizeE = 0; in bbs_ComplexArr_exit()
83 bbs_ComplexArr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_ComplexArr_copy()
84 …bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( struct bbs_Complex )… in bbs_ComplexArr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_ComplexArr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_ComplexArr_equal()
146 ptrA->sizeE = sizeA; in bbs_ComplexArr_create()
164 ptrA->sizeE = sizeA; in bbs_ComplexArr_size()
181 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_ComplexArr_memSize()
182 ptrA->sizeE * bbs_SIZEOF16( struct bbs_Complex ); in bbs_ComplexArr_memSize()
[all …]
DAPhArr.c44 ptrA->sizeE = 0; in bbs_APhArr_init()
57 ptrA->sizeE = 0; in bbs_APhArr_exit()
83 bbs_APhArr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_APhArr_copy()
84 bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( struct bbs_APh ) ); in bbs_APhArr_copy()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_APhArr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_APhArr_equal()
146 ptrA->sizeE = sizeA; in bbs_APhArr_create()
164 ptrA->sizeE = sizeA; in bbs_APhArr_size()
180 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_APhArr_memSize()
181 ptrA->sizeE * bbs_SIZEOF16( struct bbs_APh ); in bbs_APhArr_memSize()
[all …]
DMemSeg.c45 ptrA->sizeE = 0; in bbs_MemSeg_init()
58 ptrA->sizeE = 0; in bbs_MemSeg_exit()
88 …return ( ptrA->sizeE == ptrA->allocIndexE ) ? 0 : ptrA->sizeE - ptrA->allocIndexE - 2 * ptrA->shar… in bbs_MemSeg_availableSize()
213 memSegL.sizeE = sizeA & 0xFFFFFFFE; /* enforce even size to avoid overflow problems */ in bbs_MemSeg_create()
228 memSegL.sizeE = sizeA; in bbs_MemSeg_createShared()
254 if( ptrA->allocIndexE + effSizeL > ptrA->sizeE ) in bbs_MemSeg_alloc()
258 "Exclusive Memory overflow. Segment size: %i. Requested size: %i", ptrA->sizeE, sizeA ); in bbs_MemSeg_alloc()
272 if( ptrA->allocIndexE + effSizeL > ptrA->sizeE + ( ptrA->sizeE & 1 ) ) in bbs_MemSeg_alloc()
278 "Shared Memory overflow. Segment size: %i. Requested size: %i", ptrA->sizeE, sizeA ); in bbs_MemSeg_alloc()
285 ptrA->sizeE = actualBlockSizeL; in bbs_MemSeg_alloc()
[all …]
DMemTbl.c109 ptrA->espArrE[ iL ]->sizeE, in bbs_MemTbl_overlap()
119 ptrA->ssArrE[ iL ].sizeE, in bbs_MemTbl_overlap()
242 if( ptrA->espArrE[ iL ]->sizeE > 0 || in bbs_MemTbl_segPtr()
274 if( ptrA->ssArrE[ iL ].sizeE > 0 || in bbs_MemTbl_sharedSegPtr()
/external/neven/Embedded/common/src/b_BitFeatureEm/
DSequence.c49 ptrA->sizeE = 0; in bbf_Sequence_init()
61 for( iL = 0; iL < ptrA->sizeE; iL++ ) bbf_featureExit( cpA, ptrA->ftrPtrArrE[ iL ] ); in bbf_Sequence_exit()
65 ptrA->sizeE = 0; in bbf_Sequence_exit()
132 memSizeL += bbs_SIZEOF16( ptrA->sizeE ); in bbf_Sequence_memSize()
135 …for( iL = 0; iL < ptrA->sizeE; iL++ ) memSizeL += bbf_featureMemSize( cpA, ptrA->ftrPtrArrE[ iL ] … in bbf_Sequence_memSize()
150 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA ); in bbf_Sequence_memWrite()
153 …for( iL = 0; iL < ptrA->sizeE; iL++ ) memPtrA += bbf_featureMemWrite( cpA, ptrA->ftrPtrArrE[ iL ],… in bbf_Sequence_memWrite()
172 memPtrA += bbs_memRead32( &ptrA->sizeE, memPtrA ); in bbf_Sequence_memRead()
174 if( ptrA->sizeE > bbf_SEQUENCE_MAX_SIZE ) in bbf_Sequence_memRead()
188 for( iL = 0; iL < ptrA->sizeE; iL++ ) in bbf_Sequence_memRead()
[all …]
DLocalScanDetector.c77 uint16 matWidthL = tmpCl1PtrL->sizeE * 2; in bbf_LocalScanDetector_pcaMap()
90 for( jL = 0; jL < tmpCl1PtrL->sizeE; jL++ ) in bbf_LocalScanDetector_pcaMap()
105 for( jL = 0; jL < tmpCl1PtrL->sizeE; jL++ ) in bbf_LocalScanDetector_pcaMap()
185 for( iL = 0; iL < ptrA->scanClusterE.sizeE; iL++ ) bbf_featureExit( cpA, ptrA->ftrPtrArrE[ iL ] ); in bbf_LocalScanDetector_exit()
297 …for( iL = 0; iL < ptrA->scanClusterE.sizeE; iL++ ) memSizeL += bbf_featureMemSize( cpA, ptrA->ftrP… in bbf_LocalScanDetector_memSize()
331 …for( iL = 0; iL < ptrA->scanClusterE.sizeE; iL++ ) memPtrA += bbf_featureMemWrite( cpA, ptrA->ftrP… in bbf_LocalScanDetector_memWrite()
376 for( iL = 0; iL < ptrA->scanClusterE.sizeE; iL++ ) in bbf_LocalScanDetector_memRead()
388 for( iL = 0; iL < ptrA->scanClusterE.sizeE; iL++ ) in bbf_LocalScanDetector_memRead()
487 uint32 sizeL = ptrA->scanClusterE.sizeE; in bbf_LocalScanDetector_process()
545 for( iL = 0; iL < wrkClPtrL->sizeE; iL++ ) in bbf_LocalScanDetector_process()
[all …]
DSequence.h59 uint32 sizeE; member
/external/neven/Embedded/common/src/b_ImageEm/
DHistoEq16.c55 for( iL = imagePtrA->arrE.sizeE; iL > 0; iL-- ) in bim_createHisto16()
149 for( kL = imagePtrA->arrE.sizeE; kL > 0; kL-- ) in bim_equalize16()
DHistoEq.c55 for( iL = imagePtrA->arrE.sizeE; iL > 0; iL-- ) in bim_createHisto()
144 for( kL = imagePtrA->arrE.sizeE; kL > 0; kL-- ) in bim_equalize()
DUInt8PyramidalImage.c340 uint8ImageA->arrE.sizeE = ptrA->widthE * ptrA->heightE; in bim_UInt8PyramidalImage_overlayUInt8()
386 if( srcPtrA->arrE.sizeE & 1 ) in bim_UInt8PyramidalImage_importUInt8()
395 bbs_memcpy16( dstPtrA->arrE.arrPtrE, srcPtrA->arrE.arrPtrE, srcPtrA->arrE.sizeE >> 1 ); in bim_UInt8PyramidalImage_importUInt8()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DDCR.c254 return hdcrA->dcrE.sdkClusterE.clusterE.sizeE; in btk_DCR_nodeCount()
273 if( indexA >= hdcrA->dcrE.sdkClusterE.clusterE.sizeE ) in btk_DCR_getNode()
312 for( iL = 0; iL < pIdArrL->sizeE; iL++ ) in btk_DCR_getRect()

12