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

Issue 1934503002: Delete unused video capture code for cropping, non-square pixels, and ARGB. (Closed)

Created:
4 years, 7 months ago by nisse-webrtc
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, perkj_webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete unused video capture support for cropping, non-square pixels, and ARGB screencast scaling. First two are unused, because the instance variables ratio_w_, ratio_h_, and square_pixel_aspect_ratio_, are never modified after initialization to 0 and false. ARGB is believed to be unused, and the scaling logic is probably not appropriate in any case. Also delete corresponding helper functions in videocommon.cc. BUG=webrtc:5682 Committed: https://crrev.com/ba6371ec861b511db000a9487650dd49e344b866 Cr-Commit-Position: refs/heads/master@{#12659}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Delete unused ARGB scaling logic. #

Total comments: 1

Patch Set 3 : Delete test case VideoCapturerTest.ScreencastScaledSuperLarge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -571 lines) Patch
M webrtc/media/base/videocapturer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/media/base/videocapturer.cc View 1 4 chunks +9 lines, -153 lines 0 comments Download
M webrtc/media/base/videocapturer_unittest.cc View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
M webrtc/media/base/videocommon.h View 1 1 chunk +0 lines, -25 lines 0 comments Download
M webrtc/media/base/videocommon.cc View 1 1 chunk +0 lines, -147 lines 0 comments Download
M webrtc/media/base/videocommon_unittest.cc View 1 1 chunk +0 lines, -217 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
nisse-webrtc
Next, I need to figure out what the VideoFrameFactory methods do, what can be deleted, ...
4 years, 7 months ago (2016-04-29 07:53:32 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc File webrtc/media/base/videocapturer.cc (right): https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc#newcode226 webrtc/media/base/videocapturer.cc:226: if (IsScreencast()) { Are we scaling screencast? This sounds ...
4 years, 7 months ago (2016-04-29 15:48:32 UTC) #4
perkj_webrtc
https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc File webrtc/media/base/videocapturer.cc (right): https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc#newcode226 webrtc/media/base/videocapturer.cc:226: if (IsScreencast()) { On 2016/04/29 15:48:32, pbos-webrtc wrote: > ...
4 years, 7 months ago (2016-05-02 15:29:19 UTC) #5
pbos-webrtc
https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc File webrtc/media/base/videocapturer.cc (right): https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc#newcode226 webrtc/media/base/videocapturer.cc:226: if (IsScreencast()) { On 2016/05/02 15:29:19, perkj_webrtc wrote: > ...
4 years, 7 months ago (2016-05-02 16:14:41 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc File webrtc/media/base/videocapturer.cc (right): https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc#newcode266 webrtc/media/base/videocapturer.cc:266: int adapted_width = captured_frame->width; On 2016/04/29 15:48:32, pbos-webrtc wrote: ...
4 years, 7 months ago (2016-05-03 07:08:25 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc File webrtc/media/base/videocapturer.cc (right): https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc#newcode226 webrtc/media/base/videocapturer.cc:226: if (IsScreencast()) { On 2016/05/02 16:14:40, pbos-webrtc wrote: > ...
4 years, 7 months ago (2016-05-04 10:04:34 UTC) #10
perkj_webrtc
lgtm, do you want to check this with Noah to be on the safe side? ...
4 years, 7 months ago (2016-05-04 10:47:45 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934503002/20001
4 years, 7 months ago (2016-05-04 10:53:18 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_ubsan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan/builds/1782)
4 years, 7 months ago (2016-05-04 11:08:07 UTC) #15
nisse-webrtc
On 2016/05/04 10:04:34, nisse-webrtc wrote: > https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc > File webrtc/media/base/videocapturer.cc (right): > > https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc#newcode226 > ...
4 years, 7 months ago (2016-05-04 11:31:55 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934503002/40001
4 years, 7 months ago (2016-05-04 11:37:39 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 13:55:36 UTC) #20
pbos-webrtc
On 2016/05/04 11:31:55, nisse-webrtc wrote: > On 2016/05/04 10:04:34, nisse-webrtc wrote: > > > https://codereview.webrtc.org/1934503002/diff/1/webrtc/media/base/videocapturer.cc ...
4 years, 7 months ago (2016-05-04 20:35:53 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1934503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1934503002/40001
4 years, 7 months ago (2016-05-09 06:41:50 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-09 07:47:59 UTC) #26
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 07:48:09 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ba6371ec861b511db000a9487650dd49e344b866
Cr-Commit-Position: refs/heads/master@{#12659}

Powered by Google App Engine
This is Rietveld 408576698