houxiao
2017-04-25 521e435d5d63fc76097e6667ba5ef9bcd1393a7b
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"
@@ -24,9 +25,10 @@
   PipeLine* pipeLine;
   
   PL_RTSPClient_Config rtspConfig;
   PL_AndroidMediaCodecDecoder_Config amcdConfig;
   SensetimeFaceTrackConfig sftConfig;
    PL_AndroidMediaCodecDecoder_Config amcdConfig;
    PL_AndroidSurfaceViewRender_Config asvrConfig;
    SensetimeFaceTrackConfig sftConfig;
   int cameraIdx;
    JavaVM* javaVM;
    JNIEnv* javaEnv;
@@ -41,8 +43,8 @@
   FaceCache faceCache;
   CameraWrapper() : 
      pipeLine(nullptr), rtspConfig(), amcdConfig(), sftConfig(),
      cameraIdx(0), javaVM(nullptr), javaEnv(nullptr), faceCallbackClazz(0), faceCallbackFunc(0), window(nullptr),
      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()
   {