mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
10 lines
360 B
C
10 lines
360 B
C
|
#include "PikaCV_ImageFormat.h"
|
||
|
#include "PikaCV_common.h"
|
||
|
|
||
|
void PikaCV_ImageFormat___init__(PikaObj* self) {
|
||
|
obj_setInt(self, "JPEG", PikaCV_ImageFormat_Type_JPEG);
|
||
|
obj_setInt(self, "RGB888", PikaCV_ImageFormat_Type_RGB888);
|
||
|
obj_setInt(self, "RGB565", PikaCV_ImageFormat_Type_RGB565);
|
||
|
obj_setInt(self, "GRAY", PikaCV_ImageFormat_Type_GRAY);
|
||
|
}
|