From 6a2111c35c99a6d28e84730809a65a8bc5878b6f Mon Sep 17 00:00:00 2001 From: Cai_Jianxing Date: Wed, 20 Mar 2024 16:33:28 +0800 Subject: [PATCH] [VP] [VP] fix osinterface perf issue fix osinterface perf issue. --- .../common/vp/hal/bufferMgr/vp_hdr_resource_manager.cpp | 2 +- .../agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.cpp b/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.cpp index bb4e8c24bf7..3af71eafa54 100644 --- a/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.cpp +++ b/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.cpp @@ -43,7 +43,7 @@ VphdrResourceManager::~VphdrResourceManager() } MOS_STATUS VphdrResourceManager::AssignRenderResource(VP_EXECUTE_CAPS &caps, std::vector &inputSurfaces, VP_SURFACE *outputSurface, RESOURCE_ASSIGNMENT_HINT resHint, - VP_SURFACE_SETTING &surfSetting, SwFilterPipe &executedFilters, MOS_INTERFACE osInterface, VphalFeatureReport &reporting, bool deferredDestroyed) + VP_SURFACE_SETTING &surfSetting, SwFilterPipe &executedFilters, MOS_INTERFACE &osInterface, VphalFeatureReport &reporting, bool deferredDestroyed) { VP_FUNC_CALL(); diff --git a/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.h b/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.h index e494dbb6416..b55974af9cc 100644 --- a/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.h +++ b/media_softlet/agnostic/common/vp/hal/bufferMgr/vp_hdr_resource_manager.h @@ -41,7 +41,7 @@ class VphdrResourceManager public: VphdrResourceManager(VpAllocator &allocator); ~VphdrResourceManager(); - MOS_STATUS AssignRenderResource(VP_EXECUTE_CAPS &caps, std::vector &inputSurfaces, VP_SURFACE *outputSurface, RESOURCE_ASSIGNMENT_HINT resHint, VP_SURFACE_SETTING &surfSetting, SwFilterPipe &executedFilters, MOS_INTERFACE osInterface, VphalFeatureReport &reporting, bool deferredDestroyed); + MOS_STATUS AssignRenderResource(VP_EXECUTE_CAPS &caps, std::vector &inputSurfaces, VP_SURFACE *outputSurface, RESOURCE_ASSIGNMENT_HINT resHint, VP_SURFACE_SETTING &surfSetting, SwFilterPipe &executedFilters, MOS_INTERFACE &osInterface, VphalFeatureReport &reporting, bool deferredDestroyed); private: MOS_STATUS FreeHdrRenderResource();