|
LANDED AS 114183 FROM http://codereview.chromium.org/8922010
<video> decode in hardware!
This uses the GpuVideoDecodeAccelerator machinery (already written to enable
ppapi to take advantage of OpenMAX HW where available) to decode <video> data.
This increases idle CPU from 20% to 45% on one particularly large (internal)
test video (red0.mp4), on an ARM crosbook.
HW decode is done on a best-effort basis; if the GPU code doesn't know how to
deal with a codec/profile we still fall back to ffmpeg for decode. Because the
vast majority of chrome installs will be on HW with no video decode support
(yet) we only attempt HW video decode on platforms we know have a shot at it.
BUG= 104579
TEST=manual testing w/ video test matrix, trybots.
Total comments: 4
Total comments: 9
Total comments: 55
Total comments: 24
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1124 lines, -174 lines) |
Patch |
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/omx_video_decode_accelerator.cc
|
View
|
|
3 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/omx_video_decode_accelerator_unittest.cc
|
View
|
|
5 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/gpu_video_decode_accelerator_host.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/audio_renderer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/capture_video_decoder.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/capture_video_decoder.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/capture_video_decoder_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
A |
content/renderer/renderer_gpu_video_decoder_factories.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/renderer_gpu_video_decoder_factories.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
|
media/base/composite_filter.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/composite_filter.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/composite_filter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/base/filter_collection.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/filters.h
|
View
|
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/base/filters.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/mock_filters.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/base/pipeline_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+21 lines, -11 lines |
0 comments
|
Download
|
 |
M |
media/base/pipeline_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/video_decoder_config.h
|
View
|
1
2
3
|
6 chunks |
+31 lines, -1 line |
0 comments
|
Download
|
 |
|
media/base/video_decoder_config.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+32 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame.h
|
View
|
|
7 chunks |
+28 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+42 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/ffmpeg/ffmpeg_common.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+7 lines, -26 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+18 lines, -15 lines |
0 comments
|
Download
|
 |
A |
media/filters/gpu_video_decoder.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+169 lines, -0 lines |
1 comment
|
Download
|
 |
A |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+443 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_accelerator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+4 lines, -20 lines |
0 comments
|
Download
|
 |
|
ppapi/api/dev/pp_video_dev.idl
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/pp_video_dev.h
|
View
|
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/media/webmediaplayer_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/media/webvideoframe_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
webkit/media/webvideoframe_impl.cc
|
View
|
|
2 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|