Home
last modified time | relevance | path

Searched refs:pSliceArgument (Results 1 – 7 of 7) sorted by relevance

/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp96 SSliceArgument* pSliceArgument = &pLayerCfg->sSliceArgument; in InitParamForSizeLimitSlcMode() local
100 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() local
125 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 …]
/third_party/openh264/codec/encoder/core/src/
Dsvc_enc_slice_segment.cpp319 int32_t GetInitialSliceNum (SSliceArgument* pSliceArgument) { in GetInitialSliceNum() argument
320 if (NULL == pSliceArgument) in GetInitialSliceNum()
323 switch (pSliceArgument->uiSliceMode) { in GetInitialSliceNum()
327 return pSliceArgument->uiSliceNum; in GetInitialSliceNum()
354 SSliceArgument* pSliceArgument, in InitSliceSegment() argument
361 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 …]
Dsvc_encode_slice.cpp820 SSliceArgument* pSliceArgument, in InitSliceBoundaryInfo() argument
822 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() local
1085 SM_SINGLE_SLICE != pSliceArgument->uiSliceMode) ? true : false; in InitSliceInLayer()
1088 … SM_SIZELIMITED_SLICE == pSliceArgument->uiSliceMode) ? true : false; in InitSliceInLayer()
[all …]
Dencoder_ext.cpp175 SSliceArgument* pSliceArgument, const RC_MODES kiRCMode, in SliceArgumentValidationFixedSliceMode() argument
184 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 …]
Dslice_multi_threading.cpp603 SSliceArgument* pSliceArgument = &pPara->sSpatialLayers[kiDid].sSliceArgument; in TrackSliceConsumeTime() local
610 …&& ((pSliceArgument->uiSliceMode == SM_FIXEDSLCNUM_SLICE) || (pSliceArgument->uiSliceMode == SM_SI… in TrackSliceConsumeTime()
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_slice_segment.h126 SSliceArgument* pSliceArgument,
194 int32_t GetInitialSliceNum (SSliceArgument* pSliceArgument);
Dsvc_encode_slice.h88 SSliceArgument* pSliceArgument,
131 SSliceArgument* pSliceArgument,