History

adjust encoder test case to cover multi-thread without loadbalancing

sijchen committed 10 years ago

Commit 0c820f41 parent 76ca5642 files · +6 −4Browse files

Showing the changes to test/api/BaseEncoderTest.cpp (1 of 2 files). Show all

Unified · Split

test/api/BaseEncoderTest.cpp+2−0
@@ -49,6 +49,8 @@ static int InitWithParam (ISVCEncoder* encoder, SEncParamExt* pEncParamExt) { · 48 unmodified lines
4949 if (eSliceMode == SM_SIZELIMITED_SLICE) {
5050 param.sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = 600;
5151 param.uiMaxNalSize = 1500;
52+ param.iMultipleThreadIdc = 4;
53+ param.bUseLoadBalancing = false;
5254 }
5355 if (eSliceMode == SM_FIXEDSLCNUM_SLICE) {
5456 param.sSpatialLayers[i].sSliceArgument.uiSliceNum = 4;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t