From 0677ea838e5a701adea718ef497ffd58a61479f8 Mon Sep 17 00:00:00 2001 From: Jay Yang Date: Tue, 3 Dec 2024 01:53:56 +0000 Subject: [PATCH] [av1e] fix beh test 1. Update GUID when chroma format and bit depth are changed. 2. When GUID is updated, create new video decoder to get corresponding caps table. 3. Update av1e profile rference. --- _studio/mfx_lib/encode_hw/shared/ehw_device.h | 1 + _studio/mfx_lib/encode_hw/shared/ehw_device_vaapi.h | 1 + 2 files changed, 2 insertions(+) diff --git a/_studio/mfx_lib/encode_hw/shared/ehw_device.h b/_studio/mfx_lib/encode_hw/shared/ehw_device.h index c2842d17eb..947ec75080 100644 --- a/_studio/mfx_lib/encode_hw/shared/ehw_device.h +++ b/_studio/mfx_lib/encode_hw/shared/ehw_device.h @@ -98,6 +98,7 @@ class Device virtual mfxStatus EndPicture() = 0; virtual mfxU32 GetLastErr() const = 0; virtual void Trace(const DDIExecParam&, bool /*bAfterExec*/, mfxU32 /*res*/) {} + virtual GUID GetGUID() const = 0; }; diff --git a/_studio/mfx_lib/encode_hw/shared/ehw_device_vaapi.h b/_studio/mfx_lib/encode_hw/shared/ehw_device_vaapi.h index 59b1a8c04b..ecb68669c4 100644 --- a/_studio/mfx_lib/encode_hw/shared/ehw_device_vaapi.h +++ b/_studio/mfx_lib/encode_hw/shared/ehw_device_vaapi.h @@ -85,6 +85,7 @@ class DeviceVAAPI virtual mfxStatus BeginPicture(mfxHDL) override; virtual mfxStatus EndPicture() override; virtual mfxU32 GetLastErr() const override { return mfxU32(m_lastErr); } + virtual GUID GetGUID() const override { return GUID(); } VABufferID CreateVABuffer(const DDIExecParam&); mfxStatus DestroyVABuffer(VABufferID);