/external/neven/Embedded/common/src/b_TensorEm/ |
D | Flt16Vec2D.c | 44 ptrA->xE = 0; in bts_Flt16Vec2D_init() 53 ptrA->xE = 0; in bts_Flt16Vec2D_exit() 71 ptrA->xE = srcPtrA->xE; in bts_Flt16Vec2D_copy() 82 if( ptrA->xE != srcPtrA->xE ) return FALSE; in bts_Flt16Vec2D_equal() 89 int32 xL = ( int32 ) srcPtrA->xE << bbpDiffL; in bts_Flt16Vec2D_equal() 91 if( ptrA->xE != xL ) return FALSE; in bts_Flt16Vec2D_equal() 94 if( srcPtrA->xE != ( xL >> bbpDiffL ) ) return FALSE; in bts_Flt16Vec2D_equal() 101 int32 xL = ( int32 ) ptrA->xE << -bbpDiffL; in bts_Flt16Vec2D_equal() 103 if( xL != srcPtrA->xE ) return FALSE; in bts_Flt16Vec2D_equal() 106 if( ptrA->xE != ( xL >> -bbpDiffL ) ) return FALSE; in bts_Flt16Vec2D_equal() [all …]
|
D | Int16Vec2D.c | 44 ptrA->xE = 0; in bts_Int16Vec2D_init() 52 ptrA->xE = 0; in bts_Int16Vec2D_exit() 102 memPtrA += bbs_memWrite16( &ptrA->xE, memPtrA ); in bts_Int16Vec2D_memWrite() 114 memPtrA += bbs_memRead16( &ptrA->xE, memPtrA ); in bts_Int16Vec2D_memRead() 132 return ( int32 ) vec1PtrA->xE * vec2PtrA->xE + ( int32 ) vec1PtrA->yE * vec2PtrA->yE; in bts_Int16Vec2D_dotPrd() 139 return ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE; in bts_Int16Vec2D_norm2() 146 return bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Int16Vec2D_norm() 153 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Int16Vec2D_normalize() 154 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Int16Vec2D_normalize() 156 ptrA->xE = xL >> ( 16 - bbpA ); in bts_Int16Vec2D_normalize() [all …]
|
D | Flt16Vec3D.c | 44 ptrA->xE = 0; in bts_Flt16Vec3D_init() 54 ptrA->xE = 0; in bts_Flt16Vec3D_exit() 75 if( ptrA->xE != srcPtrA->xE ) return FALSE; in bts_Flt16Vec3D_equal() 83 int32 xL = ( int32 ) srcPtrA->xE << bbpDiffL; in bts_Flt16Vec3D_equal() 86 if( ptrA->xE != xL ) return FALSE; in bts_Flt16Vec3D_equal() 94 int32 xL = ( int32 ) ptrA->xE << -bbpDiffL; in bts_Flt16Vec3D_equal() 97 if( xL != srcPtrA->xE ) return FALSE; in bts_Flt16Vec3D_equal() 172 vecL.xE = xA; in bts_Flt16Vec3D_create16() 186 vecL.xE = 0; in bts_Flt16Vec3D_create32() 198 vecL.xE = ( ( xA >> sh1L ) + 1 ) >> 1; in bts_Flt16Vec3D_create32() [all …]
|
D | Int16Vec3D.c | 86 memPtrA += bbs_memWrite16( &ptrA->xE, memPtrA ); in bts_Int16Vec3D_memWrite() 99 memPtrA += bbs_memRead16( &ptrA->xE, memPtrA ); in bts_Int16Vec3D_memRead() 117 return ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_norm2() 126 return bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_norm() 135 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_normalize() 139 int32 xL = ( ( int32 )ptrA->xE << 16 ) / normL; in bts_Int16Vec3D_normalize() 142 ptrA->xE = xL >> ( 16 - bbpA ); in bts_Int16Vec3D_normalize()
|
D | Cluster2D.c | 152 if( ( src1L->xE != src2L->xE ) || ( src1L->yE != src2L->yE ) ) return FALSE; in bts_Cluster2D_equal() 182 xL += vecPtrL->xE; in bts_Cluster2D_center() 204 sumL += vecPtrL->xE; in bts_Cluster2D_checkSum() 228 xMinL = bbs_min( xMinL, vecPtrL->xE ); in bts_Cluster2D_boundingBox() 230 xMaxL = bbs_max( xMaxL, vecPtrL->xE ); in bts_Cluster2D_boundingBox() 258 int32 xL = ptrA->vecArrE[ indexA ].xE; in bts_Cluster2D_int32X() 578 int32 pxL = srcPtrL->xE - cpL.xE; in bts_Cluster2D_alt() 580 int32 qxL = dstPtrL->xE - cqL.xE; in bts_Cluster2D_alt() 641 int32 pxL = srcPtrL->xE - cpL.xE; in bts_Cluster2D_alt() 643 int32 qxL = dstPtrL->xE - cqL.xE; in bts_Cluster2D_alt() [all …]
|
D | Cluster3D.c | 108 if( ( src1L->xE != src2L->xE ) || in bts_Cluster3D_equal() 141 xL += vecPtrL->xE; in bts_Cluster3D_center() 170 xMinL = bbs_min( xMinL, vecPtrL->xE ); in bts_Cluster3D_boundingBox() 172 xMaxL = bbs_max( xMaxL, vecPtrL->xE ); in bts_Cluster3D_boundingBox() 199 return ( int32 ) ptrA->vecArrE[ indexA ].xE << shiftL; in bts_Cluster3D_int32X() 203 return ( ( ( int32 ) ptrA->vecArrE[ indexA ].xE >> ( -shiftL - 1 ) ) + 1 ) >> 1; in bts_Cluster3D_int32X() 328 int32 x0L = altA.vecE.xE; in bts_Cluster3D_transform() 356 int32 xL = vecPtrL->xE; in bts_Cluster3D_transform() 359 …vecPtrL->xE = ( x0L + xL * altA.matE.xxE + yL * altA.matE.xyE + zL * altA.matE.xzE ) >> altA.matE.… in bts_Cluster3D_transform() 377 vecPtrL->xE -= centerL.xE; in bts_Cluster3D_centerFree()
|
D | RBFMap2D.c | 187 ptrA->rbfCoeffClusterE.vecArrE[ iL ].xE = 0; in bts_RBFMap2D_compute() 229 vecL.xE -= vec0L.xE; in bts_RBFMap2D_compute() 277 …for( iL = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( int32 )( dstVecL[ iL ].xE - altVecL[ iL ].xE ) <<… in bts_RBFMap2D_compute() 281 …0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( ( ( int32 )( dstVecL[ iL ].xE - altVecL[ iL ].xE ) >> ( ( -… in bts_RBFMap2D_compute() 303 ptrA->rbfCoeffClusterE.vecArrE[ iL ].xE = rbfCoeffL; in bts_RBFMap2D_compute() 445 outXL = altVecL.xE; in bts_RBFMap2D_mapVector() 482 int32 xL = vecA.xE; in bts_RBFMap2D_mapVector() 502 vecL.xE -= xL; in bts_RBFMap2D_mapVector() 508 xSumL += ( normL * ptrA->rbfCoeffClusterE.vecArrE[ iL ].xE ) >> shiftL; in bts_RBFMap2D_mapVector() 574 struct bts_Flt16Vec2D srcVecL = bts_Flt16Vec2D_create16( vecL.xE, vecL.yE, bbpL ); in bts_RBFMap2D_mapCluster() [all …]
|
D | Flt16Mat3D.c | 265 …int32 xL = ( int32 ) matPtrA->xxE * vecPtrA->xE + ( int32 ) matPtrA->xyE * vecPtrA->yE + ( int32 )… in bts_Flt16Mat3D_map() 266 …int32 yL = ( int32 ) matPtrA->yxE * vecPtrA->xE + ( int32 ) matPtrA->yyE * vecPtrA->yE + ( int32 )… in bts_Flt16Mat3D_map() 267 …int32 zL = ( int32 ) matPtrA->zxE * vecPtrA->xE + ( int32 ) matPtrA->zyE * vecPtrA->yE + ( int32 )… in bts_Flt16Mat3D_map() 272 vecL.xE = ( ( xL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat3D_map() 279 vecL.xE = xL << -matPtrA->bbpE; in bts_Flt16Mat3D_map() 293 int32 xL = ( ( ( ( int32 ) matPtrA->xxE * vecPtrA->xE + 1 ) >> 1 ) + in bts_Flt16Mat3D_mapFlt() 297 int32 yL = ( ( ( ( int32 ) matPtrA->yxE * vecPtrA->xE + 1 ) >> 1 ) + in bts_Flt16Mat3D_mapFlt() 301 int32 zL = ( ( ( ( int32 ) matPtrA->zxE * vecPtrA->xE + 1 ) >> 1 ) + in bts_Flt16Mat3D_mapFlt()
|
D | Flt16Alt3D.c | 207 vecL.xE += ( ( altPtrA->vecE.xE >> sh1L ) + 1 ) >> 1; in bts_Flt16Alt3D_mapFlt() 213 vecL.xE += altPtrA->vecE.xE << -shiftL; in bts_Flt16Alt3D_mapFlt()
|
D | Flt16Mat2D.c | 301 int32 xL = ( int32 ) matPtrA->xxE * vecPtrA->xE + ( int32 ) matPtrA->xyE * vecPtrA->yE; in bts_Flt16Mat2D_map() 302 int32 yL = ( int32 ) matPtrA->yxE * vecPtrA->xE + ( int32 ) matPtrA->yyE * vecPtrA->yE; in bts_Flt16Mat2D_map() 307 vecL.xE = ( ( xL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat2D_map() 313 vecL.xE = xL << -matPtrA->bbpE; in bts_Flt16Mat2D_map() 325 int32 xL = ( int32 ) matPtrA->xxE * vecPtrA->xE + ( int32 ) matPtrA->xyE * vecPtrA->yE; in bts_Flt16Mat2D_mapFlt() 326 int32 yL = ( int32 ) matPtrA->yxE * vecPtrA->xE + ( int32 ) matPtrA->yyE * vecPtrA->yE; in bts_Flt16Mat2D_mapFlt()
|
D | Int16Mat2D.c | 136 …vecL.xE = ( ( int32 ) matPtrA->xxE * vecPtrA->xE + ( int32 ) matPtrA->xyE * vecPtrA->yE ) >> matPt… in bts_Int16Mat2D_map() 137 …vecL.yE = ( ( int32 ) matPtrA->yxE * vecPtrA->xE + ( int32 ) matPtrA->yyE * vecPtrA->yE ) >> matPt… in bts_Int16Mat2D_map()
|
D | Flt16Alt2D.c | 293 …ptrA->vecE = bts_Flt16Vec2D_create32( - ( ( ( int32 ) ptrA->matE.xxE * ptrA->vecE.xE + ( int32 ) p… in bts_Flt16Alt2D_invert() 294 … - ( ( ( int32 ) ptrA->matE.yxE * ptrA->vecE.xE + ( int32 ) ptrA->matE.yyE * ptrA->vecE.yE ) ), in bts_Flt16Alt2D_invert()
|
D | Int16Vec3D.h | 42 int16 xE; member
|
D | Int16Vec2D.h | 43 int16 xE; member
|
D | Flt16Vec3D.h | 43 int16 xE; member
|
D | Flt16Vec2D.h | 43 int16 xE; member
|
/external/neven/Embedded/common/src/b_BitFeatureEm/ |
D | LocalScanner.c | 342 ptrA->xE = 0; in bbf_LocalScanner_init() 376 ptrA->xE = 0; in bbf_LocalScanner_exit() 454 return ( ptrA->yE - ptrA->workScanRegionE.y1E ) * wL + ( ptrA->xE - ptrA->workScanRegionE.x1E ); in bbf_LocalScanner_scanIndex() 461 *xPtrA = ( ( ptrA->xE << ptrA->scaleExpE ) + ptrA->xOffE ) << 16; in bbf_LocalScanner_pos() 631 ptrA->xE = ptrA->workScanRegionE.x1E; in bbf_LocalScanner_resetScan() 671 return ptrA->patchBufferE.arrPtrE + ptrA->xE; in bbf_LocalScanner_getPatch() 678 if( ( ptrA->xE + 1 ) < ptrA->workScanRegionE.x2E - ( int32 )ptrA->patchWidthE ) in bbf_LocalScanner_next() 680 ptrA->xE++; in bbf_LocalScanner_next() 686 ptrA->xE = ptrA->workScanRegionE.x1E; in bbf_LocalScanner_next() 695 uint32* dstL = ( uint32* )ptrA->patchBufferE.arrPtrE + ptrA->xE; in bbf_LocalScanner_next() [all …]
|
D | LocalScanDetector.c | 92 sumL += matPtrL[ 0 ] * ( vecArrL[ jL ].xE - avgPtrL[ 0 ] ); in bbf_LocalScanDetector_pcaMap() 113 vecArrL[ jL ].xE = ( ( sumL + 128 ) >> 8 ) + avgPtrL[ 0 ]; in bbf_LocalScanDetector_pcaMap() 541 altL.vecE.xE -= workAreaL.x1E << altL.vecE.bbpE; in bbf_LocalScanDetector_process() 547 wrkClPtrL->vecArrE[ iL ].xE -= workAreaL.x1E << wrkClPtrL->bbpE; in bbf_LocalScanDetector_process() 554 refClPtrL->vecArrE[ iL ].xE -= workAreaL.x1E << refClPtrL->bbpE; in bbf_LocalScanDetector_process() 600 int32 x0L = ( ( wrkClPtrL->vecArrE[ iL ].xE >> ( wrkClPtrL->bbpE - 1 ) ) + 1 ) >> 1; in bbf_LocalScanDetector_process() 625 dstVecArrL[ iL ].xE = ( ( xL >> ( 15 - vecBbpL ) ) + 1 ) >> 1; in bbf_LocalScanDetector_process() 646 …struct bts_Flt16Vec2D vecL = bts_Flt16Vec2D_create32( srcVecArrL[ iL ].xE, srcVecArrL[ iL ].yE, ve… in bbf_LocalScanDetector_process() 649 …vecL = bts_Flt16Vec2D_sub( vecL, bts_Flt16Vec2D_create32( dstVecArrL[ iL ].xE, dstVecArrL[ iL ].yE… in bbf_LocalScanDetector_process()
|
D | Scanner.c | 428 ptrA->xE = 0; in bbf_Scanner_init() 468 ptrA->xE = 0; in bbf_Scanner_exit() 517 ptrA->xE = srcPtrA->xE; in bbf_Scanner_copy() 584 return ptrA->yE * ptrA->currentWidthE + ptrA->xE; in bbf_Scanner_scanIndex() 593 *xPtrA = ( int32 )( ptrA->xE - ptrA->borderWidthE ) * ( int32 )( ptrA->scaleE >> 4 ); in bbf_Scanner_pos() 777 ptrA->xE = 0; in bbf_Scanner_resetScan() 837 return ptrA->patchBufferE.arrPtrE + ptrA->xE; in bbf_Scanner_getPatch() 844 if( ( ptrA->xE + 1 ) < ( int32 )( ptrA->currentWidthE - ptrA->patchWidthE ) ) in bbf_Scanner_next() 846 ptrA->xE++; in bbf_Scanner_next() 852 ptrA->xE = 0; in bbf_Scanner_next() [all …]
|
D | LocalScanner.h | 52 int32 xE; member
|
/external/neven/FaceRecEm/common/src/b_FDSDK/ |
D | DCR.c | 281 …nodePtrA->x = ( ( s16p16 )hdcrA->dcrE.sdkClusterE.clusterE.vecArrE[ indexA ].xE ) << ( 16 - hdcrA… in btk_DCR_getNode() 285 nodePtrA->x += ( int32 )hdcrA->dcrE.offsE.xE << 16; in btk_DCR_getNode() 333 …int32 lxL = ( hdcrA->dcrE.sdkClusterE.clusterE.vecArrE[ lIndexL ].xE + ( 1 << ( bbpL - 1 ) ) ) >> … in btk_DCR_getRect() 335 …int32 rxL = ( hdcrA->dcrE.sdkClusterE.clusterE.vecArrE[ rIndexL ].xE + ( 1 << ( bbpL - 1 ) ) ) >> … in btk_DCR_getRect() 354 pRectA->xMin += ( int32 )hdcrA->dcrE.offsE.xE << 16; in btk_DCR_getRect() 356 pRectA->xMax += ( int32 )hdcrA->dcrE.offsE.xE << 16; in btk_DCR_getRect()
|
/external/neven/Embedded/common/src/b_ImageEm/ |
D | UInt16ByteImage.c | 422 txL = ( int32 )invAlt2DL.vecE.xE >> shiftL; in bim_UInt16ByteImage_warp() 429 if( invAlt2DL.vecE.xE > maxInt32Value8bbpL || in bim_UInt16ByteImage_warp() 435 invAlt2DL.vecE.xE >> invAlt2DL.vecE.bbpE, in bim_UInt16ByteImage_warp() 440 txL = ( int32 )invAlt2DL.vecE.xE << -shiftL; in bim_UInt16ByteImage_warp() 721 txL = ( int32 )invAlt2DL.vecE.xE >> shiftL; in bim_UInt16ByteImage_warp8() 728 if( invAlt2DL.vecE.xE > maxInt32Value8bbpL || in bim_UInt16ByteImage_warp8() 734 invAlt2DL.vecE.xE >> invAlt2DL.vecE.bbpE, in bim_UInt16ByteImage_warp8() 739 txL = ( int32 )invAlt2DL.vecE.xE << -shiftL; in bim_UInt16ByteImage_warp8()
|
D | Functions.c | 132 txL = invAltL.vecE.xE << shlL; in bim_filterWarpInterpolation() 138 txL = ( ( invAltL.vecE.xE >> ( shrL - 1 ) ) + 1 ) >> 1; in bim_filterWarpInterpolation() 143 txL += ( int32 )offsPtrA->xE << 16; in bim_filterWarpInterpolation() 464 txL = invAltL.vecE.xE << shlL; in bim_filterWarpPixelReplication() 470 txL = ( ( invAltL.vecE.xE >> ( shrL - 1 ) ) + 1 ) >> 1; in bim_filterWarpPixelReplication() 475 txL += ( int32 )offsPtrA->xE << 16; in bim_filterWarpPixelReplication()
|
D | UInt8Image.c | 609 txL = invAlt2DL.vecE.xE >> shiftL; in bim_UInt8Image_warpOffs() 616 if( invAlt2DL.vecE.xE > maxInt32Value8bbpL || in bim_UInt8Image_warpOffs() 622 invAlt2DL.vecE.xE >> invAlt2DL.vecE.bbpE, in bim_UInt8Image_warpOffs() 627 txL = invAlt2DL.vecE.xE << -shiftL; in bim_UInt8Image_warpOffs()
|
/external/neven/Embedded/common/src/b_APIEm/ |
D | BFFaceFinder.c | 267 offsPtrA->xE = xL >> 16; in bpi_BFFaceFinder_process() 269 xL -= ( ( int32 )offsPtrA->xE << 16 ); in bpi_BFFaceFinder_process() 341 offsPtrA->xE = xL >> 16; in bpi_BFFaceFinder_getFace() 344 xL -= ( ( int32 )offsPtrA->xE << 16 ); in bpi_BFFaceFinder_getFace()
|