Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build error with gcc-4.9 #1545

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Vp9EncodeHpu : public MediaFeature, public mhw::vdbox::huc::Itf::ParSettin
MOS_RESOURCE m_resProbabilityCounterBuffer = {0}; //!< Probability counter buffer
MOS_RESOURCE m_resHucProbDmemBuffer[CODECHAL_ENCODE_RECYCLED_BUFFER_NUM][3]; //!< VDENC HuC Prob DMEM buffer
MOS_RESOURCE m_resHucProbOutputBuffer = {0}; //!< HuC Prob output buffer
MOS_RESOURCE m_resProbBuffer[CODEC_VP9_NUM_CONTEXTS] = {0}; //!< Probability buffer
MOS_RESOURCE m_resProbBuffer[CODEC_VP9_NUM_CONTEXTS] = { {0} }; //!< Probability buffer

mutable bool m_isLastPass = false;
MEDIA_CLASS_DEFINE_END(encode__Vp9EncodeHpu)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class Vp9EncodePak : public MediaFeature,
MOS_RESOURCE m_resVdencPictureState2ndLevelBatchBufferWrite[CODECHAL_VP9_ENCODE_RECYCLED_BUFFER_NUM];

// Vdenc/Pak resources
MOS_RESOURCE m_resHucPakInsertUncompressedHeaderReadBuffer[CODECHAL_ENCODE_RECYCLED_BUFFER_NUM] = {0}; //!< Huc VP9 pak insert uncompressed header read buffer
MOS_RESOURCE m_resHucPakInsertUncompressedHeaderReadBuffer[CODECHAL_ENCODE_RECYCLED_BUFFER_NUM] = { {0} }; //!< Huc VP9 pak insert uncompressed header read buffer
MOS_RESOURCE m_resHucPakInsertUncompressedHeaderWriteBuffer = {0}; //!< Huc VP9 pak insert uncompressed header write buffer

MOS_RESOURCE m_resCompressedHeaderBuffer = {0}; //!< Compressed heander buffer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ class Vp9Segmentation : public MediaFeature,
// Segmentation resources
bool m_segmentMapProvided = false; //!< Flag to indicate APP's segmentation map provided or not
bool m_segmentMapAllocated = false;
MOS_SURFACE m_mbSegmentMapSurface = {0};
MOS_SURFACE m_mbSegmentMapSurface = { {0} };

uint32_t *m_mapBuffer = nullptr; //!< Use for re-map recreate map buffer
uint32_t m_segStreamInHeight = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,11 +579,11 @@ class Vp9VdencPkt : public CmdPacket, public MediaStatusReportObserver, public m
PMOS_RESOURCE m_resVdencPakObjCmdStreamOutBuffer = nullptr; //!< Resource of Vdenc Pak object command stream out buffer
MOS_RESOURCE m_resPakcuLevelStreamoutData = {0}; //!< PAK CU level Ssreamout data buffer

MOS_SURFACE m_output16X16InterModes = {0};
MOS_SURFACE m_output16X16InterModes = { {0} };
// ME
MOS_SURFACE m_4xMeMvDataBuffer = {0}; //!< 4x ME MV data buffer
MOS_SURFACE m_4xMeDistortionBuffer = {0}; //!< 4x ME distortion buffer
MOS_SURFACE m_16xMeMvDataBuffer = {0}; //!< 16x ME MV data buffer
MOS_SURFACE m_4xMeMvDataBuffer = { {0} }; //!< 4x ME MV data buffer
MOS_SURFACE m_4xMeDistortionBuffer = { {0} }; //!< 4x ME distortion buffer
MOS_SURFACE m_16xMeMvDataBuffer = { {0} }; //!< 16x ME MV data buffer

MOS_RESOURCE m_resVdencIntraRowStoreScratchBuffer = {0}; //!< VDENC Intra row store scratch buffer
MOS_RESOURCE m_resHvcTileRowStoreBuffer = {0}; //!< HVC tile row store buffer
Expand Down