Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp2952 if (!GetASTCInfo(sourceFilePtr, sourceStreamPtr_->GetStreamSize(), astcInfo)) { in GetImageInfoForASTC()
3060 uint8_t *extInfoBuf = const_cast<uint8_t*>(sourceFilePtr) + astcSize; in ResolveExtInfo()
3123 const uint8_t *sourceFilePtr) in ReadFileAndResoveAstc() argument
3141 bool isSutFormat = FormatIsSUT(sourceFilePtr, fileSize); in ReadFileAndResoveAstc()
3143 if (TextureSuperCompressDecode(sourceFilePtr, fileSize, in ReadFileAndResoveAstc()
3150 if (memcpy_s(dstMemory->data.data, astcSize, sourceFilePtr, astcSize) != 0) { in ReadFileAndResoveAstc()
3177 uint8_t *sourceFilePtr = sourceStreamPtr_->GetDataPtr();
3178 if (!GetImageInfoForASTC(info, sourceFilePtr)) {
3191 size_t astcSize = (!FormatIsSUT(sourceFilePtr, fileSize)) ?
3192 ImageUtils::GetAstcBytesCount(info) : GetAstcSizeBytes(sourceFilePtr, fileSize);
[all …]
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h302 bool GetImageInfoForASTC(ImageInfo& imageInfo, const uint8_t *sourceFilePtr);