| | |
| | | }
|
| | | };
|
| | |
|
| | | FaceCacheForPLBG::FaceCacheForPLBG() : _ctx(new FcPmBreackerContextPLBG)
|
| | | FaceCacheForPLBG::FaceCacheForPLBG() : _ctx(new FcPmBreackerContextPLBG), resultBuffer(nullptr)
|
| | | {
|
| | |
|
| | | resultBuffer = new uint8_t[FACECACHEFORPLBG_RESULT_BUFFSIZE];
|
| | | }
|
| | |
|
| | | FaceCacheForPLBG::~FaceCacheForPLBG()
|
| | | {
|
| | | delete (FcPmBreackerContextPLBG*)_ctx;
|
| | | delete resultBuffer;
|
| | | resultBuffer = nullptr;
|
| | | }
|
| | |
|
| | |
|
| | |
| | | return 0;
|
| | | }
|
| | |
|
| | |
|
| | | bool FaceCacheForPLBG::getFaceListPb(uint8_t* buffer, size_t& buffMaxSize)
|
| | | {
|
| | | FcPmBreackerContextPLBG& ctx(*(FcPmBreackerContextPLBG*)_ctx);
|
| | |
| | | return buffMaxSize > 0;
|
| | | }
|
| | |
|
| | |
|
| | | bool FaceCacheForPLBG::getFaceListImage(std::vector<NativeImgIdx>& imgIdxes, uint8_t* buffImg, size_t& buffImgMaxSize)
|
| | | {
|
| | | FcPmBreackerContextPLBG& ctx(*(FcPmBreackerContextPLBG*)_ctx);
|
| | |
| | |
|
| | | return true;
|
| | | }
|
| | |
|