• Home
  • Raw
  • Download

Lines Matching refs:m_EncContext

168 …            (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()
322 sWelsEncCtx* pCtx = &m_EncContext; in InitLayerSliceBuffer()
366 sWelsEncCtx* pCtx = &m_EncContext; in UnInitLayerSliceBuffer()
374 if (m_EncContext.pCurDqLayer->bThreadSlcBufferFlag) { in SimulateEncodedOneSlice()
375 …int32_t iCodedSlcNumInThrd = m_EncContext.pCurDqLayer->sSliceBufferInfo[kiThreadIdx].iCodedSliceNu… in SimulateEncodedOneSlice()
377 ASSERT_TRUE (NULL != m_EncContext.pCurDqLayer->sSliceBufferInfo[kiThreadIdx].pSliceBuffer); in SimulateEncodedOneSlice()
378 …ASSERT_TRUE (NULL != &m_EncContext.pCurDqLayer->sSliceBufferInfo[kiThreadIdx].pSliceBuffer[iCodedS… in SimulateEncodedOneSlice()
380m_EncContext.pCurDqLayer->sSliceBufferInfo[kiThreadIdx].pSliceBuffer[iCodedSlcNumInThrd].iSliceIdx… in SimulateEncodedOneSlice()
381 m_EncContext.pCurDqLayer->sSliceBufferInfo[kiThreadIdx].iCodedSliceNum ++; in SimulateEncodedOneSlice()
383 m_EncContext.pCurDqLayer->sSliceBufferInfo[0].pSliceBuffer[kiSlcIdx].iSliceIdx = kiSlcIdx; in SimulateEncodedOneSlice()
393 int32_t iPartitionThrdIdx = RandAvailableThread (&m_EncContext, kiSlcNumInPart); in SimulateSliceInOnePartition()
401 m_EncContext.pCurDqLayer->NumSliceCodedOfPartition[kiPartIdx] ++; in SimulateSliceInOnePartition()
402 m_EncContext.pCurDqLayer->sSliceEncCtx.iSliceNumInFrame ++; in SimulateSliceInOnePartition()
408 SSpatialLayerConfig* pLayerCfg = &m_EncContext.pSvcParam->sSpatialLayers[iLayerIdx]; in SimulateSliceInOneLayer()
409 int32_t iTotalSliceBuffer = m_EncContext.pCurDqLayer->iMaxSliceNum; in SimulateSliceInOneLayer()
413 int32_t iPartNum = m_EncContext.iActiveThreadsNum; in SimulateSliceInOneLayer()
415 int32_t iMaxSlcNumInThrd = m_EncContext.pCurDqLayer->sSliceBufferInfo[0].iMaxSliceNum; in SimulateSliceInOneLayer()
428 int32_t iSlcThrdIdx = RandAvailableThread (&m_EncContext, 1); in SimulateSliceInOneLayer()
432 m_EncContext.pCurDqLayer->sSliceEncCtx.iSliceNumInFrame++; in SimulateSliceInOneLayer()
438 sWelsEncCtx* pCtx = &m_EncContext; in TEST_F()
468 sWelsEncCtx* pCtx = &m_EncContext; in TEST_F()
502 sWelsEncCtx* pCtx = &m_EncContext; in TEST_F()
541 sWelsEncCtx* pCtx = &m_EncContext; in TEST_F()
571 sWelsEncCtx* pCtx = &m_EncContext; in TEST_F()
599 sWelsEncCtx* pCtx = &m_EncContext; in TEST_F()