/external/neven/Embedded/common/src/b_TensorEm/ |
D | Flt16Alt2D.c | 147 struct bts_Flt16Alt2D altL = { { 1, 0, 0, 1, 0 }, { 0, 0, 0 } }; in bts_Flt16Alt2D_createIdentity() local 148 return altL; in bts_Flt16Alt2D_createIdentity() 156 struct bts_Flt16Alt2D altL; in bts_Flt16Alt2D_createRotation() local 157 altL.matE = bts_Flt16Mat2D_createRotation( angleA ); in bts_Flt16Alt2D_createRotation() 158 altL.vecE = bts_Flt16Vec2D_sub( *centerPtrA, bts_Flt16Mat2D_mapFlt( &altL.matE, centerPtrA ) ); in bts_Flt16Alt2D_createRotation() 159 return altL; in bts_Flt16Alt2D_createRotation() 168 struct bts_Flt16Alt2D altL; in bts_Flt16Alt2D_createScale() local 169 altL.matE = bts_Flt16Mat2D_createScale( scaleA, scaleBbpA ); in bts_Flt16Alt2D_createScale() 170 altL.vecE = bts_Flt16Vec2D_sub( *centerPtrA, bts_Flt16Mat2D_mapFlt( &altL.matE, centerPtrA ) ); in bts_Flt16Alt2D_createScale() 171 return altL; in bts_Flt16Alt2D_createScale() [all …]
|
D | Flt16Alt3D.c | 130 struct bts_Flt16Alt3D altL = { { 1, 0, 0, in bts_Flt16Alt3D_createIdentity() local 133 return altL; in bts_Flt16Alt3D_createIdentity() 142 struct bts_Flt16Alt3D altL; in bts_Flt16Alt3D_createScale() local 143 altL.matE = bts_Flt16Mat3D_createScale( scaleA, scaleBbpA ); in bts_Flt16Alt3D_createScale() 144 altL.vecE = bts_Flt16Vec3D_sub( *centerPtrA, bts_Flt16Mat3D_mapFlt( &altL.matE, centerPtrA ) ); in bts_Flt16Alt3D_createScale() 145 return altL; in bts_Flt16Alt3D_createScale() 153 struct bts_Flt16Alt3D altL; in bts_Flt16Alt3D_createLinear() local 154 altL.matE = *matPtrA; in bts_Flt16Alt3D_createLinear() 155 altL.vecE = bts_Flt16Vec3D_sub( *centerPtrA, bts_Flt16Mat3D_mapFlt( &altL.matE, centerPtrA ) ); in bts_Flt16Alt3D_createLinear() 156 return altL; in bts_Flt16Alt3D_createLinear() [all …]
|
D | Cluster2D.c | 514 struct bts_Flt16Alt2D altL = bts_Flt16Alt2D_createIdentity(); in bts_Cluster2D_alt() local 552 return altL; in bts_Cluster2D_alt() 561 altL.vecE = bts_Flt16Vec2D_sub( cqL, cpL ); in bts_Cluster2D_alt() 562 return altL; in bts_Cluster2D_alt() 611 altL.matE = bts_Flt16Mat2D_createScale( factor32L, bbp_scaleL ); in bts_Cluster2D_alt() 616 altL.vecE = bts_Flt16Vec2D_sub( cqL, cpMappedL ); in bts_Cluster2D_alt() 618 return altL; in bts_Cluster2D_alt() 793 altL.matE = bts_Flt16Mat2D_create32( cL, -rL, rL, cL, bbp_crL ); in bts_Cluster2D_alt() 797 altL.matE = bts_Flt16Mat2D_create32( cL, rL, -rL, cL, bbp_crL ); in bts_Cluster2D_alt() 801 altL.matE = bts_Flt16Mat2D_create32( -cL, -rL, rL, -cL, bbp_crL ); in bts_Cluster2D_alt() [all …]
|
/external/neven/Embedded/common/src/b_APIEm/ |
D | BFFaceFinder.c | 248 struct bts_Flt16Alt2D altL; in bpi_BFFaceFinder_process() local 273 altL = bts_Flt16Alt2D_createScale( scaleL, 20, ¢erL ); in bpi_BFFaceFinder_process() 274 altL.vecE = bts_Flt16Vec2D_create32( xL, yL, 16 ); in bpi_BFFaceFinder_process() 283 bts_IdCluster2D_copyTransform( cpA, idClusterPtrA, &ptrA->detectorE.refClusterE, altL, bbpL ); in bpi_BFFaceFinder_process() 319 struct bts_Flt16Alt2D altL; in bpi_BFFaceFinder_getFace() local 348 altL = bts_Flt16Alt2D_createScale( scaleL, 20, ¢erL ); in bpi_BFFaceFinder_getFace() 349 altL.vecE = bts_Flt16Vec2D_create32( xL, yL, 16 ); in bpi_BFFaceFinder_getFace() 358 bts_IdCluster2D_copyTransform( cpA, idClusterPtrA, &ptrA->detectorE.refClusterE, altL, bbpL ); in bpi_BFFaceFinder_getFace()
|
/external/neven/Embedded/common/src/b_BitFeatureEm/ |
D | LocalScanDetector.c | 47 struct bts_Flt16Alt2D altL; in bbf_LocalScanDetector_pcaMap() local 58 altL = bts_Cluster2D_alt( cpA, tmpCl1PtrL, tmpCl2PtrL, bts_ALT_RIGID ); in bbf_LocalScanDetector_pcaMap() 59 bts_Cluster2D_transform( cpA, tmpCl1PtrL, altL ); in bbf_LocalScanDetector_pcaMap() 130 …Transform( cpA, &outClusterPtrA->clusterE, tmpCl1PtrL, bts_Flt16Alt2D_inverted( &altL ), outBbpL ); in bbf_LocalScanDetector_pcaMap() 483 struct bts_Flt16Alt2D altL; in bbf_LocalScanDetector_process() local 499 altL = bts_Cluster2D_alt( cpA, wrkClPtrL, refClPtrL, bts_ALT_RIGID ); in bbf_LocalScanDetector_process() 502 bts_Cluster2D_transformBbp( cpA, wrkClPtrL, altL, 6 ); in bbf_LocalScanDetector_process() 541 altL.vecE.xE -= workAreaL.x1E << altL.vecE.bbpE; in bbf_LocalScanDetector_process() 542 altL.vecE.yE -= workAreaL.y1E << altL.vecE.bbpE; in bbf_LocalScanDetector_process() 563 &altL, in bbf_LocalScanDetector_process() [all …]
|