Home
last modified time | relevance | path

Searched refs:m_EncContext (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.h22 m_EncContext.pMemAlign = new CMemoryAlign (iCacheLineSize); in SetUp()
23 ASSERT_TRUE (NULL != m_EncContext.pMemAlign); in SetUp()
25 …SWelsSvcCodingParam* pCodingParam = (SWelsSvcCodingParam*)m_EncContext.pMemAlign->WelsMalloc (size… in SetUp()
29 m_EncContext.pSvcParam = pCodingParam; in SetUp()
31 iRet = m_pEncoder->GetDefaultParams (m_EncContext.pSvcParam); in SetUp()
38 if (NULL != m_EncContext.pSvcParam) { in TearDown()
39 m_EncContext.pMemAlign->WelsFree (m_EncContext.pSvcParam, "SWelsSvcCodingParam"); in TearDown()
40 m_EncContext.pSvcParam = NULL; in TearDown()
43 if (m_EncContext.pMemAlign != NULL) { in TearDown()
44 delete m_EncContext.pMemAlign; in TearDown()
[all …]
DEncUT_SliceBufferReallocate.cpp168 … (cmResultSuccess != m_pEncoder->InitializeExt ((SEncParamExt*)m_EncContext.pSvcParam))) in InitParamForTestCase()
173 …SSliceArgument* pSliceArgument = &m_EncContext.pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument; in InitParamForSizeLimitSlcModeCase()
179 …if (SM_SIZELIMITED_SLICE != pSliceArgument->uiSliceMode && NULL != m_EncContext.ppDqLayerList[iLay… in InitParamForSizeLimitSlcModeCase()
182 …URN_IF (ENC_RETURN_MEMALLOCERR, (ENC_RETURN_SUCCESS != InitParamForSizeLimitSlcMode (&m_EncContext, in InitParamForSizeLimitSlcModeCase()
184 WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, (NULL == m_EncContext.ppDqLayerList[iLayerIdx])) in InitParamForSizeLimitSlcModeCase()
189 … (cmResultSuccess != m_pEncoder->InitializeExt ((SEncParamExt*)m_EncContext.pSvcParam))) in InitParamForSizeLimitSlcModeCase()
203 sWelsEncCtx* pCtx = &m_EncContext; in InitParam()
238 sWelsEncCtx* pCtx = &m_EncContext; in UnInitParam()
257 sWelsEncCtx* pCtx = &m_EncContext; in InitFrameBsBuffer()
293 sWelsEncCtx* pCtx = &m_EncContext; in UnInitFrameBsBuffer()
[all …]