Skip to content

Commit

Permalink
[av1e] fix beh test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MicroYY authored and gfxVPLsdm committed Dec 3, 2024
1 parent 5cf4288 commit 0677ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions _studio/mfx_lib/encode_hw/shared/ehw_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

};

Expand Down
1 change: 1 addition & 0 deletions _studio/mfx_lib/encode_hw/shared/ehw_device_vaapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0677ea8

Please sign in to comment.