Add full stack tests for MediaCodec encoder.
* Add audio_ prefix to CallTest::{en,de}coder_factory_.
* Let VideoQualityTest only instantiate encoders using encoder factories.
* Add HW encoder factories to VideoQualityTest.
* Add full stack tests:
- sqcif7 at 30 kbps: MediaCodec and libvpx.
- 240p10 at 100 kbps: MediaCodec, libvpx, and MediaCodec+libvpx.
BUG=webrtc:8219
Review-Url: https://codereview.webrtc.org/3005253002
Cr-Commit-Position: refs/heads/master@{#19923}
This commit is contained in:
@ -393,6 +393,23 @@ if (rtc_include_tests) {
|
||||
]
|
||||
}
|
||||
|
||||
if (is_android) {
|
||||
rtc_source_set("codecs_test_android_test_initializer") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"codecs/test/android_test_initializer.cc",
|
||||
"codecs/test/android_test_initializer.h",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
"../../sdk/android:libjingle_peerconnection_jni",
|
||||
"//base",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
video_coding_modules_tests_resources = [
|
||||
"../../resources/foreman_128x96.yuv",
|
||||
"../../resources/foreman_160x120.yuv",
|
||||
@ -454,15 +471,9 @@ if (rtc_include_tests) {
|
||||
data = video_coding_modules_tests_resources
|
||||
|
||||
if (is_android) {
|
||||
sources += [
|
||||
"codecs/test/android_test_initializer.cc",
|
||||
"codecs/test/android_test_initializer.h",
|
||||
"codecs/test/videoprocessor_integrationtest_mediacodec.cc",
|
||||
]
|
||||
|
||||
deps += [
|
||||
"../../sdk/android:libjingle_peerconnection_jni",
|
||||
"//base",
|
||||
":codecs_test_android_test_initializer",
|
||||
"../../sdk/android:video_jni",
|
||||
]
|
||||
}
|
||||
|
||||
@ -470,8 +481,6 @@ if (rtc_include_tests) {
|
||||
deps += [
|
||||
":codec_test_objc",
|
||||
":video_coding_modules_tests_resources_bundle_data",
|
||||
"../../media:rtc_media_base",
|
||||
"../../sdk:videotoolbox_objc",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user