| | |
| | | #include <PL_AndroidMediaCodecDecoder.h>
|
| | | #include <PL_AndroidSurfaceViewRender.h>
|
| | | #include <PL_SensetimeFaceTrack.h>
|
| | | #include <PL_Paint.h>
|
| | |
|
| | | //#include "looper.h"
|
| | | #include <android/native_window_jni.h>
|
| | |
| | | class CameraWrapper
|
| | | {
|
| | | public:
|
| | | PipeLine* pipeLine;
|
| | | |
| | | PipeLine* pipeLineDecoderDetector;
|
| | | PipeLine* pipeLineAnalyzer;
|
| | | PipeLine* pipeLineRender;
|
| | |
|
| | | PL_RTSPClient_Config rtspConfig;
|
| | | PL_AndroidMediaCodecDecoder_Config amcdConfig;
|
| | | PL_AndroidSurfaceViewRender_Config asvrConfig;
|
| | |
| | | bool running;
|
| | |
|
| | | bool faceCacheLocked;
|
| | | FaceCache faceCache;
|
| | | //FaceCache faceCache;
|
| | | FaceCacheForPLBG faceCache;
|
| | |
|
| | | PLPLContext plplContext;
|
| | |
|
| | | CameraWrapper() :
|
| | | pipeLine(nullptr), rtspConfig(), amcdConfig(), sftConfig(), asvrConfig(),
|
| | | pipeLineDecoderDetector(nullptr), pipeLineAnalyzer(nullptr), pipeLineRender(nullptr), rtspConfig(), amcdConfig(), asvrConfig(), sftConfig(),
|
| | | cameraIdx(0), javaVM(nullptr), javaEnv(nullptr), faceCallbackClazz(0), faceCallbackFunc(0), windowRender(nullptr), windowDecode(nullptr),
|
| | | live_daemon_thid(0), running(false),
|
| | | faceCacheLocked(false), faceCache()
|
| | | faceCacheLocked(false), faceCache(),
|
| | | plplContext()
|
| | | {
|
| | | }
|
| | |
|