Home
last modified time | relevance | path

Searched refs:astcBuf (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dplugin_texture_encode_test.cpp568 static void FreeMem(uint8_t *pixelMap, uint8_t *astcBuf) in FreeMem() argument
573 if (astcBuf != nullptr) { in FreeMem()
574 free(astcBuf); in FreeMem()
588 uint8_t *astcBuf = static_cast<uint8_t *>(malloc(testPara.param.astcBytes * sizeof(uint8_t))); in EncodeMutiFrames() local
589 if (astcBuf == nullptr) { in EncodeMutiFrames()
598 FreeMem(pixelMap, astcBuf); in EncodeMutiFrames()
606 if (!TryAstcEncBasedOnCl(testPara.param, pixelMap, astcBuf, clBinPath)) { in EncodeMutiFrames()
608 FreeMem(pixelMap, astcBuf); in EncodeMutiFrames()
614 if (!isBasedGpu && !AstcCodec::AstcSoftwareEncodeCore(testPara.param, pixelMap, astcBuf)) { in EncodeMutiFrames()
616 FreeMem(pixelMap, astcBuf); in EncodeMutiFrames()
886 uint8_t *astcBuf = static_cast<uint8_t *>(malloc(testPara.param.astcBytes * sizeof(uint8_t))); EncodeMutiFramesCL() local
956 uint8_t astcBuf; HWTEST_F() local
[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()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/
H A Dastc_codec.cpp70 const uint8_t* astcBuf; member
423 astcInfo.astcBuf = astcBuffer; in AstcSoftwareEncodeCore()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp179 uint8_t *astcBuf; member
3035 astcInfo.astcBuf = outData;

Completed in 8 milliseconds