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

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

Issue 137023008: Add support for Tegra V4L2 VDA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor nit Created 6 years, 9 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
« no previous file with comments | « no previous file | content/common/gpu/media/exynos_v4l2_video_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/exynos_v4l2_video_device.h
diff --git a/content/common/gpu/media/exynos_v4l2_video_device.h b/content/common/gpu/media/exynos_v4l2_video_device.h
index 39c3428523ec1fca2ec8a05d8430416e70dd2fbf..fc9e62a06c605985fd737f5be0900652ed895de4 100644
--- a/content/common/gpu/media/exynos_v4l2_video_device.h
+++ b/content/common/gpu/media/exynos_v4l2_video_device.h
@@ -18,19 +18,26 @@ class ExynosV4L2Device : public V4L2Device {
virtual ~ExynosV4L2Device();
// V4L2Device implementation.
- int Ioctl(int request, void* arg) OVERRIDE;
- bool Poll(bool poll_device, bool* event_pending) OVERRIDE;
- bool SetDevicePollInterrupt() OVERRIDE;
- bool ClearDevicePollInterrupt() OVERRIDE;
- void* Mmap(void* addr,
- unsigned int len,
- int prot,
- int flags,
- unsigned int offset) OVERRIDE;
- void Munmap(void* addr, unsigned int len) OVERRIDE;
-
- // Does all the initialization of device fds, returns true on success.
- bool Initialize();
+ virtual int Ioctl(int request, void* arg) OVERRIDE;
+ virtual bool Poll(bool poll_device, bool* event_pending) OVERRIDE;
+ virtual bool SetDevicePollInterrupt() OVERRIDE;
+ virtual bool ClearDevicePollInterrupt() OVERRIDE;
+ virtual void* Mmap(void* addr,
+ unsigned int len,
+ int prot,
+ int flags,
+ unsigned int offset) OVERRIDE;
+ virtual void Munmap(void* addr, unsigned int len) OVERRIDE;
+ virtual bool Initialize() OVERRIDE;
+ virtual EGLImageKHR CreateEGLImage(EGLDisplay egl_display,
+ GLuint texture_id,
+ gfx::Size frame_buffer_size,
+ unsigned int buffer_index,
+ size_t planes_count) OVERRIDE;
+ virtual EGLBoolean DestroyEGLImage(EGLDisplay egl_display,
+ EGLImageKHR egl_image) OVERRIDE;
+ virtual GLenum GetTextureTarget() OVERRIDE;
+ virtual uint32 PreferredOutputFormat() OVERRIDE;
private:
// The actual device fd.
« no previous file with comments | « no previous file | content/common/gpu/media/exynos_v4l2_video_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698