source: flair-src/trunk/lib/FlairVisionFilter/src/VisionFilter.h @ 338

Last change on this file since 338 was 338, checked in by Sanahuja Guillaume, 2 years ago

remove opencv dep

File size: 727 bytes
Line 
1#include <string>
2
3namespace flair {
4    namespace core {
5        class Image;
6    }
7}
8
9
10/*!
11* \brief InitVisionFilter
12*
13* \return true
14*/
15
16bool InitVisionFilter(std::string args);
17
18void CloseVisionFilter(void);
19
20enum class PictureFormat_t {
21                Gray,/*!< gray 8 bits */
22                RGB,/*!< rgb 24 bits */
23                YUV_422ile,/*!< YUV 4:2:2 interleaved */
24                YUV_422p,/*!< YUV 4:2:2 planer */
25                } ;
26                                                               
27void saveToJpeg(flair::core::Image* src_img,std::string filename,PictureFormat_t input_format,PictureFormat_t output_format,unsigned char compression_level=95);
28
29//for amrv7a, these functions use CMEM
30char* AllocFunction(ssize_t size);
31void FreeFunction(char* buffer);
Note: See TracBrowser for help on using the repository browser.