Home
last modified time | relevance | path

Searched refs:hwDecoder (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp583 if (isReuse || hwDecoder == nullptr) { in ReleaseHwDecoder()
586 ffrt::submit([hwDecoder] { in ReleaseHwDecoder()
588 delete hwDecoder; in ReleaseHwDecoder()
605 bool isReuseHwDecoder = hwDecoder != nullptr; in HwDecodeImage()
608 if (hwDecoder == nullptr) { in HwDecodeImage()
617 ReleaseHwDecoder(hwDecoder, isReuseHwDecoder); in HwDecodeImage()
627 ReleaseHwDecoder(hwDecoder, isReuseHwDecoder); in HwDecodeImage()
647 ReleaseHwDecoder(hwDecoder, isReuseHwDecoder); in HwDecodeImage()
655 if (hwDecoder->IsPackedInputSupported()) { in PreparePackedInput()
699 if (hwDecoder == nullptr || image == nullptr) { in HwDecodeGrids()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/
H A DHeifDecoderImpl.h90 void ReleaseHwDecoder(HeifHardwareDecoder *hwDecoder, bool isReuse);
92 bool HwDecodeImage(HeifHardwareDecoder *hwDecoder,
96 …void PreparePackedInput(HeifHardwareDecoder *hwDecoder, std::vector<std::shared_ptr<HeifImage>> ti…
99 bool HwDecodeGrids(HeifHardwareDecoder *hwDecoder, std::shared_ptr<HeifImage> &image,
102 bool HwDecodeIdenImage(HeifHardwareDecoder *hwDecoder,
106 bool HwDecodeSingleImage(HeifHardwareDecoder *hwDecoder, std::shared_ptr<HeifImage> &image,
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_hw_decode/common/
H A Dmock_jpeg_hw_decode_flow.cpp73 JpegHardwareDecoder hwDecoder; in DoDecode() local
74 …auto ret = hwDecoder.Decode(demoCodec.get(), inputStream, orgImgSize_, sampleSize_, outputBuffer_); in DoDecode()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp1244 JpegHardwareDecoder hwDecoder; in HeapMemAlloc() local
1258 ret = hwDecoder.Decode(codec_.get(), stream_, orgImgSize_, sampleSize_, outputBuffer); in HeapMemAlloc()