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

Issue 3000693003: Move kMinPixelsPerFrame constant in VideoStreamEncoder to VideoEncoder::ScalingSettings. (Closed)

Created:
3 years, 4 months ago by åsapersson
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, kwiberg-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move kMinPixelsPerFrame constant in VideoStreamEncoder to VideoEncoder::ScalingSettings. Make it possible for forced VP8 SW fallback encoder to set min_pixels_per_frame via GetScalingSettings(). Add a min required resolution (in addition to bitrate) before releasing forced SW fallback. BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/3000693003 Cr-Commit-Position: refs/heads/master@{#19390} Committed: https://chromium.googlesource.com/external/webrtc/+/142fcc96d60af65e05596925bea0fc9db2fa9c1d

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 #

Patch Set 4 #

Total comments: 2

Patch Set 5 #

Total comments: 5

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -35 lines) Patch
M webrtc/api/video_codecs/video_encoder.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/api/video_codecs/video_encoder.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/media/engine/videoencodersoftwarefallbackwrapper.h View 1 1 chunk +8 lines, -6 lines 0 comments Download
M webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc View 1 4 chunks +14 lines, -6 lines 0 comments Download
M webrtc/media/engine/videoencodersoftwarefallbackwrapper_unittest.cc View 1 2 3 4 8 chunks +70 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 9 chunks +62 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 4 chunks +32 lines, -0 lines 0 comments Download
M webrtc/video/video_stream_encoder.cc View 1 4 chunks +4 lines, -9 lines 0 comments Download
M webrtc/video/video_stream_encoder_unittest.cc View 1 2 3 4 5 3 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
åsapersson
3 years, 4 months ago (2017-08-16 10:24:28 UTC) #5
kthelgason
lgtm with small style comments. https://codereview.webrtc.org/3000693003/diff/140001/webrtc/api/video_codecs/video_encoder.cc File webrtc/api/video_codecs/video_encoder.cc (right): https://codereview.webrtc.org/3000693003/diff/140001/webrtc/api/video_codecs/video_encoder.cc#newcode72 webrtc/api/video_codecs/video_encoder.cc:72: thresholds(rtc::Optional<QpThresholds>(QpThresholds(low, high))), i prefer ...
3 years, 4 months ago (2017-08-16 13:42:23 UTC) #8
brandtr
https://codereview.webrtc.org/3000693003/diff/160001/webrtc/api/video_codecs/video_encoder.h File webrtc/api/video_codecs/video_encoder.h (right): https://codereview.webrtc.org/3000693003/diff/160001/webrtc/api/video_codecs/video_encoder.h#newcode91 webrtc/api/video_codecs/video_encoder.h:91: const int min_pixels_per_frame = 320 * 180; kMinPixelsPerFrame? Also, ...
3 years, 4 months ago (2017-08-17 12:06:24 UTC) #9
brandtr
lgtm after offline discussion
3 years, 4 months ago (2017-08-17 13:08:32 UTC) #10
åsapersson
https://codereview.webrtc.org/3000693003/diff/160001/webrtc/api/video_codecs/video_encoder.h File webrtc/api/video_codecs/video_encoder.h (right): https://codereview.webrtc.org/3000693003/diff/160001/webrtc/api/video_codecs/video_encoder.h#newcode91 webrtc/api/video_codecs/video_encoder.h:91: const int min_pixels_per_frame = 320 * 180; On 2017/08/17 ...
3 years, 4 months ago (2017-08-17 13:22:36 UTC) #11
mflodman
LGTM
3 years, 4 months ago (2017-08-17 13:44:20 UTC) #12
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/3000693003/180001
3 years, 4 months ago (2017-08-17 15:28:08 UTC) #19
commit-bot: I haz the power
3 years, 4 months ago (2017-08-17 15:59:02 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:180001) as
https://chromium.googlesource.com/external/webrtc/+/142fcc96d60af65e05596925b...

Powered by Google App Engine
This is Rietveld 408576698