|
Simplify VideoDecodeEngine interface by making everything synchronous.
Although I plan to remove VideoDecodeEngine entirely it requires detangling some of the code first.
Other noteworthy changes:
- It's no longer valid to call VideoFrameReady(NULL), instead FFmpegVideoDecoder will raise an error the moment it finds one
- Buffer recycling has been vanquished (for now), with video frames always allocated in the decoder
- Produce/ConsumeVideoFrame() has been replaced by Read()
- Video decode byte statistics are only updated if more than 0 bytes were decoded
- FFmpegVideoDecodeEngine no longer attempts to preroll
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108612
Total comments: 21
Total comments: 78
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+519 lines, -1335 lines) |
Patch |
 |
M |
content/renderer/media/capture_video_decoder.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/capture_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+30 lines, -39 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/capture_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+21 lines, -52 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -19 lines |
0 comments
|
Download
|
 |
M |
media/base/filters.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+12 lines, -23 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/base/video_decoder_config.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+16 lines, -41 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+114 lines, -166 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
|
17 chunks |
+67 lines, -78 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.h
|
View
|
1
2
3
4
5
|
5 chunks |
+32 lines, -25 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.cc
|
View
|
1
2
3
4
5
|
12 chunks |
+87 lines, -213 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base_unittest.cc
|
View
|
1
2
3
4
5
6
|
11 chunks |
+22 lines, -87 lines |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/video/ffmpeg_video_decode_engine.h
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -37 lines |
0 comments
|
Download
|
 |
M |
media/video/ffmpeg_video_decode_engine.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+56 lines, -155 lines |
0 comments
|
Download
|
 |
D |
media/video/ffmpeg_video_decode_engine_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -286 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_engine.h
|
View
|
1
2
3
4
5
|
1 chunk |
+18 lines, -80 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|