|
[Cast] Size-Adaptable platform video encoders.
Provides a proxy VideoEncoder implementation that wraps
ExternalVideoEncoder or H264VTEncoder to handle frame size changes.
When the frame size changes, the proxy 1) waits for current encoder
instance to finish encoding any frames in-progress, then 2) destroys the
encoder, and 3) finally re-creates/initializes a new encoder instance.
During this process, frames provided via InsertRawVideoFrame() are
simply dropped.
Merged external_encoder_unittest.cc and video_encoder_impl_unittest.cc
into a single video_encoder_unittest.cc that tests *all* cast
VideoEncoder implementations. Made a number of fixes to allow testing
of the H264VTEncoder on desktop Macs and the trybots.
BUG= 451277
Committed: https://crrev.com/9005303cba2d9ab58dd4439295695a93c8801e96
Cr-Commit-Position: refs/heads/master@{#315723}
Total comments: 38
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1180 lines, -1005 lines) |
Patch |
 |
M |
chrome/renderer/media/cast_rtp_stream.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_rtp_stream.cc
|
View
|
|
6 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/BUILD.gn
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_sender.h
|
View
|
1
2
|
2 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_sender_impl.cc
|
View
|
|
4 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_testing.gypi
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/external_video_encoder.h
|
View
|
1
2
|
5 chunks |
+37 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/external_video_encoder.cc
|
View
|
1
2
|
8 chunks |
+76 lines, -41 lines |
0 comments
|
Download
|
 |
D |
media/cast/sender/external_video_encoder_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -223 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/h264_vt_encoder.h
|
View
|
1
2
|
6 chunks |
+43 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/h264_vt_encoder.cc
|
View
|
1
2
|
13 chunks |
+201 lines, -55 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/h264_vt_encoder_unittest.cc
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
A |
media/cast/sender/size_adaptable_video_encoder_base.h
|
View
|
1
2
|
1 chunk |
+120 lines, -0 lines |
0 comments
|
Download
|
 |
A |
media/cast/sender/size_adaptable_video_encoder_base.cc
|
View
|
1
2
|
1 chunk |
+168 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_encoder.h
|
View
|
|
1 chunk |
+17 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_encoder.cc
|
View
|
|
1 chunk |
+51 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_encoder_impl.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_encoder_impl.cc
|
View
|
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
D |
media/cast/sender/video_encoder_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -313 lines |
0 comments
|
Download
|
 |
A + |
media/cast/sender/video_encoder_unittest.cc
|
View
|
|
6 chunks |
+288 lines, -147 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_frame_factory.h
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_sender.cc
|
View
|
|
3 chunks |
+12 lines, -35 lines |
0 comments
|
Download
|
 |
M |
media/cast/sender/video_sender_unittest.cc
|
View
|
|
7 chunks |
+60 lines, -53 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/cast_benchmarks.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/end2end_unittest.cc
|
View
|
|
13 chunks |
+4 lines, -31 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/default_config.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/video_utility.cc
|
View
|
|
2 chunks |
+40 lines, -24 lines |
0 comments
|
Download
|
Total messages: 15 (5 generated)
|