|
|
Cast: Enable use of VideoEncodeAccelerator for hardware video encoding
Cast streaming library is currently using GpuVideoAcceleratorFactories
as the interface to access a VideoEncodeAccelerator. This interface
is not actually correct since Content API in Chrome doesn't provide
that. Moreover GpuVideoAcceleratorFactories also covers accelerated
video decoding which is not needed for a cast sender.
This code removes the use of GpuVideoAcceleratorFactories. It is
replaced by two callbacks. One for allocating a VideoEncodeAccelerator
and the second one allocates base::SharedMemory to store output data.
BUG= 354267
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258762
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+263 lines, -274 lines) |
Patch |
 |
M |
chrome/renderer/media/cast_rtp_stream.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/media/cast_session_delegate.cc
|
View
|
1
2
|
2 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast.gyp
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_config.h
|
View
|
1
2
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_sender.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/cast_sender_impl.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/cast_sender_impl.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/end2end_unittest.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
D |
media/cast/test/fake_gpu_video_accelerator_factories.h
|
View
|
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
 |
D |
media/cast/test/fake_gpu_video_accelerator_factories.cc
|
View
|
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/fake_video_encode_accelerator.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/sender.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/default_config.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/test/utility/default_config.cc
|
View
|
1
2
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/external_video_encoder.h
|
View
|
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/external_video_encoder.cc
|
View
|
1
|
11 chunks |
+96 lines, -113 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/external_video_encoder_unittest.cc
|
View
|
1
2
|
3 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/cast/video_sender/video_sender_unittest.cc
|
View
|
1
2
|
4 chunks |
+37 lines, -11 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|