Last change
on this file since 386 was 338, checked in by Sanahuja Guillaume, 5 years ago |
remove opencv dep
|
File size:
727 bytes
|
Rev | Line | |
---|
[122] | 1 | #include <string>
|
---|
| 2 |
|
---|
[338] | 3 | namespace 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] | 16 | bool InitVisionFilter(std::string args);
|
---|
[122] | 17 |
|
---|
[123] | 18 | void CloseVisionFilter(void);
|
---|
| 19 |
|
---|
[124] | 20 | enum 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] | 27 | void 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
|
---|
| 30 | char* AllocFunction(ssize_t size);
|
---|
| 31 | void FreeFunction(char* buffer); |
---|
Note:
See
TracBrowser
for help on using the repository browser.