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

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

remove opencv dep

File size: 727 bytes
RevLine 
[122]1#include <string>
2
[338]3namespace flair {
4 namespace core {
5 class Image;
6 }
7}
8
9
[122]10/*!
[123]11* \brief InitVisionFilter
[122]12*
[123]13* \return true
[122]14*/
15
[123]16bool InitVisionFilter(std::string args);
[122]17
[123]18void CloseVisionFilter(void);
19
[124]20enum class PictureFormat_t {
21 Gray,/*!< gray 8 bits */
[125]22 RGB,/*!< rgb 24 bits */
23 YUV_422ile,/*!< YUV 4:2:2 interleaved */
24 YUV_422p,/*!< YUV 4:2:2 planer */
[124]25 } ;
26
[338]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.