| 1 | /* |
| 2 | * Copyright 2024 KylinSoft Co., Ltd. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify it under |
| 5 | * the terms of the GNU General Public License as published by the Free Software |
| 6 | * Foundation, either version 3 of the License, or (at your option) any later |
| 7 | * version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 11 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 12 | * details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License along with |
| 15 | * this program. If not, see <https://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #ifndef __KYLIN_AI_GEN_AI_VISION_IMAGE_FORMAT_H__ |
| 19 | #define __KYLIN_AI_GEN_AI_VISION_IMAGE_FORMAT_H__cxx . . $ `include/kylin-ai/genai/vision/imageformat.h:19:9`! |
| 20 | |
| 21 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | typedef enum { |
| 26 | IMAGE_FORMAT_UNKNOWN = -1, |
| 27 | IMAGE_FORMAT_JPEG, |
| 28 | IMAGE_FORMAT_PNG, |
| 29 | IMAGE_FORMAT_WEBP |
| 30 | } ImageFormat; |
| 31 | |
| 32 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 33 | } |
| 34 | #endif |
| 35 | |
| 36 | #endif |