Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 2695653002: Add support for creating HW codecs in VideoProcessor tests. (Closed)

Created:
3 years, 10 months ago by brandtr
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman, mbonadei
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add support for creating HW codecs in the VideoProcessor tests. This CL adds the ability to _create_ HW codecs (Android and iOS) in the VideoProcessor integration tests. Since the VideoProcessor class is not thread safe yet, this CL does not add the ability to _use_ HW codecs in the tests. A follow-up CL is planned that will add this ability. This CL further adds a separate build target which is used to separate the "plot" versions of the integration tests from the "correctness" versions. The former will be run manually on devices, whereas the latter are used on the trybots/buildbots to find regressions in the SW codecs. The underlying test is the same, however. BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2695653002 Cr-Commit-Position: refs/heads/master@{#16716} Committed: https://chromium.googlesource.com/external/webrtc/+/6bb8e0efd3187e11ac512d84d665b4cffacad43e

Patch Set 1 #

Total comments: 20

Patch Set 2 : kjellander comments 1. #

Total comments: 7

Patch Set 3 : kjellander comments 2. #

Patch Set 4 : kjellander comments 3. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase fixes. #

Total comments: 1

Patch Set 7 : Do not free Android objects in test fixture dtor -- does not play well with multiple tests. #

Patch Set 8 : Add missing dep in :video_coding_videoprocessor_integration_test. #

Patch Set 9 : Do not try to initialize Android objects in modules_tests, since the Java classes are missing. #

Patch Set 10 : Rename new resource files, after offline discussion with asapersson@. #

Patch Set 11 : Don't forget the mac! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -58 lines) Patch
A resources/foreman_128x96.yuv.sha1 View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A resources/foreman_160x120.yuv.sha1 View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A resources/foreman_176x144.yuv.sha1 View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A resources/foreman_320x240.yuv.sha1 View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +110 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/DEPS View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/codecs/test/android_test_initializer.h View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/codecs/test/android_test_initializer.cc View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 2 3 4 2 chunks +14 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h View 1 2 3 4 5 6 7 8 11 chunks +83 lines, -15 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc View 1 2 3 4 5 14 chunks +33 lines, -26 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (17 generated)
brandtr
Please take a look. asapersson: General review, incl. VideoProcessor changes. sakal: android_test_initializer kjellander: BUILD and ...
3 years, 10 months ago (2017-02-13 12:40:27 UTC) #6
sakal
android_test_initializer lgtm. It is really nice that we are finally getting some test coverage for ...
3 years, 10 months ago (2017-02-13 12:52:39 UTC) #7
kjellander_webrtc
https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn File webrtc/modules/video_coding/BUILD.gn (right): https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn#newcode416 webrtc/modules/video_coding/BUILD.gn:416: "//resources/foreman_176x144.yuv", We already have //resources/paris_qcif.yuv or do we have ...
3 years, 10 months ago (2017-02-13 14:31:08 UTC) #8
brandtr
Thanks for quick feedback. +mbonadei for question from kjellander. https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn File webrtc/modules/video_coding/BUILD.gn (right): https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn#newcode416 webrtc/modules/video_coding/BUILD.gn:416: ...
3 years, 10 months ago (2017-02-13 16:23:02 UTC) #9
mbonadei
https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn File webrtc/modules/video_coding/BUILD.gn (right): https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn#newcode456 webrtc/modules/video_coding/BUILD.gn:456: "../../sdk/android:libjingle_peerconnection_java", On 2017/02/13 14:31:08, kjellander_webrtc wrote: > On 2017/02/13 ...
3 years, 10 months ago (2017-02-13 21:19:10 UTC) #11
brandtr
https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn File webrtc/modules/video_coding/BUILD.gn (right): https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn#newcode456 webrtc/modules/video_coding/BUILD.gn:456: "../../sdk/android:libjingle_peerconnection_java", On 2017/02/13 21:19:10, mbonadei wrote: > On 2017/02/13 ...
3 years, 10 months ago (2017-02-14 08:35:26 UTC) #12
kjellander_webrtc
lgtm but please have a look at my comments. https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn File webrtc/modules/video_coding/BUILD.gn (right): https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn#newcode416 webrtc/modules/video_coding/BUILD.gn:416: ...
3 years, 10 months ago (2017-02-14 11:00:15 UTC) #13
brandtr
https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn File webrtc/modules/video_coding/BUILD.gn (right): https://codereview.webrtc.org/2695653002/diff/40001/webrtc/modules/video_coding/BUILD.gn#newcode416 webrtc/modules/video_coding/BUILD.gn:416: "//resources/foreman_176x144.yuv", On 2017/02/14 11:00:14, kjellander_webrtc wrote: > On 2017/02/13 ...
3 years, 10 months ago (2017-02-14 14:22:37 UTC) #14
kjellander_webrtc
still lgtm https://codereview.webrtc.org/2695653002/diff/60001/webrtc/modules/video_coding/DEPS File webrtc/modules/video_coding/DEPS (right): https://codereview.webrtc.org/2695653002/diff/60001/webrtc/modules/video_coding/DEPS#newcode13 webrtc/modules/video_coding/DEPS:13: "android_test_initializer\.cc": [ On 2017/02/14 14:22:37, brandtr wrote: ...
3 years, 10 months ago (2017-02-14 14:30:13 UTC) #15
brandtr
https://codereview.webrtc.org/2695653002/diff/60001/webrtc/modules/video_coding/DEPS File webrtc/modules/video_coding/DEPS (right): https://codereview.webrtc.org/2695653002/diff/60001/webrtc/modules/video_coding/DEPS#newcode17 webrtc/modules/video_coding/DEPS:17: "videoprocessor_integrationtest\.h": [ On 2017/02/14 14:30:13, kjellander_webrtc wrote: > On ...
3 years, 10 months ago (2017-02-14 14:34:20 UTC) #16
brandtr
Rebase.
3 years, 10 months ago (2017-02-15 14:49:46 UTC) #17
brandtr
asapersson, sprang: ping kjellander, sakal: I made some changes to BUILD.gn and android_test_initializer.{cc,h}. Feel free ...
3 years, 10 months ago (2017-02-17 08:13:40 UTC) #21
åsapersson
video_coding/codecs/test: lgtm
3 years, 10 months ago (2017-02-17 09:32:36 UTC) #22
sprang_webrtc
lgtm
3 years, 10 months ago (2017-02-17 11:37:50 UTC) #23
kjellander_webrtc
lgtm
3 years, 10 months ago (2017-02-19 09:04:46 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2695653002/280001
3 years, 10 months ago (2017-02-20 12:33:12 UTC) #31
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 12:36:00 UTC) #34
Message was sent while issue was closed.
Committed patchset #11 (id:280001) as
https://chromium.googlesource.com/external/webrtc/+/6bb8e0efd3187e11ac512d84d...

Powered by Google App Engine
This is Rietveld 408576698