|
Reland: Add accelerated video decoder interface, VP8 and H.264 implementations and hook up to V4L2SVDA.
This is a reland as the previous CL has an issue with BUILD.gn and failed gn build.
An AcceleratedVideoDecoder is a video decoder that requires support from an
external accelerator (typically a hardware accelerator) to partially
offload the decode process after parsing stream headers, and performing
reference frame and state management.
In this design, the hardware-independent decoder implementation interfaces
with a HW-specific Accelerator to offload last stages of the decode process.
Add the interface for AcceleratedVideoDecoder, decoders for VP8 and H264,
V4L2-specific Accelerators for VP8 and H264 and a common accelerator/client
class for V4L2.
TEST=vdatest VP8/H264, mp4 local video playback, apprtc decode
BUG= chrome-os-partner:33728
TBR=wuchengli@chromium.org,kcwu@chromium.org,owenlin@chromium.org,xhwang@chromium.org,scherkus@chromium.org,dalecurtis@chromium.org
Committed: https://crrev.com/3c09b9b26ee6fc8b43c7535070cfa08aba1285cf
Cr-Commit-Position: refs/heads/master@{#311464}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+4060 lines, -885 lines) |
Patch |
 |
M |
content/common/BUILD.gn
|
View
|
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/accelerated_video_decoder.h
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/generic_v4l2_video_device.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_encode_accelerator.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/h264_decoder.h
|
View
|
|
1 chunk |
+259 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
content/common/gpu/media/h264_decoder.cc
|
View
|
|
41 chunks |
+242 lines, -667 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/h264_dpb.h
|
View
|
|
6 chunks |
+41 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/h264_dpb.cc
|
View
|
|
5 chunks |
+47 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/tegra_v4l2_video_device.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_image_processor.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_image_processor.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/v4l2_slice_video_decode_accelerator.h
|
View
|
|
1 chunk |
+391 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
|
View
|
|
1 chunk |
+2432 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_decode_accelerator.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_device.h
|
View
|
|
4 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_device.cc
|
View
|
|
2 chunks |
+20 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_encode_accelerator.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_encode_accelerator.cc
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/vaapi_h264_decoder.h
|
View
|
|
6 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/vaapi_h264_decoder.cc
|
View
|
|
33 chunks |
+59 lines, -53 lines |
0 comments
|
Download
|
 |
A + |
content/common/gpu/media/vaapi_h264_dpb.h
|
View
|
|
6 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
A + |
content/common/gpu/media/vaapi_h264_dpb.cc
|
View
|
|
7 chunks |
+28 lines, -23 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/vaapi_video_encode_accelerator.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/video_decode_accelerator_unittest.cc
|
View
|
|
7 chunks |
+23 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/video_encode_accelerator_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/vp8_decoder.h
|
View
|
|
1 chunk |
+107 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/vp8_decoder.cc
|
View
|
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/vp8_picture.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/media/vp8_picture.cc
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/h264_parser.h
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/h264_parser.cc
|
View
|
|
4 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/vp8_parser.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/video/h264_poc.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 7 (3 generated)
|