|
media: Introduce Renderer interface and RendererImpl.
Add a Renderer interface to manage all audio/video (and in the future text) rendering. With Renderer, Pipeline only needs to manage a Demuxer and a Renderer, which helps move a lot of complicated logic out of Pipeline.
On Desktop Chrome, we use RendererImpl, which manages AudioRendererImpl and VideoRendererImpl.
On other platforms, we could add different Renderer implementation. For example, we could support Browser side decoding/rendering.
BUG= 392259
Committed: https://crrev.com/be9da705e341863169faeff532c24c568fad2852
Cr-Commit-Position: refs/heads/master@{#291592}
Total comments: 5
Total comments: 50
Total comments: 6
Total comments: 18
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1744 lines, -848 lines) |
Patch |
 |
M |
content/renderer/media/webmediaplayer_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webmediaplayer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+52 lines, -40 lines |
3 comments
|
Download
|
 |
M |
media/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/filter_collection.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/base/filter_collection.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -18 lines |
0 comments
|
Download
|
 |
M |
media/base/media_log.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/media_log_event.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
1
2
3
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.h
|
View
|
1
2
3
4
5
6
7
8
9
|
12 chunks |
+10 lines, -84 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline.cc
|
View
|
1
2
3
4
5
6
7
8
|
20 chunks |
+52 lines, -306 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
30 chunks |
+110 lines, -343 lines |
0 comments
|
Download
|
 |
A |
media/base/renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
media/base/renderer.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/filters/audio_renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/pipeline_integration_test_base.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+21 lines, -14 lines |
0 comments
|
Download
|
 |
A |
media/filters/renderer_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+201 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/filters/renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+572 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/filters/renderer_impl_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+554 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/tools/player_x11/player_x11.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
Total messages: 29 (0 generated)
|