houxiao
2017-04-17 92873b5f4cc637dcd03ac9d56cf8ec982df10216
VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.h
@@ -9,6 +9,7 @@
#include <PipeLine.h>
#include <PL_RTSPClient.h>
#include <PL_AndroidMediaCodecDecoder.h>
#include <PL_AndroidSurfaceViewRender.h>
#include <PL_SensetimeFaceTrack.h>
//#include "looper.h"
@@ -25,6 +26,7 @@
   
   PL_RTSPClient_Config rtspConfig;
   PL_AndroidMediaCodecDecoder_Config amcdConfig;
    PL_AndroidSurfaceViewRender_Config asvrConfig;
   SensetimeFaceTrackConfig sftConfig;
   
   int cameraIdx;
@@ -41,7 +43,7 @@
   FaceCache faceCache;
   CameraWrapper() : 
      pipeLine(nullptr), rtspConfig(), amcdConfig(), sftConfig(),
      pipeLine(nullptr), rtspConfig(), amcdConfig(), sftConfig(), asvrConfig(),
      cameraIdx(0), javaVM(nullptr), javaEnv(nullptr), faceCallbackClazz(0), faceCallbackFunc(0), window(nullptr),
      live_daemon_thid(0), running(false),
      faceCacheLocked(false), faceCache()