Lines Matching refs:haarFeatures
2113 std::vector<HaarFeature64> &haarFeatures) in loadFromXML() argument
2120 (void) haarFeatures; in loadFromXML()
2139 haarFeatures.resize(0); in loadFromXML()
2227 haarFeatures.push_back(curFeature); in loadFromXML()
2234 featureId, static_cast<Ncv32u>(haarFeatures.size()) - featureId); in loadFromXML()
2263 haar.NumFeatures = static_cast<Ncv32u>(haarFeatures.size()); in loadFromXML()
2324 std::vector<HaarFeature64> &haarFeatures) in loadFromNVBIN() argument
2367 haarFeatures.resize(haar.NumFeatures); in loadFromNVBIN()
2377 memcpy(&haarFeatures[0], &fdata[0]+dataOffset, szFeatures); in loadFromNVBIN()
2418 std::vector<HaarFeature64> haarFeatures; in ncvHaarGetClassifierSize() local
2420 ncvStat = loadFromXML(filename, haar, haarStages, haarNodes, haarFeatures); in ncvHaarGetClassifierSize()
2453 std::vector<HaarFeature64> haarFeatures; in ncvHaarLoadFromFile_host() local
2457 ncvStat = loadFromNVBIN(filename, haar, haarStages, haarNodes, haarFeatures); in ncvHaarLoadFromFile_host()
2462 ncvStat = loadFromXML(filename, haar, haarStages, haarNodes, haarFeatures); in ncvHaarLoadFromFile_host()
2472 ncvAssertReturn(h_HaarFeatures.length() >= haarFeatures.size(), NCV_MEM_INSUFFICIENT_CAPACITY); in ncvHaarLoadFromFile_host()
2476 memcpy(h_HaarFeatures.ptr(), &haarFeatures[0], haarFeatures.size()*sizeof(HaarFeature64)); in ncvHaarLoadFromFile_host()