Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1083)

Unified Diff: content/common/gpu/media/generic_v4l2_device.h

Issue 1822983002: Support external buffer import in VDA interface and add a V4L2SVDA impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/generic_v4l2_device.h
diff --git a/content/common/gpu/media/generic_v4l2_device.h b/content/common/gpu/media/generic_v4l2_device.h
index fa4f135bd57400b8ce017aecc80bf7f5a742713c..a5f787b0ee089d077c2ef8b5b482baf619173d05 100644
--- a/content/common/gpu/media/generic_v4l2_device.h
+++ b/content/common/gpu/media/generic_v4l2_device.h
@@ -40,13 +40,15 @@ class GenericV4L2Device : public V4L2Device {
enum v4l2_buf_type type) override;
bool CanCreateEGLImageFrom(uint32_t v4l2_pixfmt) override;
- EGLImageKHR CreateEGLImage(EGLDisplay egl_display,
- EGLContext egl_context,
- GLuint texture_id,
- gfx::Size frame_buffer_size,
- unsigned int buffer_index,
- uint32_t v4l2_pixfmt,
- size_t num_v4l2_planes) override;
+ EGLImageKHR CreateEGLImage(
+ EGLDisplay egl_display,
+ EGLContext egl_context,
+ GLuint texture_id,
+ const gfx::Size& size,
+ unsigned int buffer_index,
+ uint32_t v4l2_pixfmt,
+ const std::vector<base::ScopedFD>& dmabuf_fds) override;
+
EGLBoolean DestroyEGLImage(EGLDisplay egl_display,
EGLImageKHR egl_image) override;
GLenum GetTextureTarget() override;
« no previous file with comments | « content/common/gpu/media/dxva_video_decode_accelerator_win.cc ('k') | content/common/gpu/media/generic_v4l2_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698