Lines Matching refs:iSpatialIdx
108 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in RandomParamExtCombination() local
109 if (iSpatialIdx < MAX_SPATIAL_LAYER_NUM) { in RandomParamExtCombination()
110 SSpatialLayerConfig* pSpatialLayer = ¶m_.sSpatialLayers[iSpatialIdx]; in RandomParamExtCombination()
179 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in ValidateParamExtCombination() local
180 SSpatialLayerConfig* pSpatialLayer = ¶m_.sSpatialLayers[iSpatialIdx]; in ValidateParamExtCombination()
181 pSpatialLayer->iVideoWidth = param_.iPicWidth >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
182 pSpatialLayer->iVideoHeight = param_.iPicHeight >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
208 SliceParamValidationForMode2 (iSpatialIdx); in ValidateParamExtCombination()
210 SliceParamValidationForMode3 (iSpatialIdx); in ValidateParamExtCombination()
240 void EncodeDecodeTestAPIBase::SliceParamValidationForMode2 (int iSpatialIdx) { in SliceParamValidationForMode2() argument
255 …param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiSliceIdx] = rand() % uiMbNumInFra… in SliceParamValidationForMode2()
256 … uiCountMb += param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiSliceIdx]; in SliceParamValidationForMode2()
267 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiActualSliceCount - 1] -= in SliceParamValidationForMode2()
271 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiActualSliceCount - 1 ] += in SliceParamValidationForMode2()
274 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceNum = uiActualSliceCount; in SliceParamValidationForMode2()
277 void EncodeDecodeTestAPIBase::SliceParamValidationForMode3 (int iSpatialIdx) { in SliceParamValidationForMode3() argument
285 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in SliceParamValidationForMode3()
292 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in SliceParamValidationForMode4() local
293 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceSizeConstraint = 600; in SliceParamValidationForMode4()
294 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in SliceParamValidationForMode4()