From 5520267b7ae9599113c62ddfcf954f0b170e62fd Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 29 三月 2017 14:50:35 +0800
Subject: [PATCH]
---
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