add astc format

Signed-off-by: yaozhupeng <yaozhupeng@huawei.com>
This commit is contained in:
yaozhupeng 2024-11-18 09:46:24 +08:00
parent 943252ed1a
commit e75b54a976

View File

@ -429,7 +429,17 @@ declare namespace image {
* @syscap SystemCapability.Multimedia.Image.Core
* @since 12
*/
YCRCB_P010 = 12
YCRCB_P010 = 12,
/**
* The storage format is ASTC 4x4 format, and the memory usage is only 1/4 of RGBA_8888.
* This format is only used for direct display scenes and does not support pixel access or post-
* processing editing.
*
* @syscap SystemCapability.Multimedia.Image.Core
* @since 14
*/
ASTC_4x4 = 102
}
/**