|
Remove webrtc::VideoEncoderFactory
Replace the use of webrtc::VideoEncoderFactory with
cricket::WebRtcVideoEncoderFactory and remove the adapter classes
between these two factory types.
Some code changes were necessary in order to accomplish this:
* Move SimulcastEncoderAdapter from
webrtc/modules/video_coding/codecs/vp8 to webrtc/media/engine (that's
where it's used).
* Rename simulcast_unittest.h to simulcast_test_utility.h and make it
into it's own target, because it's used from both
simulcast_unittest.cc and simulcast_encoder_adapter_unittest.cc.
* Remove ownership of the encoder factory from SimulcastEncoderAdapter,
and make the necessary changes in surrounding code.
The goal with this CL is to clean up the code, and also to free up
the name webrtc::VideoEncoderFactory for future use.
BUG= webrtc:7925
Review-Url: https://codereview.webrtc.org/2964953002
Cr-Commit-Position: refs/heads/master@{#18945}
Committed: https://chromium.googlesource.com/external/webrtc/+/6cc25614a9eaa068951f549d400645b471127b29
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+119 lines, -2328 lines) |
Patch |
 |
M |
webrtc/media/BUILD.gn
|
View
|
1
2
3
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
webrtc/media/engine/simulcast_encoder_adapter.h
|
View
|
1
2
|
5 chunks |
+6 lines, -16 lines |
0 comments
|
Download
|
 |
A + |
webrtc/media/engine/simulcast_encoder_adapter.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
webrtc/media/engine/simulcast_encoder_adapter_unittest.cc
|
View
|
|
7 chunks |
+43 lines, -18 lines |
0 comments
|
Download
|
 |
M |
webrtc/media/engine/webrtcvideoengine.cc
|
View
|
1
2
|
3 chunks |
+2 lines, -25 lines |
0 comments
|
Download
|
 |
M |
webrtc/modules/video_coding/BUILD.gn
|
View
|
|
4 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webrtc/modules/video_coding/DEPS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h
|
View
|
1
2
|
1 chunk |
+0 lines, -126 lines |
0 comments
|
Download
|
 |
D |
webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -536 lines |
0 comments
|
Download
|
 |
D |
webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -799 lines |
0 comments
|
Download
|
 |
A + |
webrtc/modules/video_coding/codecs/vp8/simulcast_test_utility.h
|
View
|
1
2
|
4 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
D |
webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h
|
View
|
1
2
|
1 chunk |
+0 lines, -749 lines |
0 comments
|
Download
|
 |
M |
webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webrtc/video/end_to_end_tests.cc
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webrtc/video/picture_id_tests.cc
|
View
|
1
|
4 chunks |
+4 lines, -28 lines |
0 comments
|
Download
|
 |
M |
webrtc/video/video_quality_test.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webrtc/video/video_quality_test.cc
|
View
|
1
2
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
Total messages: 56 (45 generated)
|