Home
last modified time | relevance | path

Searched refs:uiSliceMode (Results 1 – 22 of 22) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dsvc_enc_slice_segment.cpp73 if (NULL == pSliceSeg || SM_SINGLE_SLICE == pSliceSeg->uiSliceMode) in AssignMbMapMultipleSlices()
76 if ((SM_RASTER_SLICE == pSliceSeg->uiSliceMode) && (0 == kpSliceArgument->uiSliceMbNum[0])) { in AssignMbMapMultipleSlices()
89 } else if (SM_RASTER_SLICE == pSliceSeg->uiSliceMode || in AssignMbMapMultipleSlices()
90 SM_FIXEDSLCNUM_SLICE == pSliceSeg->uiSliceMode) { in AssignMbMapMultipleSlices()
110 } else if (SM_SIZELIMITED_SLICE == pSliceSeg->uiSliceMode) { in AssignMbMapMultipleSlices()
323 switch (pSliceArgument->uiSliceMode) { in GetInitialSliceNum()
359 SliceModeEnum uiSliceMode = SM_SINGLE_SLICE; in InitSliceSegment() local
364 uiSliceMode = pSliceArgument->uiSliceMode; in InitSliceSegment()
366 …&& pSliceSeg->iMbHeight == kiMbHeight && pSliceSeg->uiSliceMode == uiSliceMode && pSliceSeg->pOver… in InitSliceSegment()
380 pSliceSeg->uiSliceMode = SM_SINGLE_SLICE; // sigle in default in InitSliceSegment()
[all …]
Dwels_task_management.cpp146 uint32_t uiSliceMode = pEncCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument.uiSliceMode; in CreateTasks() local
148 if (uiSliceMode != SM_SIZELIMITED_SLICE) { in CreateTasks()
161 if (uiSliceMode == SM_SIZELIMITED_SLICE) { in CreateTasks()
Dencoder_ext.cpp213 pSliceArgument->uiSliceMode = SM_SINGLE_SLICE; in SliceArgumentValidationFixedSliceMode()
248 pSliceArgument->uiSliceMode = SM_SINGLE_SLICE; in SliceArgumentValidationFixedSliceMode()
528 if (pSpatialLayer->sSliceArgument.uiSliceMode >= SM_RESERVED) { in ParamValidationExt()
530 pSpatialLayer->sSliceArgument.uiSliceMode); in ParamValidationExt()
533 …if ((pCodingParam->uiMaxNalSize != 0) && (pSpatialLayer->sSliceArgument.uiSliceMode != SM_SIZELIMI… in ParamValidationExt()
536 pSpatialLayer->sSliceArgument.uiSliceMode, pCodingParam->uiMaxNalSize); in ParamValidationExt()
543 pSpatialLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParamValidationExt()
545 switch (pSpatialLayer->sSliceArgument.uiSliceMode) { in ParamValidationExt()
601 pSpatialLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParamValidationExt()
609 pSpatialLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParamValidationExt()
[all …]
Dsvc_encode_slice.cpp831 if (SM_SINGLE_SLICE == pSliceArgument->uiSliceMode) { in InitSliceBoundaryInfo()
835 …} else if ((SM_RASTER_SLICE == pSliceArgument->uiSliceMode) && (0 == pSliceArgument->uiSliceMbNum[… in InitSliceBoundaryInfo()
838 } else if (SM_RASTER_SLICE == pSliceArgument->uiSliceMode || in InitSliceBoundaryInfo()
839 SM_FIXEDSLCNUM_SLICE == pSliceArgument->uiSliceMode) { in InitSliceBoundaryInfo()
852 } else if (SM_SIZELIMITED_SLICE == pSliceArgument->uiSliceMode) { in InitSliceBoundaryInfo()
1085 SM_SINGLE_SLICE != pSliceArgument->uiSliceMode) ? true : false; in InitSliceInLayer()
1088 … SM_SIZELIMITED_SLICE == pSliceArgument->uiSliceMode) ? true : false; in InitSliceInLayer()
1207 SM_SINGLE_SLICE != pSliceArgument->uiSliceMode) ? true : false; in ReallocateSliceList()
1634 (pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId].sSliceArgument.uiSliceMode in WelsCodeOneSlice()
Dslice_multi_threading.cpp539 …&& (pCtx->pSvcParam->sSpatialLayers[iCurDid - 1].sSliceArgument.uiSliceMode == SM_FIXEDSLCNUM_SLICE in AdjustEnhanceLayer()
610 …&& ((pSliceArgument->uiSliceMode == SM_FIXEDSLCNUM_SLICE) || (pSliceArgument->uiSliceMode == SM_SI… in TrackSliceConsumeTime()
Dratectl.cpp170 bMultiSliceMode = ((SM_RASTER_SLICE == pDLayerParam->sSliceArgument.uiSliceMode) || in RcInitSequenceParameter()
171 (SM_SIZELIMITED_SLICE == pDLayerParam->sSliceArgument.uiSliceMode)); in RcInitSequenceParameter()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp198 sLayerCtx.sSliceArgument.uiSliceMode = (SliceModeEnum)atoi (strTag[1].c_str()); in ParseLayerConfig()
213 pDLayer->sSliceArgument.uiSliceMode = sLayerCtx.sSliceArgument.uiSliceMode; in ParseLayerConfig()
644 pDLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParseCommandLine()
647 pDLayer->sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in ParseCommandLine()
650 pDLayer->sSliceArgument.uiSliceMode = SM_RASTER_SLICE; in ParseCommandLine()
653 pDLayer->sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in ParseCommandLine()
656 pDLayer->sSliceArgument.uiSliceMode = SM_RESERVED; in ParseCommandLine()
713 sParam.sSpatialLayers[iIndexLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillSpecificParameters()
722 sParam.sSpatialLayers[iIndexLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillSpecificParameters()
731 sParam.sSpatialLayers[iIndexLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillSpecificParameters()
[all …]
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp179 …if (SM_SIZELIMITED_SLICE != pSliceArgument->uiSliceMode && NULL != m_EncContext.ppDqLayerList[iLay… in InitParamForSizeLimitSlcModeCase()
181 pSliceArgument->uiSliceMode = SM_SIZELIMITED_SLICE; in InitParamForSizeLimitSlcModeCase()
339 pSliceArgument->uiSliceMode = (SliceModeEnum) (rand() % 4); in InitLayerSliceBuffer()
342 if (pSliceArgument->uiSliceMode == SM_SIZELIMITED_SLICE) { in InitLayerSliceBuffer()
345 if (pSliceArgument->uiSliceMode == SM_RASTER_SLICE) { in InitLayerSliceBuffer()
412 if (SM_SIZELIMITED_SLICE == pLayerCfg->sSliceArgument.uiSliceMode) { in SimulateSliceInOneLayer()
582 iRet = ReOrderSliceInLayer (pCtx, pSliceArgument->uiSliceMode, pCtx->iActiveThreadsNum); in TEST_F()
618 …SliceModeEnum eSlcMode = pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument.uiSliceMode; in TEST_F()
DEncUT_EncoderExt.cpp973 sEncParamExt.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1036 sEncParamExt.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1043 sEncParamExt.sSpatialLayers[1].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1050 sEncParamExt.sSpatialLayers[2].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1139 pParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in TEST_F()
/third_party/openh264/test/api/
Dencode_options_test.cpp122 … pSpatialLayer->sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (rand() % SLICE_MODE_NUM); in RandomParamExtCombination()
123 if (pSpatialLayer->sSliceArgument.uiSliceMode != SM_SIZELIMITED_SLICE) { in RandomParamExtCombination()
196 if (SM_FIXEDSLCNUM_SLICE == pSpatialLayer->sSliceArgument.uiSliceMode) { in ValidateParamExtCombination()
197 pSpatialLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ValidateParamExtCombination()
201 if (SM_SIZELIMITED_SLICE == pSpatialLayer->sSliceArgument.uiSliceMode) { in ValidateParamExtCombination()
206 if (SM_RASTER_SLICE == pSpatialLayer->sSliceArgument.uiSliceMode) { in ValidateParamExtCombination()
285 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in SliceParamValidationForMode3()
294 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in SliceParamValidationForMode4()
1355 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = p.eSliceMode; in TEST_P()
1357 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (iSliceIdx); in TEST_P()
[all …]
DBaseEncoderTest.cpp10 SliceModeEnum eSliceMode = pEncParamExt->sSpatialLayers[0].sSliceArgument.uiSliceMode; in InitWithParam()
48 param.sSpatialLayers[i].sSliceArgument.uiSliceMode = eSliceMode; in InitWithParam()
Dencoder_test.cpp59 pEnxParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = pEncFileParam->eSliceMode; in EncFileParamToParamExt()
Ddecode_encode_test.cpp110 pEnxParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in DecEncFileParamToParamExt()
Ddecode_api_test.cpp656 …param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = (rand() % 2) ? SM_SIZELIMITED_SLICE : SM_SIN… in TEST_F()
657 if (param_.sSpatialLayers[0].sSliceArgument.uiSliceMode == SM_SIZELIMITED_SLICE) { in TEST_F()
1158 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = in TEST_F()
1160 if (param_.sSpatialLayers[0].sSliceArgument.uiSliceMode == SM_SIZELIMITED_SLICE) { in TEST_F()
Dencode_decode_api_test.cpp28 pParam->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in prepareParam()
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_slice_segment.h82 SliceModeEnum uiSliceMode; /* 0: single slice in frame; 1: multiple slices in … member
Dparam_svc.h191 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillDefault()
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c310 param.sSpatialLayers[0].sSliceArgument.uiSliceMode = s->slice_mode; in svc_encode_init()
313 param.sSpatialLayers[0].sSliceCfg.uiSliceMode = s->slice_mode; in svc_encode_init()
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h349 SliceModeEnum uiSliceMode; ///< by default, uiSliceMode will be SM_SINGLE_SLICE member
/third_party/openh264/codec/api/wels/
Dcodec_app_def.h349 SliceModeEnum uiSliceMode; ///< by default, uiSliceMode will be SM_SINGLE_SLICE member
/third_party/openh264/module/
Dgmp-openh264.cpp440 layer->sSliceArgument.uiSliceMode = GMPSliceToWelsSliceMode(codecSettings.mSliceMode); in InitEncode()
451 layer->sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in InitEncode()
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp554 pSpatialCfg->sSliceArgument.uiSliceMode, in TraceParamInfo()