|
Add VideoCodec::PreferDecodeLate
The purpose is so that a decoder (Android) that only have a limited number of output buffers can make sure that decoding is done just before the frame is needed.
Removed unused iSupportsRenderTiming and the settings structs since it was not used.
Added VCMReceiver::FrameForDecoding unit test for the case when PreferDecodeLate is set.
Note that this does not change the current behaviour. We actually currently always decode frames late. This cl is to make sure the behaviour is kept for Android, if the default behaviour is changed.
Committed: https://crrev.com/796cfaf7f76aa740cc7f4bb2c94f88637e475324
Cr-Commit-Position: refs/heads/master@{#10974}
Total comments: 2
Total comments: 4
Total comments: 10
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -95 lines) |
Patch |
|
M |
talk/app/webrtc/java/jni/androidmediadecoder_jni.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/codec_database.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+5 lines, -12 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/codec_database.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/generic_decoder.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/generic_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/include/video_coding.h
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/receiver.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/receiver.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/receiver_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+59 lines, -1 line |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/video_coding_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/video_coding_impl.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/video_coding_robustness_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/video_receiver.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
|
M |
webrtc/modules/video_coding/video_receiver_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/video/video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/video/video_receive_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/video/vie_channel.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
webrtc/video/vie_channel.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
webrtc/video_decoder.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/video_receive_stream.h
|
View
|
1
2
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
Total messages: 26 (11 generated)
|