mirror of
https://gitee.com/openharmony/multimedia_image_framework
synced 2024-11-23 23:20:09 +00:00
fix: Modify for cross-platform support
Signed-off-by: caochuan <caochuan@huawei.com> Change-Id: Ibbcea350181a93057f634f956865b7ad95f5cf26
This commit is contained in:
parent
33aaf0ed97
commit
abfdb22ec6
@ -73,9 +73,7 @@ const uint8_t BYTE_FULL = 0xFF;
|
||||
const int32_t SIZE = 100;
|
||||
const int32_t TYPE_IMAGE_SOURCE = 1;
|
||||
const int32_t TYPE_PIXEL_MAP = 2;
|
||||
#if !defined(IOS_PLATFORM) && !defined(ANDROID_PLATFORM)
|
||||
const int32_t TYPE_PICTURE = 3;
|
||||
#endif
|
||||
const int32_t TYPE_ARRAY = 4;
|
||||
const int64_t DEFAULT_BUFFER_SIZE = 25 * 1024 * 1024; // 25M is the maximum default packedSize
|
||||
const int MASK_3 = 0x3;
|
||||
|
@ -176,6 +176,7 @@ image_native_android_include_dirs = [
|
||||
"//foundation/multimedia/image_framework/frameworks/kits/js/common/include",
|
||||
"//foundation/multimedia/image_framework/interfaces/kits/js/common/include",
|
||||
"//foundation/multimedia/image_framework/interfaces/kits/native/include",
|
||||
"//foundation/multimedia/image_framework/interfaces/kits/native/include/image",
|
||||
"//utils/jni/jnikit/include",
|
||||
"//foundation/graphic/graphic_surface/interfaces/inner_api/surface",
|
||||
"//foundation/graphic/graphic_surface/interfaces/inner_api/utils",
|
||||
|
@ -229,6 +229,7 @@ image_native_ios_include_dirs = [
|
||||
"//foundation/multimedia/image_framework/interfaces/kits/js/common/include",
|
||||
"//foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin",
|
||||
"//foundation/multimedia/image_framework/interfaces/kits/native/include",
|
||||
"//foundation/multimedia/image_framework/interfaces/kits/native/include/image",
|
||||
"//utils/jni/jnikit/include",
|
||||
"//foundation/graphic/graphic_surface/interfaces/inner_api/surface",
|
||||
"//foundation/graphic/graphic_surface/interfaces/inner_api/utils",
|
||||
|
Loading…
Reference in New Issue
Block a user