csrc/wrapper.hpp
@@ -73,6 +73,8 @@ FUNC_REC func); void ScalePicture(const int w, const int h, const int flags); void UseGB28181(); void UseCPU(); public: //decoder void BuildDecoder(); void GetPicDecoder(unsigned char **data, int *w, int *h); @@ -109,6 +111,7 @@ FUNC_DEC func_dec_; int scale_w_, scale_h_, scale_f_; int gb_, cpu_; //////////////////test frame to bgr24 public: uint8_t *decodeJPEG(const char *file, int *w, int *h);