|
Update sink wants with ranges for both pixel count and frame rate.
This cl has a few features:
* Update SinkWants with a range struct (min, target, max) instead of
having each component be optional.
* Both pixel count and framerate is now present as an optional range.
* Wire framerate restriction up in VideoAdapter
* Support both maintain-resolution and balanced in vie_encoder, but
don't actually request lower framerate yet.
The new range makes the requests more explicit, as we can set max or
min as cap when adapting down or up respectievely, while having a
target that matches our desired step size and the possibility of not
taking a too large step up or down.
BUG= webrtc:4172
Total comments: 7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+528 lines, -263 lines) |
Patch |
|
M |
webrtc/call/call_perf_tests.cc
|
View
|
|
3 chunks |
+30 lines, -13 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/adaptedvideotracksource.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/fakevideorenderer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videoadapter.h
|
View
|
1
|
4 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videoadapter.cc
|
View
|
1
|
10 chunks |
+58 lines, -29 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videoadapter_unittest.cc
|
View
|
1
|
26 chunks |
+38 lines, -46 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videobroadcaster.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videobroadcaster.cc
|
View
|
1
2
|
2 chunks |
+34 lines, -21 lines |
2 comments
|
Download
|
|
M |
webrtc/media/base/videobroadcaster_unittest.cc
|
View
|
1
|
3 chunks |
+113 lines, -16 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videocapturer.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videocapturer_unittest.cc
|
View
|
1
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/media/base/videosourceinterface.h
|
View
|
1
|
1 chunk |
+36 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/media/engine/webrtcvideoengine2_unittest.cc
|
View
|
1
|
9 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
|
M |
webrtc/video/vie_encoder.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/video/vie_encoder.cc
|
View
|
1
|
9 chunks |
+115 lines, -44 lines |
0 comments
|
Download
|
|
M |
webrtc/video/vie_encoder_unittest.cc
|
View
|
1
|
14 chunks |
+57 lines, -53 lines |
0 comments
|
Download
|
Total messages: 21 (10 generated)
|