From d9c4512c27c58b6640d8b0ea6c628bdf0f6b101d Mon Sep 17 00:00:00 2001 From: Wei_Yuqin Date: Tue, 10 Sep 2024 19:16:18 +0800 Subject: [PATCH] [Media Common][VP] APO Mos: switch layer, create osdevicecontext and get device info mos apo switch: 1.create switch layer by platform or regkey 2.create light sdevicecontext 3. get common device info from osdevicecontext --- media_common/agnostic/common/os/mos_os.h | 1 + 1 file changed, 1 insertion(+) diff --git a/media_common/agnostic/common/os/mos_os.h b/media_common/agnostic/common/os/mos_os.h index b413afc4f3f..eace209607f 100644 --- a/media_common/agnostic/common/os/mos_os.h +++ b/media_common/agnostic/common/os/mos_os.h @@ -736,6 +736,7 @@ typedef struct _MOS_INTERFACE #endif // (_DEBUG || _RELEASE_INTERNAL) bool apoMosEnabled; //!< apo mos or not + bool apoMosForLegacyRuntime = false; std::vector resourceDumpAttriArray; MEMORY_OBJECT_CONTROL_STATE (* pfnCachePolicyGetMemoryObject) (