houxiao
2017-07-10 4db189a6ec2bd6b575d7f35011de063bdfe73456
VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h
@@ -53,12 +53,14 @@
   PLPLContext plplContext;
   std::map<int, std::string> faceLabels;
   CameraWrapper() : 
      pipeLineDecoderDetector(nullptr), pipeLineAnalyzer(nullptr), pipeLineRender(nullptr), queueFrame(nullptr), rtspConfig(), amcdConfig(), asvrConfig(), sftConfig(),
        cameraIdx(0), javaVM(nullptr), javaEnv(nullptr), faceCallbackClazz(0), faceCallbackFunc(0), windowRender(nullptr), windowDecode(nullptr),
      decoder_thid(0), analyzer_thid(0), running(false),
      faceCacheLocked(false), faceCache(),
      plplContext()
      plplContext(), faceLabels()
   {
   }
   
@@ -71,6 +73,8 @@
   void lockFace();
   void releaseFace();
   void setFaceLabel(int st_track_id, const std::string& label);
private:
   static void* decoder_thd(void *arg);
   static void* analyzer_thd(void *arg);