|
|
V4L2VDA: Generalize EGLImage import and query driver for output formats.
Generalize CreateEGLImage() from being NV12M-specific to support any
format. Add a method to query whether current platform supports importing
a given V4L2/DRM format into EGLImages and use it in V4L2VDA.
Dynamically query the driver for supported V4L2 output formats and choose
one we can use for EGLImage import.
TEST=Video playback for affected platforms
BUG= chromium:430638, chrome-os-partner:33728, chromium:350197
Committed: https://crrev.com/3b87d51779440abedbf5fd0578b7ea02b988d876
Cr-Commit-Position: refs/heads/master@{#310241}
Total comments: 4
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+270 lines, -119 lines) |
Patch |
 |
M |
cc/resources/video_resource_updater.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/generic_v4l2_video_device.h
|
View
|
|
1 chunk |
+23 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/generic_v4l2_video_device.cc
|
View
|
1
|
4 chunks |
+79 lines, -32 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/tegra_v4l2_video_device.h
|
View
|
|
1 chunk |
+23 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/tegra_v4l2_video_device.cc
|
View
|
|
2 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_decode_accelerator.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
View
|
1
|
6 chunks |
+35 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_device.h
|
View
|
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/v4l2_video_device.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame.h
|
View
|
1
2
3
5
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/video_frame.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+44 lines, -14 lines |
0 comments
|
Download
|
 |
M |
media/blink/video_frame_compositor.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/filters/skcanvas_video_renderer.cc
|
View
|
|
4 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/mojo/interfaces/media_types.mojom
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/mojo/services/media_type_converters.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 38 (16 generated)
|