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

Issue 2700493006: Add optional visualization file writers to 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
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add optional visualization file writers to VideoProcessor tests. The purpose of this visualization CL is to add the ability to record video at the source, after encode, and after decode, in the VideoProcessor tests. These output files can then be replayed and used as a subjective complement to the objective metric plots given by the existing Python plotting script. BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2700493006 Cr-Commit-Position: refs/heads/master@{#16738} Committed: https://chromium.googlesource.com/external/webrtc/+/872104ac41d7764f8676c9ea55555210bea4605c

Patch Set 1 : Add optional visualization file writers to VideoProcessor tests. #

Total comments: 10

Patch Set 2 : sprang comments 1. #

Patch Set 3 : kjellander comments 1. #

Total comments: 3

Patch Set 4 : kjellander comments 2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -587 lines) Patch
M webrtc/modules/video_coding/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/plot_videoprocessor_integrationtest.cc View 3 chunks +8 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 1 3 chunks +22 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 11 chunks +70 lines, -33 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h View 13 chunks +106 lines, -37 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc View 13 chunks +14 lines, -16 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc View 2 chunks +11 lines, -8 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M webrtc/test/testsupport/frame_reader.h View 1 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/test/testsupport/frame_reader.cc View 1 2 1 chunk +0 lines, -84 lines 0 comments Download
M webrtc/test/testsupport/frame_reader_unittest.cc View 1 2 1 chunk +0 lines, -70 lines 0 comments Download
M webrtc/test/testsupport/frame_writer.h View 1 1 chunk +25 lines, -7 lines 0 comments Download
M webrtc/test/testsupport/frame_writer.cc View 1 2 1 chunk +0 lines, -70 lines 0 comments Download
M webrtc/test/testsupport/frame_writer_unittest.cc View 1 2 1 chunk +0 lines, -63 lines 0 comments Download
A + webrtc/test/testsupport/y4m_frame_writer.cc View 1 2 3 2 chunks +24 lines, -38 lines 0 comments Download
A + webrtc/test/testsupport/y4m_frame_writer_unittest.cc View 1 2 3 2 chunks +42 lines, -28 lines 0 comments Download
A + webrtc/test/testsupport/yuv_frame_reader.cc View 1 2 3 5 chunks +34 lines, -27 lines 0 comments Download
A + webrtc/test/testsupport/yuv_frame_reader_unittest.cc View 1 2 3 2 chunks +43 lines, -30 lines 0 comments Download
A + webrtc/test/testsupport/yuv_frame_writer.cc View 1 2 3 4 chunks +36 lines, -29 lines 0 comments Download
A + webrtc/test/testsupport/yuv_frame_writer_unittest.cc View 1 2 3 2 chunks +33 lines, -28 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (17 generated)
brandtr
asapersson: General review. sprang: Usage of IvfFileWriter + video_coding OWNER kjellander: webrtc/test file reader/writer changes. ...
3 years, 10 months ago (2017-02-17 08:21:31 UTC) #6
sprang_webrtc
lgtm with comments fixed https://codereview.webrtc.org/2700493006/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.h File webrtc/modules/video_coding/codecs/test/videoprocessor.h (right): https://codereview.webrtc.org/2700493006/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.h#newcode172 webrtc/modules/video_coding/codecs/test/videoprocessor.h:172: FrameWriter* decoded_frame_writer); What's the difference ...
3 years, 10 months ago (2017-02-17 10:08:23 UTC) #7
åsapersson
lgtm https://codereview.webrtc.org/2700493006/diff/80001/webrtc/test/testsupport/frame_writer.cc File webrtc/test/testsupport/frame_writer.cc (right): https://codereview.webrtc.org/2700493006/diff/80001/webrtc/test/testsupport/frame_writer.cc#newcode102 webrtc/test/testsupport/frame_writer.cc:102: output_filename_.c_str()); return false?
3 years, 10 months ago (2017-02-17 15:47:35 UTC) #8
kjellander_webrtc
I find it a little unexpected to find YuvFrameWriterImpl and Y4mFrameWriterImpl inside frame_writer.cc. Would it ...
3 years, 10 months ago (2017-02-19 09:02:37 UTC) #9
brandtr
On 2017/02/19 09:02:37, kjellander_webrtc wrote: > I find it a little unexpected to find YuvFrameWriterImpl ...
3 years, 10 months ago (2017-02-20 13:17:19 UTC) #14
brandtr
https://codereview.webrtc.org/2700493006/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.h File webrtc/modules/video_coding/codecs/test/videoprocessor.h (right): https://codereview.webrtc.org/2700493006/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.h#newcode172 webrtc/modules/video_coding/codecs/test/videoprocessor.h:172: FrameWriter* decoded_frame_writer); On 2017/02/17 10:08:22, språng wrote: > What's ...
3 years, 10 months ago (2017-02-20 13:17:31 UTC) #15
kjellander_webrtc
Nice work, mainly nits. https://codereview.webrtc.org/2700493006/diff/200001/webrtc/test/testsupport/y4m_frame_writer.cc File webrtc/test/testsupport/y4m_frame_writer.cc (right): https://codereview.webrtc.org/2700493006/diff/200001/webrtc/test/testsupport/y4m_frame_writer.cc#newcode2 webrtc/test/testsupport/y4m_frame_writer.cc:2: * Copyright (c) 2011 The ...
3 years, 10 months ago (2017-02-20 21:41:47 UTC) #16
brandtr
Headers updated. https://codereview.webrtc.org/2700493006/diff/200001/webrtc/test/testsupport/y4m_frame_writer.cc File webrtc/test/testsupport/y4m_frame_writer.cc (right): https://codereview.webrtc.org/2700493006/diff/200001/webrtc/test/testsupport/y4m_frame_writer.cc#newcode49 webrtc/test/testsupport/y4m_frame_writer.cc:49: output_filename_.c_str()); On 2017/02/20 21:41:47, kjellander_webrtc wrote: > ...
3 years, 10 months ago (2017-02-21 07:59:31 UTC) #17
kjellander_webrtc
lgtm
3 years, 10 months ago (2017-02-21 08:34:09 UTC) #18
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/2700493006/220001
3 years, 10 months ago (2017-02-21 11:56:18 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:220001) as https://chromium.googlesource.com/external/webrtc/+/872104ac41d7764f8676c9ea55555210bea4605c
3 years, 10 months ago (2017-02-21 11:59:26 UTC) #28
brandtr
3 years, 10 months ago (2017-02-21 13:23:51 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:220001) has been created in
https://codereview.webrtc.org/2708103002/ by brandtr@webrtc.org.

The reason for reverting is: Breaks downstream project..

Powered by Google App Engine
This is Rietveld 408576698