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

Issue 2997283002: VideoProcessorIntegrationTest: make it runnable on a task queue. (Closed)

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

Description

VideoProcessorIntegrationTest: make it runnable on a task queue. * First do all frame processing, then do all rate control statistics calculations. This means that we only need to synchronize once. * Run the VideoProcessor on a task queue, thus supporting Android HW codecs. * Add some unit tests for the VideoProcessor. BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2997283002 Cr-Commit-Position: refs/heads/master@{#19604} Committed: https://chromium.googlesource.com/external/webrtc/+/b57f42676e92db62b04a075a1cf127edb430cf82

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Change unit tests a bit. #

Patch Set 4 : Rebase. #

Patch Set 5 : Move |num_frames_total_| and |num_frames_per_update_| into UpdateRateControlMetrics. #

Patch Set 6 : Rebase. #

Patch Set 7 : Split out two sub-CLs. #

Patch Set 8 : Split out the deletion of batch mode to another CL. #

Patch Set 9 : Rebase. #

Patch Set 10 : Readd missing spaces. #

Patch Set 11 : Explicitly set minBitrate and initial frame rate. #

Patch Set 12 : Rebase. #

Patch Set 13 : Rebase. #

Total comments: 6

Patch Set 14 : Rebase. #

Patch Set 15 : asapersson comments 1. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -163 lines) Patch
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +13 lines, -13 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +25 lines, -38 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +168 lines, -100 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +91 lines, -12 lines 0 comments Download

Messages

Total messages: 35 (18 generated)
brandtr
Change unit tests a bit.
3 years, 4 months ago (2017-08-22 11:21:10 UTC) #5
brandtr
Will currently not run on iOS with HW codecs, but separate changes to the wrapper ...
3 years, 4 months ago (2017-08-22 11:47:57 UTC) #8
brandtr
Rebase.
3 years, 4 months ago (2017-08-24 07:32:50 UTC) #9
brandtr
Simplified the test loop a tiny bit. Text output is still (basically) unchanged before and ...
3 years, 4 months ago (2017-08-24 10:18:56 UTC) #10
brandtr
Rebase.
3 years, 3 months ago (2017-08-25 06:50:33 UTC) #11
brandtr
Split out the deletion of batch mode to another CL.
3 years, 3 months ago (2017-08-25 11:35:52 UTC) #13
brandtr
Rebase.
3 years, 3 months ago (2017-08-25 11:53:39 UTC) #15
brandtr
Readd missing spaces.
3 years, 3 months ago (2017-08-25 13:37:12 UTC) #16
brandtr
Explicitly set minBitrate and initial frame rate.
3 years, 3 months ago (2017-08-25 14:24:15 UTC) #17
brandtr
Rebase.
3 years, 3 months ago (2017-08-29 08:38:21 UTC) #18
brandtr
Rebase.
3 years, 3 months ago (2017-08-29 12:03:42 UTC) #19
åsapersson
https://codereview.webrtc.org/2997283002/diff/320001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h (right): https://codereview.webrtc.org/2997283002/diff/320001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h#newcode601 webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h:601: 0.5 * kInitialBufferSize * bitrate_layer_[0]; maybe move to ResetRateControlMetrics? ...
3 years, 3 months ago (2017-08-29 13:42:34 UTC) #20
brandtr
Rebase.
3 years, 3 months ago (2017-08-30 11:08:23 UTC) #21
brandtr
Addressed comments. https://codereview.webrtc.org/2997283002/diff/320001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h (right): https://codereview.webrtc.org/2997283002/diff/320001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h#newcode601 webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h:601: 0.5 * kInitialBufferSize * bitrate_layer_[0]; On 2017/08/29 ...
3 years, 3 months ago (2017-08-30 11:44:26 UTC) #25
åsapersson
lgtm
3 years, 3 months ago (2017-08-30 12:35:01 UTC) #26
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/2997283002/420001
3 years, 3 months ago (2017-08-30 13:27:49 UTC) #32
commit-bot: I haz the power
3 years, 3 months ago (2017-08-30 13:29:57 UTC) #35
Message was sent while issue was closed.
Committed patchset #15 (id:420001) as
https://chromium.googlesource.com/external/webrtc/+/b57f42676e92db62b04a075a1...

Powered by Google App Engine
This is Rietveld 408576698