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

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

Issue 730693005: Generalize V4L2 HW video codec device names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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_video_device.h
diff --git a/content/common/gpu/media/exynos_v4l2_video_device.h b/content/common/gpu/media/generic_v4l2_video_device.h
similarity index 79%
rename from content/common/gpu/media/exynos_v4l2_video_device.h
rename to content/common/gpu/media/generic_v4l2_video_device.h
index d1498a66e1859f94bb780c089c673263553a71b9..d748bcd1868b392ba4b59723c05325f831655736 100644
--- a/content/common/gpu/media/exynos_v4l2_video_device.h
+++ b/content/common/gpu/media/generic_v4l2_video_device.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// This file contains the implementation of ExynosV4L2Device used on
-// Exynos platform.
+// This file contains the implementation of GenericV4L2Device used on
+// Generic platform.
-#ifndef CONTENT_COMMON_GPU_MEDIA_EXYNOS_V4L2_VIDEO_DEVICE_H_
-#define CONTENT_COMMON_GPU_MEDIA_EXYNOS_V4L2_VIDEO_DEVICE_H_
+#ifndef CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_
+#define CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_
#include "content/common/gpu/media/v4l2_video_device.h"
namespace content {
-class ExynosV4L2Device : public V4L2Device {
+class GenericV4L2Device : public V4L2Device {
public:
- explicit ExynosV4L2Device(Type type);
- virtual ~ExynosV4L2Device();
+ explicit GenericV4L2Device(Type type);
+ virtual ~GenericV4L2Device();
// V4L2Device implementation.
virtual int Ioctl(int request, void* arg) override;
@@ -51,8 +51,8 @@ class ExynosV4L2Device : public V4L2Device {
// interrupted.
int device_poll_interrupt_fd_;
- DISALLOW_COPY_AND_ASSIGN(ExynosV4L2Device);
+ DISALLOW_COPY_AND_ASSIGN(GenericV4L2Device);
};
} // namespace content
-#endif // CONTENT_COMMON_GPU_MEDIA_EXYNOS_V4L2_VIDEO_DEVICE_H_
+#endif // CONTENT_COMMON_GPU_MEDIA_GENERIC_V4L2_VIDEO_DEVICE_H_
« no previous file with comments | « content/common/gpu/media/exynos_v4l2_video_device.cc ('k') | content/common/gpu/media/generic_v4l2_video_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698