csrc/wrapper.hpp
@@ -69,6 +69,7 @@ void ActiveRecorder(const char *dir, const int mind, const int maxd, FUNC_REC func); void ScalePicture(const int w, const int h, const int flags); public: //decoder void BuildDecoder(); void GetPicDecoder(unsigned char **data, int *w, int *h); @@ -99,6 +100,7 @@ FUNC_REC func_rec_; FUNC_DEC func_dec_; int scale_w_, scale_h_, scale_f_; //////////////////test frame to bgr24 public: uint8_t *decodeJPEG(const char *file, int *w, int *h);