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

Unified Diff: media/gpu/v4l2_device.h

Issue 2061823003: media: Drop "media::" in media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: work around clang format by adding an empty line Created 4 years, 6 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 | « media/gpu/shared_memory_region.cc ('k') | media/gpu/v4l2_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/v4l2_device.h
diff --git a/media/gpu/v4l2_device.h b/media/gpu/v4l2_device.h
index 1c765e95d15217ee61e1228adaa9ca00692308cf..edf4686543080995a1ccdeb442f210010b165afc 100644
--- a/media/gpu/v4l2_device.h
+++ b/media/gpu/v4l2_device.h
@@ -35,11 +35,10 @@ class MEDIA_GPU_EXPORT V4L2Device
: public base::RefCountedThreadSafe<V4L2Device> {
public:
// Utility format conversion functions
- static media::VideoPixelFormat V4L2PixFmtToVideoPixelFormat(uint32_t format);
- static uint32_t VideoPixelFormatToV4L2PixFmt(media::VideoPixelFormat format);
- static uint32_t VideoCodecProfileToV4L2PixFmt(
- media::VideoCodecProfile profile,
- bool slice_based);
+ static VideoPixelFormat V4L2PixFmtToVideoPixelFormat(uint32_t format);
+ static uint32_t VideoPixelFormatToV4L2PixFmt(VideoPixelFormat format);
+ static uint32_t VideoCodecProfileToV4L2PixFmt(VideoCodecProfile profile,
+ bool slice_based);
static uint32_t V4L2PixFmtToDrmFormat(uint32_t format);
// Convert format requirements requested by a V4L2 device to gfx::Size.
static gfx::Size CodedSizeFromV4L2Format(struct v4l2_format format);
@@ -137,16 +136,15 @@ class MEDIA_GPU_EXPORT V4L2Device
// Return supported profiles for decoder, including only profiles for given
// fourcc |pixelformats|.
- media::VideoDecodeAccelerator::SupportedProfiles GetSupportedDecodeProfiles(
+ VideoDecodeAccelerator::SupportedProfiles GetSupportedDecodeProfiles(
const size_t num_formats,
const uint32_t pixelformats[]);
// Return true if the device supports |profile|, taking into account only
// fourccs from the given array of |pixelformats| of size |num_formats|.
- bool SupportsDecodeProfileForV4L2PixelFormats(
- media::VideoCodecProfile profile,
- const size_t num_formats,
- const uint32_t pixelformats[]);
+ bool SupportsDecodeProfileForV4L2PixelFormats(VideoCodecProfile profile,
+ const size_t num_formats,
+ const uint32_t pixelformats[]);
protected:
friend class base::RefCountedThreadSafe<V4L2Device>;
« no previous file with comments | « media/gpu/shared_memory_region.cc ('k') | media/gpu/v4l2_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698