/third_party/openh264/codec/encoder/core/src/ |
D | slice_multi_threading.cpp | 93 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 …]
|
D | svc_enc_slice_segment.cpp | 72 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 …]
|
D | svc_encode_slice.cpp | 530 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 …]
|
D | wels_task_encoder.cpp | 59 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()
|
D | ref_list_mgr_svc.cpp | 456 int32_t iSliceIdx = 0; in WelsMarkMMCORefInfoWithBase() local 460 for (iSliceIdx = 0; iSliceIdx < kiCountSliceNum; iSliceIdx++) { in WelsMarkMMCORefInfoWithBase() 461 pSliceHdrExt = &ppSliceList[iSliceIdx]->sSliceHeaderExt; in WelsMarkMMCORefInfoWithBase()
|
D | deblocking.cpp | 752 int32_t iSliceIdx = 0; in PerformDeblockingFilter() local 756 pSlice = pCurLayer->ppSliceInLayer[iSliceIdx]; in PerformDeblockingFilter() 759 ++ iSliceIdx; in PerformDeblockingFilter() 760 } while (iSliceIdx < iSliceCount); in PerformDeblockingFilter()
|
D | encoder_ext.cpp | 3676 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 …]
|
D | svc_set_mb_syn_cavlc.cpp | 305 return CheckBitstreamBuffer (pSlice->iSliceIdx, pEncCtx, pBs); in WelsSpatialWriteMbSyn()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | wels_task_encoder.h | 50 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);
|
D | slice_multi_threading.h | 93 int32_t WriteSliceBs (sWelsEncCtx* pCtx,SWelsSliceBs* pSliceBs,const int32_t iSliceIdx,int32_t& iSl…
|
D | slice.h | 187 int32_t iSliceIdx; member
|
/third_party/openh264/test/encoder/ |
D | EncUT_SliceBufferReallocate.cpp | 150 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/ |
D | encode_options_test.cpp | 1352 for (int iSliceIdx = 0; iSliceIdx < iSliceModeTestNum; iSliceIdx++) { in TEST_P() local 1356 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (iSliceIdx); in TEST_P()
|