Last change
on this file since 425 was 328, checked in by Sanahuja Guillaume, 5 years ago |
add imagesize to iplimage
|
File size:
727 bytes
|
Rev | Line | |
---|
[324] | 1 | #include <string>
|
---|
| 2 |
|
---|
[325] | 3 | namespace flair {
|
---|
| 4 | namespace core {
|
---|
| 5 | class Image;
|
---|
| 6 | }
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 |
|
---|
[324] | 10 | /*!
|
---|
| 11 | * \brief InitVisionFilter
|
---|
| 12 | *
|
---|
| 13 | * \return true
|
---|
| 14 | */
|
---|
| 15 |
|
---|
| 16 | bool InitVisionFilter(std::string args);
|
---|
| 17 |
|
---|
| 18 | void CloseVisionFilter(void);
|
---|
| 19 |
|
---|
| 20 | enum 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 |
|
---|
[325] | 27 | void saveToJpeg(flair::core::Image* src_img,std::string filename,PictureFormat_t input_format,PictureFormat_t output_format,unsigned char compression_level=95);
|
---|
[328] | 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.