Searched refs:pSliceArgument (Results 1 – 7 of 7) sorted by relevance
96 SSliceArgument* pSliceArgument = &pLayerCfg->sSliceArgument; in InitParamForSizeLimitSlcMode() local100 pSliceArgument->uiSliceSizeConstraint = 600; in InitParamForSizeLimitSlcMode()104 (iLayerBsSize / pSliceArgument->uiSliceSizeConstraint) + 1); in InitParamForSizeLimitSlcMode()106 iSliceBufferSize = (WELS_MAX ((int32_t)pSliceArgument->uiSliceSizeConstraint, in InitParamForSizeLimitSlcMode()119 SSliceArgument* pSliceArgument = &pLayerCfg->sSliceArgument; in InitParamForRasterSlcMode() local125 pSliceArgument->uiSliceMbNum[0] = rand() % 2; in InitParamForRasterSlcMode()126 if (0 == pSliceArgument->uiSliceMbNum[0] && iMBHeight > MAX_SLICES_NUM) { in InitParamForRasterSlcMode()127 pSliceArgument->uiSliceNum = MAX_SLICES_NUM; in InitParamForRasterSlcMode()128 pSliceArgument->uiSliceMbNum[0] = 1; in InitParamForRasterSlcMode()131 if (0 != pSliceArgument->uiSliceMbNum[0]) { in InitParamForRasterSlcMode()[all …]
319 int32_t GetInitialSliceNum (SSliceArgument* pSliceArgument) { in GetInitialSliceNum() argument320 if (NULL == pSliceArgument) in GetInitialSliceNum()323 switch (pSliceArgument->uiSliceMode) { in GetInitialSliceNum()327 return pSliceArgument->uiSliceNum; in GetInitialSliceNum()354 SSliceArgument* pSliceArgument, in InitSliceSegment() argument361 if (NULL == pSliceSeg || NULL == pSliceArgument || kiMbWidth == 0 || kiMbHeight == 0) in InitSliceSegment()364 uiSliceMode = pSliceArgument->uiSliceMode; in InitSliceSegment()406 pSliceSeg->iSliceNumInFrame = GetInitialSliceNum (pSliceArgument); in InitSliceSegment()410 pSliceSeg->uiSliceMode = pSliceArgument->uiSliceMode; in InitSliceSegment()415 if (SM_SIZELIMITED_SLICE == pSliceArgument->uiSliceMode) { in InitSliceSegment()[all …]
820 SSliceArgument* pSliceArgument, in InitSliceBoundaryInfo() argument822 const int32_t* kpSlicesAssignList = (int32_t*) & (pSliceArgument->uiSliceMbNum[0]); in InitSliceBoundaryInfo()831 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()1080 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiDlayerIndex].sSliceArgument; in InitSliceInLayer() local1085 SM_SINGLE_SLICE != pSliceArgument->uiSliceMode) ? true : false; in InitSliceInLayer()1088 … SM_SIZELIMITED_SLICE == pSliceArgument->uiSliceMode) ? true : false; in InitSliceInLayer()[all …]
175 SSliceArgument* pSliceArgument, const RC_MODES kiRCMode, in SliceArgumentValidationFixedSliceMode() argument184 pSliceArgument->uiSliceSizeConstraint = 0; in SliceArgumentValidationFixedSliceMode()186 if (pSliceArgument->uiSliceNum == 0) { in SliceArgumentValidationFixedSliceMode()193 pSliceArgument->uiSliceNum = iCpuCores; in SliceArgumentValidationFixedSliceMode()196 if (pSliceArgument->uiSliceNum <= 1) { in SliceArgumentValidationFixedSliceMode()199 pSliceArgument->uiSliceNum); in SliceArgumentValidationFixedSliceMode()208 pSliceArgument->uiSliceNum); in SliceArgumentValidationFixedSliceMode()213 pSliceArgument->uiSliceMode = SM_SINGLE_SLICE; in SliceArgumentValidationFixedSliceMode()214 pSliceArgument->uiSliceNum = 1; in SliceArgumentValidationFixedSliceMode()216 pSliceArgument->uiSliceMbNum[iIdx] = 0; in SliceArgumentValidationFixedSliceMode()[all …]
603 SSliceArgument* pSliceArgument = &pPara->sSpatialLayers[kiDid].sSliceArgument; in TrackSliceConsumeTime() local610 …&& ((pSliceArgument->uiSliceMode == SM_FIXEDSLCNUM_SLICE) || (pSliceArgument->uiSliceMode == SM_SI… in TrackSliceConsumeTime()
126 SSliceArgument* pSliceArgument,194 int32_t GetInitialSliceNum (SSliceArgument* pSliceArgument);
88 SSliceArgument* pSliceArgument,131 SSliceArgument* pSliceArgument,