Home
last modified time | relevance | path

Searched refs:astcBuf (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dplugin_texture_encode_test.cpp566 if (astcBuf != nullptr) { in FreeMem()
567 free(astcBuf); in FreeMem()
582 if (astcBuf == nullptr) { in EncodeMutiFrames()
591 FreeMem(pixelMap, astcBuf); in EncodeMutiFrames()
609 FreeMem(pixelMap, astcBuf); in EncodeMutiFrames()
612 FreeMem(pixelMap, astcBuf); in EncodeMutiFrames()
880 if (astcBuf == nullptr) { in EncodeMutiFramesCL()
888 FreeMem(pixelMap, astcBuf); in EncodeMutiFramesCL()
896 FreeMem(pixelMap, astcBuf); in EncodeMutiFramesCL()
900 FreeMem(pixelMap, astcBuf); in EncodeMutiFramesCL()
[all …]
H A Dpixel_astc_test.cpp84 uint8_t* astcBuf = astcBody; in ConstructAstcBody() local
86 if (memcpy_s(astcBuf, ASTC_PER_BLOCK_BYTES, astcBlockPart, ASTC_PER_BLOCK_BYTES) != 0) { in ConstructAstcBody()
89 astcBuf += ASTC_PER_BLOCK_BYTES; in ConstructAstcBody()