From a0092014ee12abf06edb1788b189cc7c57336063 Mon Sep 17 00:00:00 2001 From: chenke <chenke@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 09 八月 2017 13:42:00 +0800 Subject: [PATCH] Reverse merged revision(s) 988-987 from VisitFace/RtspNativeCodec: JsonCpp和CapnpProtocol功能初步实现 ........ --- VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h index 917fc08..2f9cea5 100644 --- a/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h +++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/FaceCache.h @@ -4,8 +4,6 @@ #include <PipeLine.h> #include <vector> -#define FACECACHEFORPLBG_RESULT_BUFFSIZE (1920 * 1080 * 2) - struct NativeImgIdx { int st_track_id; @@ -58,21 +56,11 @@ size_t getFaceCount(const PipeMaterial& pm) const; bool getFaceListPb(uint8_t* buffer, size_t& buffMaxSize); - uint8_t* getFaceListPb(size_t& buffSize) - { - buffSize = FACECACHEFORPLBG_RESULT_BUFFSIZE; - if (!getFaceListPb(resultBuffer, buffSize)) - return nullptr; - return resultBuffer;//#todo to cpp - } bool getFaceListImage(std::vector<NativeImgIdx>& imgIdxes, uint8_t* buffImg, size_t& buffImgMaxSize); - uint8_t* getFaceListImage(size_t& buffSize); - private: void* _ctx; - uint8_t* resultBuffer; }; #endif -- Gitblit v1.8.0