|
media: split GpuMemoryBufferVideoFramePool into GpuMemoryBufferVideoFrameCopier/Pool
Current GpuMemoryBufferVideoFramePool has only one API, which copies software VideoFrame
to GpuMemoryBuffer VideoFrame. However, GpuMemoryBufferVideoFramePool can have new API to
provide new VideoFrame managed by internal pool like VideoFramePool.
If GpuMemoryBufferVideoFramePool provides new GMB VideoFrame, each decoder (e.g. ffmpeg, vpx)
can decode video frame on the GMB VideoFrame.
So split GpuMemoryBufferVideoFramePool into GpuMemoryBufferVideoFrameCopier/Pool.
Now GpuMemoryBufferVideoFramePool is very similar to VideoFramePool except for producing
a GMB VideoFrame. GpuMemoryBufferVideoFrameCopier has same API to old GpuMemoryBufferVideoFramePool.
TEST=media_unittests --gtest_filter=GpuMemoryBufferVideoFrame(Copier|Pool)*
BUG= 601788, 590358
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1173 lines, -923 lines) |
Patch |
 |
M |
content/renderer/media/media_stream_video_renderer_sink.h
|
View
|
1
2
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_renderer_sink.cc
|
View
|
|
3 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_video_renderer_sink_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/BUILD.gn
|
View
|
1
2
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
media/renderers/mock_gpu_memory_buffer_video_frame_copier.h
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
media/renderers/mock_gpu_memory_buffer_video_frame_copier.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
D |
media/renderers/mock_gpu_memory_buffer_video_frame_pool.h
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
D |
media/renderers/mock_gpu_memory_buffer_video_frame_pool.cc
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
media/renderers/video_renderer_impl.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/renderers/video_renderer_impl.cc
|
View
|
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/renderers/video_renderer_impl_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
media/video/gpu_memory_buffer_video_frame_copier.h
|
View
|
|
3 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
 |
A |
media/video/gpu_memory_buffer_video_frame_copier.cc
|
View
|
|
1 chunk |
+393 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
media/video/gpu_memory_buffer_video_frame_copier_unittest.cc
|
View
|
1
2
|
16 chunks |
+32 lines, -32 lines |
0 comments
|
Download
|
 |
M |
media/video/gpu_memory_buffer_video_frame_pool.h
|
View
|
1
2
|
3 chunks |
+46 lines, -19 lines |
0 comments
|
Download
|
 |
M |
media/video/gpu_memory_buffer_video_frame_pool.cc
|
View
|
1
2
|
3 chunks |
+490 lines, -645 lines |
0 comments
|
Download
|
 |
D |
media/video/gpu_memory_buffer_video_frame_pool_unittest.cc
|
View
|
1
2
|
3 chunks |
+153 lines, -129 lines |
0 comments
|
Download
|
Total messages: 36 (18 generated)
|