From d1452b28907abdb5247c0584ba2e1fcc9bd14410 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 23 三月 2017 16:25:22 +0800
Subject: [PATCH] add library

---
 VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h |   25 ++++++++++---------------
 1 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h
index 892f659..ed2bb5c 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h
@@ -6,25 +6,20 @@
 class FaceCache
 {
 public:
-	FaceCache()
-	{
-	}
+	FaceCache();
+	~FaceCache();
 	
 	// returns count of face
-	int cachePm(const PipeMaterial& pm)
-	{
-		return 0;
-	}
+	int cachePm(const PipeMaterial& pm);
 	
-	bool getFaceListPb(uint8_t* buffer, size_t& buffSize)
-	{
-		return false;
-	}
+	bool getFaceListPb(uint8_t* buffer, size_t& buffSize);
 	
-	bool getFaceListImage(int* buffIdx, size_t& count, uint8_t* buffImg, size_t& buffImgSize)
-	{
-		return false;
-	}
+	bool getFaceListImage(int* buffIdx, size_t& count, uint8_t* buffImg, size_t& buffImgSize);
+	
+private:
+	bool extractFace();
+	
+	void* _ctx;
 };
 
 #endif

--
Gitblit v1.8.0