Reland of Add full stack tests for MediaCodec encoder (moved from Rietveld).
* 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: libvpx.
- 240p10 at 100 kbps: MediaCodec, libvpx, and MediaCodec+libvpx.
BUG=webrtc:8219
TBR=asapersson@webrtc.org,kjellander@webrtc.org,stefan@webrtc.org,sprang@webrtc.org
Change-Id: I464409ac0d5276defa78c1bf66034c6cca717d74
Reviewed-on: https://webrtc-review.googlesource.com/4740
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20041}
This commit is contained in:
committed by
Commit Bot
parent
d8970dbd42
commit
2666cf7eba
@ -394,6 +394,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",
|
||||
@ -455,15 +472,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",
|
||||
]
|
||||
}
|
||||
|
||||
@ -471,8 +482,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