Skip to content

Commit

Permalink
[Encode] MHW refactoring
Browse files Browse the repository at this point in the history
* [Encode] mhw refactor

mhw refactoring.
  • Loading branch information
bai-isaac authored and intel-mediadev committed Oct 25, 2021
1 parent 602ae04 commit 8d84787
Show file tree
Hide file tree
Showing 5 changed files with 2,620 additions and 0 deletions.
3 changes: 3 additions & 0 deletions media_driver/agnostic/common/codec/hal/codechal_hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "mhw_vdbox_avp_interface.h"
#include "mhw_vdbox_huc_interface.h"
#include "mhw_vdbox_vdenc_interface.h"
#include "mhw_vdbox_hcp_itf.h"

#include "media_interfaces_mhw.h"

Expand Down Expand Up @@ -380,6 +381,8 @@ class CodechalHwInterface
MhwVdboxAvpInterface *m_avpInterface = nullptr; //!< Pointer to Mhw avp interface
MhwVdboxHucInterface *m_hucInterface = nullptr; //!< Pointer to Mhw huc interface
MhwVdboxVdencInterface *m_vdencInterface = nullptr; //!< Pointer to Mhw vdenc interface
std::shared_ptr<mhw::vdbox::hcp::Itf> m_hcpItf = nullptr;
std::shared_ptr<mhw::vdbox::vdenc::Itf> m_vdencItf = nullptr;

CODECHAL_SSEU_SETTING const *m_ssEuTable = nullptr; //!< Pointer to the default SSEU settings table
uint16_t m_numMediaStates = CODECHAL_NUM_MEDIA_STATES; //!< number of media states
Expand Down
3 changes: 3 additions & 0 deletions media_softlet/agnostic/common/hw/vdbox/media_srcs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

set(TMP_HEADERS_
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_cmdpar.h
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_hcp_cmdpar.h
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_hcp_impl.h
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_hcp_itf.h
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_vdenc_cmdpar.h
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_vdenc_impl.h
${CMAKE_CURRENT_LIST_DIR}/mhw_vdbox_vdenc_itf.h
Expand Down
Loading

0 comments on commit 8d84787

Please sign in to comment.