• Home
  • Raw
  • Download

Lines Matching refs:dataOffset

2342     Ncv32u dataOffset = 0;  in loadFromNVBIN()  local
2349 dataOffset = NVBIN_HAAR_SIZERESERVED; in loadFromNVBIN()
2350 haar.NumStages = *(Ncv32u *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2351 dataOffset += sizeof(Ncv32u); in loadFromNVBIN()
2352 haar.NumClassifierRootNodes = *(Ncv32u *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2353 dataOffset += sizeof(Ncv32u); in loadFromNVBIN()
2354 haar.NumClassifierTotalNodes = *(Ncv32u *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2355 dataOffset += sizeof(Ncv32u); in loadFromNVBIN()
2356 haar.NumFeatures = *(Ncv32u *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2357 dataOffset += sizeof(Ncv32u); in loadFromNVBIN()
2358 haar.ClassifierSize = *(NcvSize32u *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2359 dataOffset += sizeof(NcvSize32u); in loadFromNVBIN()
2360 haar.bNeedsTiltedII = *(NcvBool *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2361 dataOffset += sizeof(NcvBool); in loadFromNVBIN()
2362 haar.bHasStumpsOnly = *(NcvBool *)(&fdata[0]+dataOffset); in loadFromNVBIN()
2363 dataOffset += sizeof(NcvBool); in loadFromNVBIN()
2373 memcpy(&haarStages[0], &fdata[0]+dataOffset, szStages); in loadFromNVBIN()
2374 dataOffset += szStages; in loadFromNVBIN()
2375 memcpy(&haarClassifierNodes[0], &fdata[0]+dataOffset, szClassifiers); in loadFromNVBIN()
2376 dataOffset += szClassifiers; in loadFromNVBIN()
2377 memcpy(&haarFeatures[0], &fdata[0]+dataOffset, szFeatures); in loadFromNVBIN()
2378 dataOffset += szFeatures; in loadFromNVBIN()
2499 Ncv32u dataOffset = 0; in ncvHaarStoreNVBIN_host() local
2504 *(Ncv32u *)(&fdata[0]+dataOffset) = NVBIN_HAAR_VERSION; in ncvHaarStoreNVBIN_host()
2507 dataOffset = NVBIN_HAAR_SIZERESERVED; in ncvHaarStoreNVBIN_host()
2508 *(Ncv32u *)(&fdata[0]+dataOffset) = haar.NumStages; in ncvHaarStoreNVBIN_host()
2509 dataOffset += sizeof(Ncv32u); in ncvHaarStoreNVBIN_host()
2510 *(Ncv32u *)(&fdata[0]+dataOffset) = haar.NumClassifierRootNodes; in ncvHaarStoreNVBIN_host()
2511 dataOffset += sizeof(Ncv32u); in ncvHaarStoreNVBIN_host()
2512 *(Ncv32u *)(&fdata[0]+dataOffset) = haar.NumClassifierTotalNodes; in ncvHaarStoreNVBIN_host()
2513 dataOffset += sizeof(Ncv32u); in ncvHaarStoreNVBIN_host()
2514 *(Ncv32u *)(&fdata[0]+dataOffset) = haar.NumFeatures; in ncvHaarStoreNVBIN_host()
2515 dataOffset += sizeof(Ncv32u); in ncvHaarStoreNVBIN_host()
2516 *(NcvSize32u *)(&fdata[0]+dataOffset) = haar.ClassifierSize; in ncvHaarStoreNVBIN_host()
2517 dataOffset += sizeof(NcvSize32u); in ncvHaarStoreNVBIN_host()
2518 *(NcvBool *)(&fdata[0]+dataOffset) = haar.bNeedsTiltedII; in ncvHaarStoreNVBIN_host()
2519 dataOffset += sizeof(NcvBool); in ncvHaarStoreNVBIN_host()
2520 *(NcvBool *)(&fdata[0]+dataOffset) = haar.bHasStumpsOnly; in ncvHaarStoreNVBIN_host()
2521 dataOffset += sizeof(NcvBool); in ncvHaarStoreNVBIN_host()
2523 memcpy(&fdata[0]+dataOffset, h_HaarStages.ptr(), szStages); in ncvHaarStoreNVBIN_host()
2524 dataOffset += szStages; in ncvHaarStoreNVBIN_host()
2525 memcpy(&fdata[0]+dataOffset, h_HaarNodes.ptr(), szClassifiers); in ncvHaarStoreNVBIN_host()
2526 dataOffset += szClassifiers; in ncvHaarStoreNVBIN_host()
2527 memcpy(&fdata[0]+dataOffset, h_HaarFeatures.ptr(), szFeatures); in ncvHaarStoreNVBIN_host()
2528 dataOffset += szFeatures; in ncvHaarStoreNVBIN_host()
2529 Ncv32u fsize = dataOffset; in ncvHaarStoreNVBIN_host()
2534 dataOffset = sizeof(Ncv32u); in ncvHaarStoreNVBIN_host()
2535 *(Ncv32u *)(&fdata[0]+dataOffset) = fsize; in ncvHaarStoreNVBIN_host()