Home
last modified time | relevance | path

Searched refs:ASTC_HEADER_SIZE (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/
H A Dastc_codec.cpp43 constexpr uint8_t ASTC_HEADER_SIZE = 16; member
151 *tmp++ = (ASTC_MAGIC_ID >> ASTC_HEADER_SIZE) & ASTC_MASK; in GenAstcHeader()
158 *tmp++ = (img.dim_x >> ASTC_HEADER_SIZE) & ASTC_MASK; in GenAstcHeader()
161 *tmp++ = (img.dim_y >> ASTC_HEADER_SIZE) & ASTC_MASK; in GenAstcHeader()
164 *tmp++ = (img.dim_z >> ASTC_HEADER_SIZE) & ASTC_MASK; in GenAstcHeader()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_background.cpp50 constexpr uint8_t ASTC_HEADER_SIZE = 16; member
447 if (pixelMap->GetCapacity() > ASTC_HEADER_SIZE && in SetCompressedDataForASTC()
449 reinterpret_cast<const void *>(reinterpret_cast<const char *>(data) + ASTC_HEADER_SIZE), in SetCompressedDataForASTC()
450 pixelMap->GetCapacity() - ASTC_HEADER_SIZE))) { in SetCompressedDataForASTC()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_draw_cmd.cpp50 constexpr uint8_t ASTC_HEADER_SIZE = 16; member
231 if (pixelMap->GetCapacity() > ASTC_HEADER_SIZE && in PreProcessPixelMap()
232 (data == nullptr || !fileData->BuildWithoutCopy((void*)((char*) data + ASTC_HEADER_SIZE), in PreProcessPixelMap()
233 pixelMap->GetCapacity() - ASTC_HEADER_SIZE))) { in PreProcessPixelMap()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp80 constexpr int32_t ASTC_HEADER_SIZE = 16; member
914 ((imageInfo.size.height + blockHeight - 1) / blockHeight) * ASTC_BLOCK_SIZE + ASTC_HEADER_SIZE; in GetAstcBytesCount()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp151 static const size_t ASTC_HEADER_SIZE = 16; member
573 uint32_t res = GetData(outData, ASTC_HEADER_SIZE);
2144 uint32_t res = GetData(outData, ASTC_HEADER_SIZE);
2877 if (fileData == nullptr || fileSize < ASTC_HEADER_SIZE) {
3255 if (fileData == nullptr || fileSize < ASTC_HEADER_SIZE) {

Completed in 10 milliseconds