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

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

Issue 809883004: Revert hardware decoder changes causing ChromeOS HW test crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/tegra_v4l2_video_device.h
diff --git a/content/common/gpu/media/tegra_v4l2_video_device.h b/content/common/gpu/media/tegra_v4l2_video_device.h
index e9516faaf6c18784f6ffd15a824356de22bbe81c..f9e38caa4876889e45f002b866316fdd248068f5 100644
--- a/content/common/gpu/media/tegra_v4l2_video_device.h
+++ b/content/common/gpu/media/tegra_v4l2_video_device.h
@@ -21,29 +21,28 @@ class TegraV4L2Device : public V4L2Device {
explicit TegraV4L2Device(Type type);
virtual ~TegraV4L2Device();
- int Ioctl(int flags, 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;
- bool Initialize() 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);
- EGLBoolean DestroyEGLImage(EGLDisplay egl_display,
- EGLImageKHR egl_image) override;
- GLenum GetTextureTarget() override;
- uint32 PreferredInputFormat() override;
+ virtual int Ioctl(int flags, 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,
+ EGLContext egl_context,
+ 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 PreferredInputFormat() override;
+ virtual uint32 PreferredOutputFormat() override;
private:
const Type type_;
« no previous file with comments | « content/common/gpu/media/generic_v4l2_video_device.cc ('k') | content/common/gpu/media/tegra_v4l2_video_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698