vpe ani code

Signed-off-by: pxh123456 <pengxiaohang@huawei.com>
This commit is contained in:
pxh123456
2026-01-23 18:24:18 +08:00
parent cb94750a17
commit 50242f720a
@@ -90,7 +90,7 @@ std::shared_ptr<OHOS::Media::PixelMap> ImageProcessorImpl::EnhanceDetail(
std::unique_ptr<DetailEnhanceContext>& detailContext)
{
std::shared_ptr<OHOS::Media::PixelMap> outputPixelMap = EnhanceDetailImpl(detailContext);
detailContext->inputPixelMap = nullptr; // Dereferencing prevents memory leaks
detailContext->inputPixelMap = nullptr; // Dereferencing prevents memory leaks
if (outputPixelMap == nullptr) {
VPE_LOGE("DetailEnhance processed failed");
return nullptr;