/external/neven/Embedded/common/src/b_BitFeatureEm/ |
D | Sequence.c | 233 const struct bbf_Sequence* ptrL = ( struct bbf_Sequence* )ptrA; in bbf_Sequence_activity() local 237 int32 sizeL = ptrL->sizeE; in bbf_Sequence_activity() 244 if( ptrL->wgtArrE.sizeE == 0 ) in bbf_Sequence_activity() 246 for( iL = 0; iL < ptrL->sizeE; iL++ ) in bbf_Sequence_activity() 249 …int32 actL = ptrL->ftrPtrArrE[ iL ]->vpActivityE( ptrL->ftrPtrArrE[ iL ], patchA ) - ptrL->thrArrE… in bbf_Sequence_activity() 256 for( iL = 0; iL < ptrL->sizeE; iL++ ) in bbf_Sequence_activity() 259 …int32 actL = ptrL->ftrPtrArrE[ iL ]->vpActivityE( ptrL->ftrPtrArrE[ iL ], patchA ) - ptrL->thrArrE… in bbf_Sequence_activity() 260 int32 wgtL = ptrL->wgtArrE.arrPtrE[ iL ]; in bbf_Sequence_activity()
|
D | I04Dns2x2Ftr.c | 191 const struct bbf_I04Dns2x2Ftr* ptrL = ( struct bbf_I04Dns2x2Ftr* )ptrA; in bbf_I04Dns2x2Ftr_activity() local 195 const uint32* ptnPtrL = ptrL->ptnArrE.arrPtrE; in bbf_I04Dns2x2Ftr_activity() 196 const int16* tableL = ptrL->tableE.arrPtrE; in bbf_I04Dns2x2Ftr_activity() 201 uint32 wL = ptrL->baseE.patchWidthE - 1; in bbf_I04Dns2x2Ftr_activity() 202 uint32 hL = ptrL->baseE.patchHeightE - 1; in bbf_I04Dns2x2Ftr_activity() 206 uint32 blocksL = ptrL->baseE.patchHeightE >> 2; /* number of 4 bit blocks */ in bbf_I04Dns2x2Ftr_activity() 254 …return sumL * ( ptrL->activityFactorE >> 8 ) + ( ( sumL * ( int32 )( ptrL->activityFactorE & 0x0FF… in bbf_I04Dns2x2Ftr_activity()
|
D | I04Dns2x4Ftr.c | 191 const struct bbf_I04Dns2x4Ftr* ptrL = ( struct bbf_I04Dns2x4Ftr* )ptrA; in bbf_I04Dns2x4Ftr_activity() local 193 uint32 wL = ptrL->baseE.patchWidthE - 1; in bbf_I04Dns2x4Ftr_activity() 194 uint32 hL = ptrL->baseE.patchHeightE - 3; in bbf_I04Dns2x4Ftr_activity() 196 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_I04Dns2x4Ftr_activity() 197 const int16* tableL = ptrL->tableE.arrPtrE; in bbf_I04Dns2x4Ftr_activity() 199 uint32 blocksL = ptrL->baseE.patchHeightE >> 2; in bbf_I04Dns2x4Ftr_activity() 283 …return sumL * ( ptrL->activityFactorE >> 8 ) + ( ( sumL * ( int32 )( ptrL->activityFactorE & 0x0FF… in bbf_I04Dns2x4Ftr_activity()
|
D | L04Dns2x2Ftr.c | 191 const struct bbf_L04Dns2x2Ftr* ptrL = ( struct bbf_L04Dns2x2Ftr* )ptrA; in bbf_L04Dns2x2Ftr_activity() local 193 uint32 wL = ptrL->baseE.patchWidthE - 1; in bbf_L04Dns2x2Ftr_activity() 194 uint32 hL = ptrL->baseE.patchHeightE - 1; in bbf_L04Dns2x2Ftr_activity() 196 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L04Dns2x2Ftr_activity() 234 return actL * ptrL->activityFactorE + sumL * ptrL->wShiftE; in bbf_L04Dns2x2Ftr_activity()
|
D | I04Tld2x4Ftr.c | 191 const struct bbf_I04Tld2x4Ftr* ptrL = ( struct bbf_I04Tld2x4Ftr* )ptrA; in bbf_I04Tld2x4Ftr_activity() local 195 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_I04Tld2x4Ftr_activity() 196 const int16* tableL = ptrL->tableE.arrPtrE; in bbf_I04Tld2x4Ftr_activity() 201 for( iL = ptrL->baseE.patchWidthE >> 3; iL > 0; iL-- ) in bbf_I04Tld2x4Ftr_activity() 276 …return sumL * ( ptrL->activityFactorE >> 8 ) + ( ( sumL * ( int32 )( ptrL->activityFactorE & 0x0FF… in bbf_I04Tld2x4Ftr_activity()
|
D | L01Dns2x4Ftr.c | 184 const struct bbf_L01Dns2x4Ftr* ptrL = ( struct bbf_L01Dns2x4Ftr* )ptrA; in bbf_L01Dns2x4Ftr_activity() local 186 uint32 wL = ptrL->baseE.patchWidthE - 1; in bbf_L01Dns2x4Ftr_activity() 187 uint32 hL = ptrL->baseE.patchHeightE - 3; in bbf_L01Dns2x4Ftr_activity() 189 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L01Dns2x4Ftr_activity() 261 return actL * ptrL->activityFactorE; in bbf_L01Dns2x4Ftr_activity()
|
D | L04Dns2x4Ftr.c | 184 const struct bbf_L04Dns2x4Ftr* ptrL = ( struct bbf_L04Dns2x4Ftr* )ptrA; in bbf_L04Dns2x4Ftr_activity() local 186 uint32 wL = ptrL->baseE.patchWidthE - 1; in bbf_L04Dns2x4Ftr_activity() 187 uint32 hL = ptrL->baseE.patchHeightE - 3; in bbf_L04Dns2x4Ftr_activity() 189 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L04Dns2x4Ftr_activity() 266 return actL * ptrL->activityFactorE; in bbf_L04Dns2x4Ftr_activity()
|
D | L06DnsNx4x4Ftr.c | 191 const struct bbf_L06DnsNx4x4Ftr* ptrL = ( struct bbf_L06DnsNx4x4Ftr* )ptrA; in bbf_L06DnsNx4x4Ftr_activity() local 193 uint32 wL = ptrL->baseE.patchWidthE - 3; in bbf_L06DnsNx4x4Ftr_activity() 194 uint32 hL = ptrL->baseE.patchHeightE - 3; in bbf_L06DnsNx4x4Ftr_activity() 195 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L06DnsNx4x4Ftr_activity() 203 for( jL = 0 ; jL < ptrL->layersE; jL++ ) in bbf_L06DnsNx4x4Ftr_activity() 317 return actL * ptrL->activityFactorE; in bbf_L06DnsNx4x4Ftr_activity()
|
D | L01Tld1x1Ftr.c | 185 const struct bbf_L01Tld1x1Ftr* ptrL = ( struct bbf_L01Tld1x1Ftr* )ptrA; in bbf_L01Tld1x1Ftr_activity() local 189 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L01Tld1x1Ftr_activity() 194 for( iL = ptrL->baseE.patchWidthE >> 2; iL > 0; iL-- ) in bbf_L01Tld1x1Ftr_activity() 213 return bsL * ptrL->activityFactorE; in bbf_L01Tld1x1Ftr_activity()
|
D | L06Dns3x3Ftr.c | 184 const struct bbf_L06Dns3x3Ftr* ptrL = ( struct bbf_L06Dns3x3Ftr* )ptrA; in bbf_L06Dns3x3Ftr_activity() local 186 uint32 wL = ptrL->baseE.patchWidthE - 2; in bbf_L06Dns3x3Ftr_activity() 187 uint32 hL = ptrL->baseE.patchHeightE - 2; in bbf_L06Dns3x3Ftr_activity() 188 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L06Dns3x3Ftr_activity() 292 return actL * ptrL->activityFactorE; in bbf_L06Dns3x3Ftr_activity()
|
D | L04Dns3x3Ftr.c | 184 const struct bbf_L04Dns3x3Ftr* ptrL = ( struct bbf_L04Dns3x3Ftr* )ptrA; in bbf_L04Dns3x3Ftr_activity() local 186 uint32 wL = ptrL->baseE.patchWidthE - 2; in bbf_L04Dns3x3Ftr_activity() 187 uint32 hL = ptrL->baseE.patchHeightE - 2; in bbf_L04Dns3x3Ftr_activity() 188 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L04Dns3x3Ftr_activity() 286 return actL * ptrL->activityFactorE; in bbf_L04Dns3x3Ftr_activity()
|
D | L06Dns4x4Ftr.c | 184 const struct bbf_L06Dns4x4Ftr* ptrL = ( struct bbf_L06Dns4x4Ftr* )ptrA; in bbf_L06Dns4x4Ftr_activity() local 186 uint32 wL = ptrL->baseE.patchWidthE - 3; in bbf_L06Dns4x4Ftr_activity() 187 uint32 hL = ptrL->baseE.patchHeightE - 3; in bbf_L06Dns4x4Ftr_activity() 188 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L06Dns4x4Ftr_activity() 308 return actL * ptrL->activityFactorE; in bbf_L06Dns4x4Ftr_activity()
|
D | L04Tld2x4Ftr.c | 184 const struct bbf_L04Tld2x4Ftr* ptrL = ( struct bbf_L04Tld2x4Ftr* )ptrA; in bbf_L04Tld2x4Ftr_activity() local 186 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L04Tld2x4Ftr_activity() 193 for( iL = ptrL->baseE.patchWidthE >> 3; iL > 0; iL-- ) in bbf_L04Tld2x4Ftr_activity() 271 return actL * ptrL->activityFactorE; in bbf_L04Tld2x4Ftr_activity()
|
D | L01Tld2x4Ftr.c | 184 const struct bbf_L01Tld2x4Ftr* ptrL = ( struct bbf_L01Tld2x4Ftr* )ptrA; in bbf_L01Tld2x4Ftr_activity() local 186 const uint32* dataPtrL = ptrL->dataArrE.arrPtrE; in bbf_L01Tld2x4Ftr_activity() 194 for( iL = ptrL->baseE.patchWidthE >> 3; iL > 0; iL-- ) in bbf_L01Tld2x4Ftr_activity() 268 return actL * ptrL->activityFactorE; in bbf_L01Tld2x4Ftr_activity()
|
/external/neven/Embedded/common/src/b_TensorEm/ |
D | Int32Mat.c | 41 int32* ptrL = ptrA; in bts_Int32Mat_reduceToNBits() local 45 int32 xL = *ptrL++; in bts_Int32Mat_reduceToNBits() 55 ptrL = ptrA; in bts_Int32Mat_reduceToNBits() 59 *ptrL = ( ( *ptrL >> ( shiftL - 1 ) ) + 1 ) >> 1; in bts_Int32Mat_reduceToNBits() 60 ptrL++; in bts_Int32Mat_reduceToNBits() 333 int32* ptrL = matL; in bts_Int32Mat_solve2() local 336 *ptrL = ( *ptrL + 1 ) >> 1; in bts_Int32Mat_solve2() 337 ptrL++; in bts_Int32Mat_solve2() 342 ptrL = vecL; in bts_Int32Mat_solve2() 345 *ptrL = ( *ptrL + 1 ) >> 1; in bts_Int32Mat_solve2() [all …]
|
D | MapSequence.c | 233 struct bts_MapSequence* ptrL = ( struct bts_MapSequence* )ptrA; in bts_MapSequence_map() local 234 if( ptrL->sizeE == 0 ) in bts_MapSequence_map() 238 else if( ptrL->sizeE == 1 ) in bts_MapSequence_map() 240 struct bts_VectorMap* mapPtrL = ptrL->ptrArrE[ 0 ]; in bts_MapSequence_map() 246 struct bts_Flt16Vec* vp1L = &ptrL->vecE; in bts_MapSequence_map() 248 struct bts_VectorMap* mapPtrL = ptrL->ptrArrE[ 0 ]; in bts_MapSequence_map() 251 for( iL = 1; iL < ptrL->sizeE; iL++ ) in bts_MapSequence_map() 253 mapPtrL = ptrL->ptrArrE[ iL ]; in bts_MapSequence_map()
|
D | SubVecMap.c | 184 struct bts_SubVecMap* ptrL = ( struct bts_SubVecMap* )ptrA; in bts_SubVecMap_map() local 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() 203 bbs_memcpy16( outVecPtrA->arrE.arrPtrE, inVecPtrA->arrE.arrPtrE + ptrL->offsetE, sizeL ); in bts_SubVecMap_map()
|
D | Alt.c | 181 const struct bts_Alt* ptrL = ( const struct bts_Alt* )ptrA; in bts_Alt_map() local 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() 197 …bts_CompactAlt_map( cpA, &ptrL->altE, inVecPtrA->arrE.arrPtrE, inVecPtrA->expE, outVecPtrA->arrE.a… in bts_Alt_map()
|
D | Mat.c | 183 const struct bts_Mat* ptrL = ( const struct bts_Mat* )ptrA; in bts_Mat_map() local 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()
|
/external/neven/Embedded/common/src/b_APIEm/ |
D | BFFaceFinder.c | 251 struct bpi_BFFaceFinder* ptrL = ( struct bpi_BFFaceFinder* )ptrA; in bpi_BFFaceFinder_process() local 254 ptrL->detectedFacesE = 0; in bpi_BFFaceFinder_process() 255 ptrL->availableFacesE = 0; in bpi_BFFaceFinder_process() 256 ptrL->faceDataBufferE = NULL; in bpi_BFFaceFinder_process() 299 struct bpi_BFFaceFinder* ptrL = ( struct bpi_BFFaceFinder* )ptrA; in bpi_BFFaceFinder_multiProcess() local 300 …ptrL->detectedFacesE = bbf_ScanDetector_process( cpA, ( struct bbf_ScanDetector* )&ptrA->detectorE… in bpi_BFFaceFinder_multiProcess() 301 ptrL->availableFacesE = ptrA->detectedFacesE > 0 ? ptrA->detectedFacesE : 1; in bpi_BFFaceFinder_multiProcess() 303 return ptrL->detectedFacesE; in bpi_BFFaceFinder_multiProcess()
|
/external/neven/Embedded/common/src/b_ImageEm/ |
D | ComplexImage.c | 114 const struct bbs_Complex* ptrL = ptrA->arrE.arrPtrE; in bim_ComplexImage_checkSum() local 117 sumL += ptrL->imagE + ptrL->realE; in bim_ComplexImage_checkSum() 118 ptrL++; in bim_ComplexImage_checkSum() 256 struct bbs_Complex* ptrL = ptrA->arrE.arrPtrE; in bim_ComplexImage_setAllPixels() local 259 *ptrL++ = valueA; in bim_ComplexImage_setAllPixels()
|
D | UInt32Image.c | 122 const uint32* ptrL = ptrA->arrE.arrPtrE; in bim_UInt32Image_checkSum() local 125 sumL += *ptrL++; in bim_UInt32Image_checkSum() 273 uint32* ptrL = ptrA->arrE.arrPtrE; in bim_UInt32Image_setAllPixels() local 276 *ptrL++ = valueA; in bim_UInt32Image_setAllPixels()
|
D | UInt8Image.c | 133 const uint8* ptrL = ptrA->arrE.arrPtrE; in bim_UInt8Image_checkSum() local 136 sumL += *ptrL++; in bim_UInt8Image_checkSum() 264 uint8* ptrL = ptrA->arrE.arrPtrE; in bim_UInt8Image_setAllPixels() local 267 *ptrL++ = valueA; in bim_UInt8Image_setAllPixels()
|
D | UInt16ByteImage.c | 113 const uint16* ptrL = ptrA->arrE.arrPtrE; in bim_UInt16ByteImage_checkSum() local 116 sumL += *ptrL++; in bim_UInt16ByteImage_checkSum() 276 uint16* ptrL = ptrA->arrE.arrPtrE; in bim_UInt16ByteImage_setAllPixels() local 280 *ptrL++ = fillL; in bim_UInt16ByteImage_setAllPixels()
|
/external/neven/Embedded/common/src/b_BasicEm/ |
D | UInt16Arr.c | 120 const uint16* ptrL = ptrA->arrPtrE + startIndexA; in bbs_UInt16Arr_checkSum() local 123 sumL += *ptrL++; in bbs_UInt16Arr_checkSum()
|