History

use cavlc if profile is baseline(following profile set)

Karina committed 9 years ago

Commit 6a8f6c91 parent f6c37b03 files · +25 −32Browse files

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

Unified · Split

test/api/encode_options_test.cpp+0−6
@@ -1973,9 +1973,6 @@ TEST_F (EncodeDecodeTestAPI, ProfileLevelSetting) { · 1972 unmodified lines
19731973 if ((iEncProfileIdc != PRO_BASELINE) && (iEncProfileIdc != PRO_MAIN) && (iEncProfileIdc != PRO_HIGH)) {
19741974 iEncProfileIdc = PRO_BASELINE;
19751975 }
1976− if ((iEncProfileIdc == PRO_BASELINE) && (sParam.iEntropyCodingModeFlag == 1))
1977− iEncProfileIdc = PRO_MAIN;
1978−
19791976
19801977 ASSERT_TRUE (iDecProfileIdc == iEncProfileIdc) << "enc_profile = " << iEncProfileIdc << " dec_profile = " <<
19811978 iDecProfileIdc;
@@ -2036,9 +2033,6 @@ TEST_F (EncodeDecodeTestAPI, ProfileLevelSetting) { · 54 unmodified lines
20362033 if ((iEncProfileIdc != PRO_BASELINE) && (iEncProfileIdc != PRO_MAIN) && (iEncProfileIdc != PRO_HIGH)) {
20372034 iEncProfileIdc = PRO_BASELINE;
20382035 }
2039− if ((iEncProfileIdc == PRO_BASELINE) && (sParam.iEntropyCodingModeFlag == 1))
2040− iEncProfileIdc = PRO_MAIN;
2041−
20422036
20432037 ASSERT_TRUE (iDecProfileIdc == iEncProfileIdc) << "enc_profile = " << iEncProfileIdc << " dec_profile = " <<
20442038 iDecProfileIdc;

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