MCPcopy Create free account
hub / github.com/cisco/openh264 / CWelsPreProcess

Method CWelsPreProcess

codec/encoder/core/src/wels_preprocess.cpp:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107
108CWelsPreProcess::CWelsPreProcess (sWelsEncCtx* pEncCtx) {
109 m_pInterfaceVp = NULL;
110 m_bInitDone = false;
111 m_pEncCtx = pEncCtx;
112 memset (&m_sScaledPicture, 0, sizeof (m_sScaledPicture));
113 memset (m_pSpatialPic, 0, sizeof (m_pSpatialPic));
114 memset (m_uiSpatialLayersInTemporal, 0, sizeof (m_uiSpatialLayersInTemporal));
115 memset (m_uiSpatialPicNum, 0, sizeof (m_uiSpatialPicNum));
116}
117
118CWelsPreProcess::~CWelsPreProcess() {
119 FreeScaledPic (&m_sScaledPicture, m_pEncCtx->pMemAlign);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected