Lines Matching refs:sSliceArgument
122 … pSpatialLayer->sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (rand() % SLICE_MODE_NUM); in RandomParamExtCombination()
123 if (pSpatialLayer->sSliceArgument.uiSliceMode != SM_SIZELIMITED_SLICE) { in RandomParamExtCombination()
126 pSpatialLayer->sSliceArgument.uiSliceNum = rand(); in RandomParamExtCombination()
127 pSpatialLayer->sSliceArgument.uiSliceSizeConstraint = rand(); in RandomParamExtCombination()
189 uiSliceNum = pSpatialLayer->sSliceArgument.uiSliceNum; in ValidateParamExtCombination()
190 pSpatialLayer->sSliceArgument.uiSliceNum = WELS_CLIP3 (uiSliceNum, 1, MAX_SLICES_NUM); in ValidateParamExtCombination()
191 pSpatialLayer->sSliceArgument.uiSliceSizeConstraint = 0; in ValidateParamExtCombination()
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()
207 if (0 != pSpatialLayer->sSliceArgument.uiSliceMbNum[0]) { in ValidateParamExtCombination()
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()
285 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in SliceParamValidationForMode3()
293 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceSizeConstraint = 600; in SliceParamValidationForMode4()
294 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in SliceParamValidationForMode4()
1354 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = p.eSliceMode; in TEST_P()
1356 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = static_cast<SliceModeEnum> (iSliceIdx); in TEST_P()
1364 if (SM_FIXEDSLCNUM_SLICE == param_.sSpatialLayers[0].sSliceArgument.uiSliceMode) { in TEST_P()
1365 param_.sSpatialLayers[0].sSliceArgument.uiSliceNum = 8; in TEST_P()
1366 } else if (SM_RASTER_SLICE == param_.sSpatialLayers[0].sSliceArgument.uiSliceMode) { in TEST_P()
1367 param_.sSpatialLayers[0].sSliceArgument.uiSliceMbNum[0] = in TEST_P()
1368 param_.sSpatialLayers[0].sSliceArgument.uiSliceMbNum[1] = in TEST_P()
1369 param_.sSpatialLayers[0].sSliceArgument.uiSliceMbNum[2] = in TEST_P()
1370 … param_.sSpatialLayers[0].sSliceArgument.uiSliceMbNum[3] = ((p.iWidth * p.iHeight) >> 10); in TEST_P()
1371 …} else if (SM_SIZELIMITED_SLICE == param_.sSpatialLayers[0].sSliceArgument.uiSliceMode && 450 > p.… in TEST_P()
1373 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 450; in TEST_P()
1586 sParam.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_RASTER_SLICE; in TEST_F()
1587 sParam.sSpatialLayers[1].sSliceArgument.uiSliceMbNum[0] = 0; in TEST_F()
1591 sParam.sSpatialLayers[1].sSliceArgument.uiSliceMode = SM_RASTER_SLICE; in TEST_F()
1592 sParam.sSpatialLayers[1].sSliceArgument.uiSliceMbNum[0] = 30; in TEST_F()
1593 sParam.sSpatialLayers[1].sSliceArgument.uiSliceMbNum[1] = 32; in TEST_F()
1597 sParam.sSpatialLayers[2].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1598 sParam.sSpatialLayers[2].sSliceArgument.uiSliceNum = (rand() % 30) + 1; in TEST_F()
1660 …sParam.sSpatialLayers[0].sSliceArgument.uiSliceMode = (rand() % 2) ? SM_SIZELIMITED_SLICE : SM_FIX… in TEST_F()
1661 sParam.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 1500; in TEST_F()
1665 …sParam.sSpatialLayers[1].sSliceArgument.uiSliceMode = (rand() % 2) ? SM_SIZELIMITED_SLICE : SM_FIX… in TEST_F()
1666 sParam.sSpatialLayers[1].sSliceArgument.uiSliceNum = 1; in TEST_F()
1667 sParam.sSpatialLayers[1].sSliceArgument.uiSliceSizeConstraint = 1500; in TEST_F()
1729 sParam.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1730 …sParam.sSpatialLayers[0].sSliceArgument.uiSliceNum = (rand() % 2) ? (sParam.iMultipleThreadIdc + 1… in TEST_F()
1790 sParam.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in TEST_F()
1792 sParam.sSpatialLayers[0].sSliceArgument.uiSliceNum = sParam.iMultipleThreadIdc; in TEST_F()
1793 sParam.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 1000; in TEST_F()