Home
last modified time | relevance | path

Searched refs:iSliceIdx (Results 1 – 13 of 13) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dslice_multi_threading.cpp93 int32_t iSliceIdx = 0; in CalcSliceComplexRatio() local
99 while (iSliceIdx < kiSliceCount) { in CalcSliceComplexRatio()
100 iAvI[iSliceIdx] = WELS_DIV_ROUND (INT_MULTIPLY * ppSliceInLayer[iSliceIdx]->iCountMbNumInSlice, in CalcSliceComplexRatio()
101 ppSliceInLayer[iSliceIdx]->uiSliceConsumeTime); in CalcSliceComplexRatio()
103 iSliceIdx, in CalcSliceComplexRatio()
104 … ppSliceInLayer[iSliceIdx]->uiSliceConsumeTime, ppSliceInLayer[iSliceIdx]->iCountMbNumInSlice); in CalcSliceComplexRatio()
105 iSumAv += iAvI[iSliceIdx]; in CalcSliceComplexRatio()
107 ++ iSliceIdx; in CalcSliceComplexRatio()
109 while (-- iSliceIdx >= 0) { in CalcSliceComplexRatio()
110 …ppSliceInLayer[iSliceIdx]->iSliceComplexRatio = WELS_DIV_ROUND (INT_MULTIPLY * iAvI[iSliceIdx], iS… in CalcSliceComplexRatio()
[all …]
Dsvc_enc_slice_segment.cpp72 int32_t iSliceIdx = 0; in AssignMbMapMultipleSlices() local
80 iSliceIdx = 0; in AssignMbMapMultipleSlices()
81 while (iSliceIdx < iSliceNum) { in AssignMbMapMultipleSlices()
82 const int32_t kiFirstMb = iSliceIdx * kiMbWidth; in AssignMbMapMultipleSlices()
83 WelsSetMemMultiplebytes_c (pSliceSeg->pOverallMbMap + kiFirstMb, iSliceIdx, in AssignMbMapMultipleSlices()
85 ++ iSliceIdx; in AssignMbMapMultipleSlices()
96 iSliceIdx = 0; in AssignMbMapMultipleSlices()
98 const int32_t kiCurRunLength = kpSlicesAssignList[iSliceIdx]; in AssignMbMapMultipleSlices()
103 pSliceSeg->pOverallMbMap[iMbIdx + iRunIdx] = iSliceIdx; in AssignMbMapMultipleSlices()
108 ++ iSliceIdx; in AssignMbMapMultipleSlices()
[all …]
Dsvc_encode_slice.cpp530 const int32_t kiSliceIdx = pSlice->iSliceIdx; in WelsISliceMdEnc()
599 const int32_t kiSliceIdx = pSlice->iSliceIdx; in WelsISliceMdEncDynamic()
826 int32_t iSliceIdx = 0; in InitSliceBoundaryInfo() local
830 for (; iSliceIdx < kiSliceNumInFrame; iSliceIdx++) { in InitSliceBoundaryInfo()
836 iFirstMBInSlice = iSliceIdx * kiMBWidth; in InitSliceBoundaryInfo()
841 for (int i = 0; i < iSliceIdx; i++) { in InitSliceBoundaryInfo()
850 iMbNumInSlice = kpSlicesAssignList[iSliceIdx]; in InitSliceBoundaryInfo()
860 pCurLayer->pCountMbNumInSlice[iSliceIdx] = iMbNumInSlice; in InitSliceBoundaryInfo()
861 pCurLayer->pFirstMbIdxOfSlice[iSliceIdx] = iFirstMBInSlice; in InitSliceBoundaryInfo()
915 int32_t iSliceIdx = 0; in FreeSliceBuffer() local
[all …]
Dwels_task_encoder.cpp59 const int32_t iSliceIdx) : CWelsBaseTask (pSink), m_eTaskResult (ENC_RETURN_SUCCESS) { in CWelsSliceEncodingTask() argument
61 m_iSliceIdx = iSliceIdx; in CWelsSliceEncodingTask()
167 assert (m_iSliceIdx == (int) m_pSlice->iSliceIdx); in ExecuteTask()
248 m_pSlice->iSliceIdx = -1; in ExecuteTask()
286 assert (iLocalSliceIdx == (int) m_pSlice->iSliceIdx); in ExecuteTask()
326 const int32_t iSliceIdx): CWelsBaseTask (pSink) { in CWelsUpdateMbMapTask() argument
328 m_iSliceIdx = iSliceIdx; in CWelsUpdateMbMapTask()
Dref_list_mgr_svc.cpp456 int32_t iSliceIdx = 0; in WelsMarkMMCORefInfoWithBase() local
460 for (iSliceIdx = 0; iSliceIdx < kiCountSliceNum; iSliceIdx++) { in WelsMarkMMCORefInfoWithBase()
461 pSliceHdrExt = &ppSliceList[iSliceIdx]->sSliceHeaderExt; in WelsMarkMMCORefInfoWithBase()
Ddeblocking.cpp752 int32_t iSliceIdx = 0; in PerformDeblockingFilter() local
756 pSlice = pCurLayer->ppSliceInLayer[iSliceIdx]; in PerformDeblockingFilter()
759 ++ iSliceIdx; in PerformDeblockingFilter()
760 } while (iSliceIdx < iSliceCount); in PerformDeblockingFilter()
Dencoder_ext.cpp3676 assert (0 == (int) pCurSlice->iSliceIdx); in WelsEncoderEncodeExt()
3798 int32_t iSliceIdx = 0; in WelsEncoderEncodeExt() local
3802 while (iSliceIdx < iSliceCount) { in WelsEncoderEncodeExt()
3816 pCurSlice = &pCtx->pCurDqLayer->sSliceBufferInfo[0].pSliceBuffer[iSliceIdx]; in WelsEncoderEncodeExt()
3817 assert (iSliceIdx == pCurSlice->iSliceIdx); in WelsEncoderEncodeExt()
3818 pCtx->iEncoderError = SetSliceBoundaryInfo (pCtx->pCurDqLayer, pCurSlice, iSliceIdx); in WelsEncoderEncodeExt()
3838 iSliceIdx, in WelsEncoderEncodeExt()
3844 ++ iSliceIdx; in WelsEncoderEncodeExt()
4533 int32_t iSliceIdx = iStartSliceIdx; in WelsCodeOnePicPartition() local
4551 if (iSliceIdx >= (pCurLayer->sSliceBufferInfo[uSlcBuffIdx].iMaxSliceNum - in WelsCodeOnePicPartition()
[all …]
Dsvc_set_mb_syn_cavlc.cpp305 return CheckBitstreamBuffer (pSlice->iSliceIdx, pEncCtx, pBs); in WelsSpatialWriteMbSyn()
/third_party/openh264/codec/encoder/core/inc/
Dwels_task_encoder.h50 const int32_t iSliceIdx,
52 extern int32_t WriteSliceBs (sWelsEncCtx* pCtx,SWelsSliceBs* pSliceBs,const int32_t iSliceIdx, int3…
56 …lsSliceEncodingTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, const int32_t iSliceIdx);
59 CWelsSliceEncodingTask* CreateSliceEncodingTask (sWelsEncCtx* pCtx, const int32_t iSliceIdx);
95 …ask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, const int32_t iSliceIdx) : CWelsSliceEnc… in CWelsLoadBalancingSlicingEncodingTask() argument
96 iSliceIdx) { in CWelsLoadBalancingSlicingEncodingTask()
113 const int32_t iSliceIdx) : CWelsLoadBalancingSlicingEncodingTask (pSink, pCtx, iSliceIdx) { in CWelsConstrainedSizeSlicingEncodingTask() argument
127 …WelsUpdateMbMapTask (WelsCommon::IWelsTaskSink* pSink, sWelsEncCtx* pCtx, const int32_t iSliceIdx);
Dslice_multi_threading.h93 int32_t WriteSliceBs (sWelsEncCtx* pCtx,SWelsSliceBs* pSliceBs,const int32_t iSliceIdx,int32_t& iSl…
Dslice.h187 int32_t iSliceIdx; member
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp150 pLastCodedSlc->iSliceIdx = iLastCodeSlcIdx; in SetParamForReallocateTest()
380 …t.pCurDqLayer->sSliceBufferInfo[kiThreadIdx].pSliceBuffer[iCodedSlcNumInThrd].iSliceIdx = kiSlcIdx; in SimulateEncodedOneSlice()
383 m_EncContext.pCurDqLayer->sSliceBufferInfo[0].pSliceBuffer[kiSlcIdx].iSliceIdx = kiSlcIdx; in SimulateEncodedOneSlice()
592 EXPECT_TRUE (iSlcIdx == pCtx->pCurDqLayer->ppSliceInLayer[iSlcIdx]->iSliceIdx); in TEST_F()
623 pSlcListInThrd[iCodedSlcNumInThrd - 1].iSliceIdx % pCtx->iActiveThreadsNum; in TEST_F()
641 pSlcListInThrd[iSlcIdx].iSliceIdx = iSlcIdxInThrd; in TEST_F()
/third_party/openh264/test/api/
Dencode_options_test.cpp1352 for (int iSliceIdx = 0; iSliceIdx < iSliceModeTestNum; iSliceIdx++) { in TEST_P() local
1356 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (iSliceIdx); in TEST_P()