/external/neven/Embedded/common/src/b_TensorEm/ |
D | Flt16Alt2D.c | 44 bts_Flt16Mat2D_init( &ptrA->matE ); in bts_Flt16Alt2D_init() 52 bts_Flt16Mat2D_exit( &ptrA->matE ); in bts_Flt16Alt2D_exit() 70 bts_Flt16Mat2D_copy( &ptrA->matE, &srcPtrA->matE ); in bts_Flt16Alt2D_copy() 78 if( ! bts_Flt16Mat2D_equal( &ptrA->matE, &srcPtrA->matE ) ) return FALSE; in bts_Flt16Alt2D_equal() 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() 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() 182 altL.matE = bts_Flt16Mat2D_createRigid( angleA, scaleA, scaleBbpA ); in bts_Flt16Alt2D_createRigid() 183 altL.vecE = bts_Flt16Vec2D_sub( *centerPtrA, bts_Flt16Mat2D_mapFlt( &altL.matE, centerPtrA ) ); in bts_Flt16Alt2D_createRigid() [all …]
|
D | Mat.c | 48 bts_CompactMat_init( cpA, &ptrA->matE ); in bts_Mat_init() 56 bts_CompactMat_exit( cpA, &ptrA->matE ); in bts_Mat_exit() 75 bts_CompactMat_copy( cpA, &ptrA->matE, &srcPtrA->matE ); in bts_Mat_copy() 121 memSizeL += bts_CompactMat_memSize( cpA, &ptrA->matE ); in bts_Mat_memSize() 136 memPtrA += bts_CompactMat_memWrite( cpA, &ptrA->matE, memPtrA ); in bts_Mat_memWrite() 155 memPtrA += bts_CompactMat_memRead( cpA, &ptrA->matE, memPtrA, espL ); in bts_Mat_memRead() 185 if( inVecPtrA->arrE.sizeE != ptrL->matE.widthE ) in bts_Mat_map() 191 if( outVecPtrA->arrE.allocatedSizeE < ptrL->matE.heightE ) in bts_Mat_map() 197 bts_Flt16Vec_size( cpA, outVecPtrA, ptrL->matE.heightE ); in bts_Mat_map() 202 bts_CompactMat_map( cpA, &ptrL->matE, inVecPtrA->arrE.arrPtrE, outVecPtrA->arrE.arrPtrE, &expL ); in bts_Mat_map()
|
D | Flt16Alt3D.c | 44 bts_Flt16Mat3D_init( &ptrA->matE ); in bts_Flt16Alt3D_init() 52 bts_Flt16Mat3D_exit( &ptrA->matE ); in bts_Flt16Alt3D_exit() 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() 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() 169 altL.matE = bts_Flt16Mat3D_create16( xxA, xyA, xzA, in bts_Flt16Alt3D_create16() 188 altL.matE = bts_Flt16Mat3D_create32( xxA, xyA, xzA, in bts_Flt16Alt3D_create32() 202 struct bts_Flt16Vec3D vecL = bts_Flt16Mat3D_mapFlt( &altPtrA->matE, vecPtrA ); in bts_Flt16Alt3D_mapFlt() 227 altL.matE = bts_Flt16Mat3D_mul( &alt1PtrA->matE, &alt2PtrA->matE ); in bts_Flt16Alt3D_mul()
|
D | CompactAlt.c | 46 bts_CompactMat_init( cpA, &ptrA->matE ); in bts_CompactAlt_init() 56 bts_CompactMat_exit( cpA, &ptrA->matE ); in bts_CompactAlt_exit() 94 bts_CompactMat_create( cpA, &ptrA->matE, widthA, heightA, bitsA, maxRowSizeA, mspA ); in bts_CompactAlt_create() 106 bts_CompactMat_copy( cpA, &ptrA->matE, &srcPtrA->matE ); in bts_CompactAlt_copy() 126 + bts_CompactMat_memSize( cpA, &ptrA->matE ) in bts_CompactAlt_memSize() 140 memPtrA += bts_CompactMat_memWrite( cpA, &ptrA->matE, memPtrA ); in bts_CompactAlt_memWrite() 157 memPtrA += bts_CompactMat_memRead( cpA, &ptrA->matE, memPtrA, mspA ); in bts_CompactAlt_memRead() 188 uint32 sizeL = ptrA->matE.heightE; in bts_CompactAlt_map() 192 bts_CompactMat_map( cpA, &ptrA->matE, inVecA, outVecA, &mapExpL ); in bts_CompactAlt_map() 223 bbs_memset16( outVecA, 0, ptrA->matE.heightE ); in bts_CompactAlt_map()
|
D | Cluster3D.c | 332 int32 shiftL = altA.matE.bbpE + ptrA->bbpE - altA.vecE.bbpE; in bts_Cluster3D_transform() 347 if( altA.matE.bbpE > 0 ) in bts_Cluster3D_transform() 349 x0L += (int32)1 << ( altA.matE.bbpE - 1 ); in bts_Cluster3D_transform() 350 y0L += (int32)1 << ( altA.matE.bbpE - 1 ); in bts_Cluster3D_transform() 351 z0L += (int32)1 << ( altA.matE.bbpE - 1 ); 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() 360 …vecPtrL->yE = ( y0L + xL * altA.matE.yxE + yL * altA.matE.yyE + zL * altA.matE.yzE ) >> altA.matE.… in bts_Cluster3D_transform() 361 …vecPtrL->zE = ( z0L + xL * altA.matE.zxE + yL * altA.matE.zyE + zL * altA.matE.zzE ) >> altA.matE.… in bts_Cluster3D_transform()
|
D | RBFMap2D.c | 53 bts_Int32Mat_init( cpA, &ptrA->matE ); in bts_RBFMap2D_init() 73 bts_Int32Mat_exit( cpA, &ptrA->matE ); in bts_RBFMap2D_exit() 142 bts_Int32Mat_create( cpA, &ptrA->matE, sizeA, mspA ); in bts_RBFMap2D_create() 203 ptrA->matE.widthE = sizeL; in bts_RBFMap2D_compute() 220 int32* ptrL = ptrA->matE.arrE.arrPtrE + iL * sizeL; in bts_RBFMap2D_compute() 250 int32* basePtrL = ptrA->matE.arrE.arrPtrE; in bts_RBFMap2D_compute() 286 ptrA->matE.arrE.arrPtrE, in bts_RBFMap2D_compute() 319 ptrA->matE.arrE.arrPtrE, in bts_RBFMap2D_compute() 405 bts_Int32Mat_create( cpA, &ptrA->matE, ptrA->srcClusterE.sizeE, mspA ); in bts_RBFMap2D_memRead()
|
D | Alt.c | 183 if( inVecPtrA->arrE.sizeE != ptrL->altE.matE.widthE ) in bts_Alt_map() 189 if( outVecPtrA->arrE.allocatedSizeE < ptrL->altE.matE.heightE ) in bts_Alt_map() 195 bts_Flt16Vec_size( cpA, outVecPtrA, ptrL->altE.matE.heightE ); in bts_Alt_map()
|
D | Cluster2D.c | 611 altL.matE = bts_Flt16Mat2D_createScale( factor32L, bbp_scaleL ); 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() 805 altL.matE = bts_Flt16Mat2D_create32( -cL, rL, -rL, -cL, bbp_crL ); in bts_Cluster2D_alt() 819 bts_Flt16Mat2D_scale( &altL.matE, scaleL, bbp_scaleL ); in bts_Cluster2D_alt() 820 cpMappedL = bts_Flt16Mat2D_mapFlt( &altL.matE, &cpL ); in bts_Cluster2D_alt() 974 altL.matE = bts_Flt16Mat2D_create32( xxL, xyL, yxL, yyL, bbp_enumL ); in bts_Cluster2D_alt() 977 cpMappedL = bts_Flt16Mat2D_mapFlt( &altL.matE, &cpL ); in bts_Cluster2D_alt()
|
D | Mat.h | 52 struct bts_CompactMat matE; member
|
D | CompactAlt.h | 48 struct bts_CompactMat matE; member
|
D | RBFMap2D.h | 85 struct bts_Int32Mat matE; member
|
D | Flt16Alt3D.h | 44 struct bts_Flt16Mat3D matE; member
|
D | Flt16Alt2D.h | 44 struct bts_Flt16Mat2D matE; member
|
/external/neven/Embedded/common/src/b_ImageEm/ |
D | UInt16ByteImage.c | 383 shiftL = invAlt2DL.matE.bbpE - bbpL; in bim_UInt16ByteImage_warp() 386 mxxL = ( int32 )invAlt2DL.matE.xxE >> shiftL; in bim_UInt16ByteImage_warp() 387 mxyL = ( int32 )invAlt2DL.matE.xyE >> shiftL; in bim_UInt16ByteImage_warp() 388 myxL = ( int32 )invAlt2DL.matE.yxE >> shiftL; in bim_UInt16ByteImage_warp() 389 myyL = ( int32 )invAlt2DL.matE.yyE >> shiftL; in bim_UInt16ByteImage_warp() 395 if( invAlt2DL.matE.xxE > maxInt32Value8bbpL || in bim_UInt16ByteImage_warp() 396 invAlt2DL.matE.xyE > maxInt32Value8bbpL || in bim_UInt16ByteImage_warp() 397 invAlt2DL.matE.yxE > maxInt32Value8bbpL || in bim_UInt16ByteImage_warp() 398 invAlt2DL.matE.yyE > maxInt32Value8bbpL ) in bim_UInt16ByteImage_warp() 403 invAlt2DL.matE.xxE >> invAlt2DL.matE.bbpE, in bim_UInt16ByteImage_warp() [all …]
|
D | UInt8Image.c | 569 shiftL = invAlt2DL.matE.bbpE - bbpL; in bim_UInt8Image_warpOffs() 572 mxxL = invAlt2DL.matE.xxE >> shiftL; in bim_UInt8Image_warpOffs() 573 mxyL = invAlt2DL.matE.xyE >> shiftL; in bim_UInt8Image_warpOffs() 574 myxL = invAlt2DL.matE.yxE >> shiftL; in bim_UInt8Image_warpOffs() 575 myyL = invAlt2DL.matE.yyE >> shiftL; in bim_UInt8Image_warpOffs() 581 if( invAlt2DL.matE.xxE > maxInt32Value8bbpL || in bim_UInt8Image_warpOffs() 582 invAlt2DL.matE.xyE > maxInt32Value8bbpL || in bim_UInt8Image_warpOffs() 583 invAlt2DL.matE.yxE > maxInt32Value8bbpL || in bim_UInt8Image_warpOffs() 584 invAlt2DL.matE.yyE > maxInt32Value8bbpL ) in bim_UInt8Image_warpOffs() 589 invAlt2DL.matE.xxE >> invAlt2DL.matE.bbpE, in bim_UInt8Image_warpOffs() [all …]
|
D | Functions.c | 101 if( w0L == 0 || h0L == 0 || bts_Flt16Mat2D_det( &altPtrA->matE ) == 0 ) in bim_filterWarpInterpolation() 112 if( invAltL.matE.bbpE <= 16 ) in bim_filterWarpInterpolation() 114 uint32 shlL = 16 - invAltL.matE.bbpE; in bim_filterWarpInterpolation() 115 mxxL = invAltL.matE.xxE << shlL; in bim_filterWarpInterpolation() 116 mxyL = invAltL.matE.xyE << shlL; in bim_filterWarpInterpolation() 117 myxL = invAltL.matE.yxE << shlL; in bim_filterWarpInterpolation() 118 myyL = invAltL.matE.yyE << shlL; in bim_filterWarpInterpolation() 122 uint32 shrL = invAltL.matE.bbpE - 16; in bim_filterWarpInterpolation() 123 mxxL = ( ( invAltL.matE.xxE >> ( shrL - 1 ) ) + 1 ) >> 1; in bim_filterWarpInterpolation() 124 mxyL = ( ( invAltL.matE.xyE >> ( shrL - 1 ) ) + 1 ) >> 1; in bim_filterWarpInterpolation() [all …]
|