History

refactor --for BaseEncoderTest

huashi committed 12 years ago

Commit 54c24df1 parent c83ab3b5 files · +113 −63Browse files

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

Unified · Split

test/api/encode_decode_api_test.cpp+2−3
@@ -231,7 +231,7 @@ void EncodeDecodeTestAPI::RandomParamExtCombination() { · 230 unmodified lines
231231 param_.bEnableFrameCroppingFlag = (rand() % 2 == 0) ? false : true;
232232 param_.bEnableSceneChangeDetect = (rand() % 2 == 0) ? false : true;
233233
234−//for rc
234+ //for rc
235235 param_.iRCMode = static_cast<RC_MODES> (rand() % RC_MODE_RANGE - 1);
236236 param_.iMaxBitrate = rand() % BIT_RATE_RANGE;
237237 param_.iTargetBitrate = rand() % BIT_RATE_RANGE;
@@ -286,7 +286,7 @@ void EncodeDecodeTestAPI::ValidateParamExtCombination() { · 48 unmodified lines
286286 param_.uiIntraPeriod = 0;
287287 }
288288
289−//RefNum
289+ //RefNum
290290 int32_t iRefUpperBound = (param_.iUsageType == CAMERA_VIDEO_REAL_TIME) ?
291291 MAX_REFERENCE_PICTURE_COUNT_NUM_CAMERA : MAX_REFERENCE_PICTURE_COUNT_NUM_SCREEN;
292292 param_.iNumRefFrame = WELS_CLIP3 (param_.iNumRefFrame, MIN_REF_PIC_COUNT, iRefUpperBound);
@@ -2003,7 +2003,6 @@ TEST_F (EncodeDecodeTestAPI, SetOptionEncParamExt) { · 1710 unmodified lines
20032003 ASSERT_TRUE (rv == cmResultSuccess);
20042004
20052005 for (int i = 0; i < iEncFrameNum; i++) {
2006− //for (int i = 0; i < 9; i++) {
20072006 int iResult;
20082007 int len = 0;
20092008 unsigned char* pData[3] = { NULL };

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