| | |
| | | #include <PL_AndroidSurfaceViewRender.h>
|
| | | #include <PL_SensetimeFaceTrack.h>
|
| | | #include <PL_Paint.h>
|
| | | #include <PL_Scale.h>
|
| | | #include <PL_Queue.h>
|
| | |
|
| | | //#include "looper.h"
|
| | |
| | | PL_AndroidMediaCodecDecoder_Config amcdConfig;
|
| | | PL_AndroidSurfaceViewRender_Config asvrConfig;
|
| | | SensetimeFaceTrackConfig sftConfig;
|
| | | PL_Scale_Config plScaleCfg;
|
| | |
|
| | | int cameraIdx;
|
| | | JavaVM* javaVM;
|
| | |
| | |
|
| | | PLPLContext plplContext;
|
| | |
|
| | | std::map<int, std::wstring> 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()
|
| | | {
|
| | | }
|
| | |
|
| | |
| | | void lockFace();
|
| | | void releaseFace();
|
| | |
|
| | | void setFaceLabel(int st_track_id, const std::wstring& label);
|
| | |
|
| | | private:
|
| | | static void* decoder_thd(void *arg);
|
| | | static void* analyzer_thd(void *arg);
|