Showing the changes to test/api/encode_options_test.cpp (1 of 14 files). Show all
Unified · Split
| @@ -385,7 +385,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_INCREASING_ID) { · 384 unmodified lines | |||
| 385 | //prepare output if needed | 385 | //prepare output if needed |
| 386 | FILE* fEnc = NULL; | 386 | FILE* fEnc = NULL; |
| 387 | #ifdef DEBUG_FILE_SAVE_INCREASING_ID | 387 | #ifdef DEBUG_FILE_SAVE_INCREASING_ID |
| 388 | fEnc = fopen ("enc_i.264", "wb"); | 388 | fEnc = fopen ("enc_INCREASING_ID.264", "wb"); |
| 389 | #endif | 389 | #endif |
| 390 | 390 | ||
| 391 | // Test part#1 | 391 | // Test part#1 |
| @@ -440,7 +440,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_INCREASING_ID) { · 48 unmodified lines | |||
| 440 | ASSERT_TRUE (rv == cmResultSuccess) << "SetOption Failed sParam3: rv = " << rv; | 440 | ASSERT_TRUE (rv == cmResultSuccess) << "SetOption Failed sParam3: rv = " << rv; |
| 441 | 441 | ||
| 442 | #ifdef DEBUG_FILE_SAVE_INCREASING_ID | 442 | #ifdef DEBUG_FILE_SAVE_INCREASING_ID |
| 443 | fEnc = fopen ("enc3.264", "wb"); | 443 | fEnc = fopen ("enc_INCREASING_ID2.264", "wb"); |
| 444 | #endif | 444 | #endif |
| 445 | iEncFrameNum = 0; | 445 | iEncFrameNum = 0; |
| 446 | EncDecOneFrame (sParam3.iPicWidth, sParam3.iPicHeight, iEncFrameNum++, fEnc); | 446 | EncDecOneFrame (sParam3.iPicWidth, sParam3.iPicHeight, iEncFrameNum++, fEnc); |
| @@ -495,7 +495,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_LISTING_AND_PPS_INCREASING · 48 unmodified lines | |||
| 495 | //prepare output if needed | 495 | //prepare output if needed |
| 496 | FILE* fEnc = NULL; | 496 | FILE* fEnc = NULL; |
| 497 | #ifdef DEBUG_FILE_SAVE2 | 497 | #ifdef DEBUG_FILE_SAVE2 |
| 498 | fEnc = fopen ("enc2.264", "wb"); | 498 | fEnc = fopen ("enc_SPS_LISTING_AND_PPS_INCREASING1.264", "wb"); |
| 499 | #endif | 499 | #endif |
| 500 | 500 | ||
| 501 | // Test part#1 | 501 | // Test part#1 |
| @@ -550,7 +550,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_LISTING_AND_PPS_INCREASING · 48 unmodified lines | |||
| 550 | ASSERT_TRUE (rv == cmResultSuccess) << "SetOption Failed sParam3: rv = " << rv; | 550 | ASSERT_TRUE (rv == cmResultSuccess) << "SetOption Failed sParam3: rv = " << rv; |
| 551 | 551 | ||
| 552 | #ifdef DEBUG_FILE_SAVE2 | 552 | #ifdef DEBUG_FILE_SAVE2 |
| 553 | fEnc = fopen ("enc3.264", "wb"); | 553 | fEnc = fopen ("enc_SPS_LISTING_AND_PPS_INCREASING11.264", "wb"); |
| 554 | #endif | 554 | #endif |
| 555 | iEncFrameNum = 0; | 555 | iEncFrameNum = 0; |
| 556 | EncDecOneFrame (sParam3.iPicWidth, sParam3.iPicHeight, iEncFrameNum++, fEnc); | 556 | EncDecOneFrame (sParam3.iPicWidth, sParam3.iPicHeight, iEncFrameNum++, fEnc); |
| @@ -598,7 +598,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_LISTING_AND_PPS_INCREASING · 41 unmodified lines | |||
| 598 | //prepare output if needed | 598 | //prepare output if needed |
| 599 | FILE* fEnc = NULL; | 599 | FILE* fEnc = NULL; |
| 600 | #ifdef DEBUG_FILE_SAVE5 | 600 | #ifdef DEBUG_FILE_SAVE5 |
| 601 | fEnc = fopen ("encID2.264", "wb"); | 601 | fEnc = fopen ("enc_SPS_LISTING_AND_PPS_INCREASING2.264", "wb"); |
| 602 | #endif | 602 | #endif |
| 603 | 603 | ||
| 604 | // step#1: pParam1 | 604 | // step#1: pParam1 |
| @@ -647,7 +647,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_LISTING_AND_PPS_INCREASING · 42 unmodified lines | |||
| 647 | //prepare output if needed | 647 | //prepare output if needed |
| 648 | FILE* fEnc = NULL; | 648 | FILE* fEnc = NULL; |
| 649 | #ifdef DEBUG_FILE_SAVE2 | 649 | #ifdef DEBUG_FILE_SAVE2 |
| 650 | fEnc = fopen ("enc4.264", "wb"); | 650 | fEnc = fopen ("enc_SPS_LISTING_AND_PPS_INCREASING3.264", "wb"); |
| 651 | #endif | 651 | #endif |
| 652 | 652 | ||
| 653 | // step#1: pParam1 | 653 | // step#1: pParam1 |
| @@ -853,7 +853,7 @@ TEST_F (EncodeDecodeTestAPI, ParameterSetStrategy_SPS_PPS_LISTING3) { · 199 unmodified lines | |||
| 853 | //prepare output if needed | 853 | //prepare output if needed |
| 854 | FILE* fEnc = NULL; | 854 | FILE* fEnc = NULL; |
| 855 | #ifdef DEBUG_FILE_SAVE5 | 855 | #ifdef DEBUG_FILE_SAVE5 |
| 856 | fEnc = fopen ("enc4.264", "wb"); | 856 | fEnc = fopen ("enc_LISTING3.264", "wb"); |
| 857 | #endif | 857 | #endif |
| 858 | 858 | ||
| 859 | // step#1: ordinary encoding | 859 | // step#1: ordinary encoding |