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
49 if (eSliceMode == SM_SIZELIMITED_SLICE) {49 if (eSliceMode == SM_SIZELIMITED_SLICE) {
50 param.sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = 600;50 param.sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = 600;
51 param.uiMaxNalSize = 1500;51 param.uiMaxNalSize = 1500;
52 param.iMultipleThreadIdc = 4;
53 param.bUseLoadBalancing = false;
52 }54 }
53 if (eSliceMode == SM_FIXEDSLCNUM_SLICE) {55 if (eSliceMode == SM_FIXEDSLCNUM_SLICE) {
54 param.sSpatialLayers[i].sSliceArgument.uiSliceNum = 4;56 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