houxiao
2017-06-13 4b914a5d7e3d7971cb3e3ed49047fa331bd74da3
VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h
@@ -32,7 +32,8 @@
   
   // returns count of face
   int cachePm(const PipeMaterial& pm);
   size_t getFaceCount(const PipeMaterial& pm) const;
   bool getFaceListPb(uint8_t* buffer, size_t& buffMaxSize);
   
   bool getFaceListImage(std::vector<NativeImgIdx>& imgIdxes, uint8_t* buffImg, size_t& buffImgMaxSize);
@@ -41,4 +42,24 @@
   void* _ctx;
};
class FaceCacheForPLBG
{
public:
   FaceCacheForPLBG();
   ~FaceCacheForPLBG();
   // returns count of face
   int cachePm(const PipeMaterial& pm);
   size_t getFaceCount(const PipeMaterial& pm) const;
   bool getFaceListPb(uint8_t* buffer, size_t& buffMaxSize);
   bool getFaceListImage(std::vector<NativeImgIdx>& imgIdxes, uint8_t* buffImg, size_t& buffImgMaxSize);
private:
   void* _ctx;
};
#endif