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

Issue 2558243003: Reland of Add ability to scale to arbitrary factors (Closed)

Created:
4 years ago by kthelgason
Modified:
4 years ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of Add ability to scale to arbitrary factors (patchset #1 id:1 of https://codereview.webrtc.org/2557323002/ ) Reason for revert: There was a bug in the implementation where the adapter could get stuck at really low resolutions. That has now been fixed. Original issue's description: > Revert of Add ability to scale to arbitrary factors (patchset #7 id:120001 of https://codereview.webrtc.org/2555483005/ ) > > Reason for revert: > Issue discovered with scaling back up. > > Original issue's description: > > Add ability to scale to arbitrary factors > > > > This CL adds a fallback for the case when no optimized scale factor produces a low enough resolution for what was requested. It also ensures that all resolutions provided by the video adapter are divisible by four. This is required by some hardware implementations. > > > > BUG=webrtc:6837 > > > > Committed: https://crrev.com/710c335d785b104bda4a912bd7909e4d27f9b04f > > Cr-Commit-Position: refs/heads/master@{#15469} > > TBR=magjed@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:6837 > > Committed: https://crrev.com/7722a4cc8d31e5e924e9e6c5c97412ce8bbbe59d > Cr-Commit-Position: refs/heads/master@{#15470} R=magjed@webrtc.org BUG=webrtc:6837, webrtc:6848 Committed: https://crrev.com/c8474178d66fa774474bae7dc4581dfb3f5b86ac Cr-Commit-Position: refs/heads/master@{#15485}

Patch Set 1 #

Patch Set 2 : Fix bug and add test #

Total comments: 2

Patch Set 3 : Code review #

Patch Set 4 : Initialize step_up_ #

Patch Set 5 : Fix bug when dropping frames and add test #

Patch Set 6 : revert changes to vie_encoder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -95 lines) Patch
M webrtc/media/base/adaptedvideotracksource.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/media/base/adaptedvideotracksource.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/media/base/videoadapter.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M webrtc/media/base/videoadapter.cc View 1 2 3 4 4 chunks +57 lines, -93 lines 0 comments Download
M webrtc/media/base/videoadapter_unittest.cc View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
M webrtc/sdk/android/src/jni/androidvideotracksource.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 36 (29 generated)
kthelgason
Created Reland of Add ability to scale to arbitrary factors
4 years ago (2016-12-08 13:15:52 UTC) #1
magjed_webrtc
https://codereview.webrtc.org/2558243003/diff/150001/webrtc/media/base/videoadapter.cc File webrtc/media/base/videoadapter.cc (right): https://codereview.webrtc.org/2558243003/diff/150001/webrtc/media/base/videoadapter.cc#newcode126 webrtc/media/base/videoadapter.cc:126: // TODO(kthelgason): remove the - |step_up| hack when we ...
4 years ago (2016-12-08 13:45:33 UTC) #15
magjed_webrtc
lgtm
4 years ago (2016-12-08 14:38:11 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/2558243003/210001
4 years ago (2016-12-08 15:15:05 UTC) #28
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/2558243003/230001
4 years ago (2016-12-08 15:19:29 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:230001)
4 years ago (2016-12-08 16:04:55 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-08 16:05:06 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c8474178d66fa774474bae7dc4581dfb3f5b86ac
Cr-Commit-Position: refs/heads/master@{#15485}

Powered by Google App Engine
This is Rietveld 408576698