[Decode] MHW AVC Refactor
This is a patch for mhw avc refactor, committing MFX and avc decode related cmds.
diff --git a/media_driver/agnostic/common/hw/vdbox/mhw_vdbox_mfx_interface.h b/media_driver/agnostic/common/hw/vdbox/mhw_vdbox_mfx_interface.h
index 5f362e4..9caf95a 100644
--- a/media_driver/agnostic/common/hw/vdbox/mhw_vdbox_mfx_interface.h
+++ b/media_driver/agnostic/common/hw/vdbox/mhw_vdbox_mfx_interface.h
@@ -625,6 +625,8 @@
uint8_t m_numVdbox = 1; //!< vdbox num
uint32_t m_brcNumPakPasses = 4; //!< Number of brc pak passes
+ std::shared_ptr<void> m_mfxItfNew = nullptr;
+
MmioRegistersMfx m_mmioRegisters[MHW_VDBOX_NODE_MAX] = {}; //!< mfx mmio registers
//!
@@ -656,6 +658,14 @@
//!
virtual void CalcAvcImgStateMinMaxBitrate(MHW_VDBOX_AVC_IMG_BITRATE_PARAMS& params);
+ //!
+ //! \brief Get new MFX interface, temporal solution before switching from
+ //! old interface to new one
+ //!
+ //! \return pointer to new MFX interface
+ //!
+ virtual std::shared_ptr<void> GetNewMfxInterface() { return nullptr; }
+
//!
//! \brief Add a resource to the command buffer
//! \details Internal function to add either a graphics address of a resource or