SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_cv.h
Go to the documentation of this file.
1 #ifndef _MA_CV_H_
2 #define _MA_CV_H_
3 
4 #include "../ma_common.h"
5 
6 namespace ma::cv {
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 ma_err_t convert(const ma_img_t* src, ma_img_t* dst);
13 
14 #if MA_USE_LIB_JPEGENC
15 ma_err_t rgb_to_jpeg(const ma_img_t* src, ma_img_t* dst);
16 #endif
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 } // namespace ma::cv
23 
24 
25 #endif // _MA_CV_H_
ma_err_t
Definition: ma_types.h:21
Definition: ma_cv.cpp:7
MA_ATTR_WEAK ma_err_t convert(const ma_img_t *src, ma_img_t *dst)
Definition: ma_cv.cpp:1067
Definition: ma_types.h:124