#ifndef __FaceCache_H__ #define __FaceCache_H__ #include class FaceCache { public: FaceCache(); ~FaceCache(); // returns count of face int cachePm(const PipeMaterial& pm); bool getFaceListPb(uint8_t* buffer, size_t& buffSize); bool getFaceListImage(int* buffIdx, size_t& count, uint8_t* buffImg, size_t& buffImgSize); private: bool extractFace(); void* _ctx; }; #endif