| | |
| | |
|
| | | // returns count of face
|
| | | int cachePm(const PipeMaterial& pm);
|
| | | |
| | | size_t getFaceCount(const PipeMaterial& pm) const;
|
| | |
|
| | | bool getFaceListPb(uint8_t* buffer, size_t& buffMaxSize);
|
| | |
|
| | | bool getFaceListImage(std::vector<NativeImgIdx>& imgIdxes, uint8_t* buffImg, size_t& buffImgMaxSize);
|
| | |
| | | void* _ctx;
|
| | | };
|
| | |
|
| | |
|
| | | class FaceCacheForPLBG
|
| | | {
|
| | | public:
|
| | |
|
| | | FaceCacheForPLBG();
|
| | | ~FaceCacheForPLBG();
|
| | |
|
| | | // returns count of face
|
| | | int cachePm(const PipeMaterial& pm);
|
| | | size_t getFaceCount(const PipeMaterial& pm) const;
|
| | |
|
| | | bool getFaceListPb(uint8_t* buffer, size_t& buffMaxSize);
|
| | |
|
| | | bool getFaceListImage(std::vector<NativeImgIdx>& imgIdxes, uint8_t* buffImg, size_t& buffImgMaxSize);
|
| | |
|
| | | private:
|
| | | void* _ctx;
|
| | | };
|
| | |
|
| | | #endif
|