History

Multi-thread-fixed:RBC#1751:Dynamic slice mode under multiThread reallocate feature enable

huade committed 9 years ago

Commit 095f0b61 parent 623599014 files · +325 −336Browse files

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

Unified · Split

test/api/encoder_test.cpp+8−4
@@ -130,7 +130,7 @@ static const EncodeFileParam kFileParamArray[] = { · 129 unmodified lines
130 },130 },
131 {131 {
132 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",132 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
133 {"5f4580523b761bebfb02b7a780df2a696eaddd33"}, CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, false, false, false133 {"d6a42dfac92eb8e9a29f59b2da73e6af41f6d803"}, CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, false, false, false
134 },134 },
135 {135 {
136 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",136 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
@@ -139,6 +139,7 @@ static const EncodeFileParam kFileParamArray[] = { · 2 unmodified lines
139 { "fe7c5fa35c5c8f1eac0408b93d356a6d0bb7e5bd", "91ba01ef0067b0d211a6fbe5e2f96e82ce319a41" },139 { "fe7c5fa35c5c8f1eac0408b93d356a6d0bb7e5bd", "91ba01ef0067b0d211a6fbe5e2f96e82ce319a41" },
140 CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_SINGLE_SLICE, false, 4, false, false, false140 CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_SINGLE_SLICE, false, 4, false, false, false
141 },141 },
142
142 // the following values may be adjusted for times since we start tuning the strategy143 // the following values may be adjusted for times since we start tuning the strategy
143 {144 {
144 "res/CiscoVT2people_320x192_12fps.yuv",145 "res/CiscoVT2people_320x192_12fps.yuv",
@@ -154,25 +155,28 @@ static const EncodeFileParam kFileParamArray[] = { · 9 unmodified lines
154 },155 },
155 {156 {
156 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",157 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
157 {"c2c53f088acce547851d9adc81042376adb3a50f"}, SCREEN_CONTENT_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, false, false, false158 {"d625df1540b074ee4b13034c728b9a02f8bb1371"}, SCREEN_CONTENT_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, false, false, false
158 },159 },
159 //for different strategy160 //for different strategy
160 {161 {
161 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",162 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
162 {"4398b0d99cdb06197441b42ee495a003aa1f25f0"}, SCREEN_CONTENT_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, true, true, false163 {"d1c2ee11318521a911718d883d720e9e83bf533f"}, SCREEN_CONTENT_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, true, true, false
163 },164 },
164 {165 {
165 "res/CiscoVT2people_320x192_12fps.yuv",166 "res/CiscoVT2people_320x192_12fps.yuv",
166 {"ab23d0ae245283b3f12db766df155ced7b4a610e"}, CAMERA_VIDEO_REAL_TIME, 320, 192, 12.0f, SM_SINGLE_SLICE, false, 1, false, false, true //turn on cabac167 {"ab23d0ae245283b3f12db766df155ced7b4a610e"}, CAMERA_VIDEO_REAL_TIME, 320, 192, 12.0f, SM_SINGLE_SLICE, false, 1, false, false, true //turn on cabac
167 },168 },
169
168 {170 {
169 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",171 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
170 {"7e59555ff5832e65e776ced13b35d054cf93a32c"}, CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, false, false, true172 {"a511da916ba97967e18540953d2c0b1287b50aa3"}, CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_SIZELIMITED_SLICE, false, 1, false, false, true
171 },173 },
174
172 {175 {
173 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",176 "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
174 {"c82965b5119341b288a7c39135ce44521a6f23e1"}, CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_FIXEDSLCNUM_SLICE, false, 1, false, false, true177 {"c82965b5119341b288a7c39135ce44521a6f23e1"}, CAMERA_VIDEO_REAL_TIME, 1280, 720, 30.0f, SM_FIXEDSLCNUM_SLICE, false, 1, false, false, true
175 },178 },
179
176};180};
177 181
178INSTANTIATE_TEST_CASE_P (EncodeFile, EncoderOutputTest,182INSTANTIATE_TEST_CASE_P (EncodeFile, EncoderOutputTest,

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