Showing the changes to test/api/BaseEncoderTest.cpp (1 of 2 files). Show all
Unified · Split
| @@ -49,6 +49,8 @@ static int InitWithParam (ISVCEncoder* encoder, SEncParamExt* pEncParamExt) { · 48 unmodified lines | ||
| 49 | 49 | if (eSliceMode == SM_SIZELIMITED_SLICE) { |
| 50 | 50 | param.sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = 600; |
| 51 | 51 | param.uiMaxNalSize = 1500; |
| 52 | + param.iMultipleThreadIdc = 4; | |
| 53 | + param.bUseLoadBalancing = false; | |
| 52 | 54 | } |
| 53 | 55 | if (eSliceMode == SM_FIXEDSLCNUM_SLICE) { |
| 54 | 56 | param.sSpatialLayers[i].sSliceArgument.uiSliceNum = 4; |