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

Unified Diff: media/gpu/vaapi_wrapper.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/vaapi_video_encode_accelerator.cc ('k') | media/gpu/vaapi_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_wrapper.h
diff --git a/media/gpu/vaapi_wrapper.h b/media/gpu/vaapi_wrapper.h
index e5f84a4f92d211f925711df821e6b0d3789787a9..16efa2d644efe3bd0aa9eb89c75171506048bce3 100644
--- a/media/gpu/vaapi_wrapper.h
+++ b/media/gpu/vaapi_wrapper.h
@@ -77,16 +77,14 @@ class MEDIA_GPU_EXPORT VaapiWrapper
// errors to clients via method return values.
static scoped_refptr<VaapiWrapper> CreateForVideoCodec(
CodecMode mode,
- media::VideoCodecProfile profile,
+ VideoCodecProfile profile,
const base::Closure& report_error_to_uma_cb);
// Return the supported video encode profiles.
- static media::VideoEncodeAccelerator::SupportedProfiles
- GetSupportedEncodeProfiles();
+ static VideoEncodeAccelerator::SupportedProfiles GetSupportedEncodeProfiles();
// Return the supported video decode profiles.
- static media::VideoDecodeAccelerator::SupportedProfiles
- GetSupportedDecodeProfiles();
+ static VideoDecodeAccelerator::SupportedProfiles GetSupportedDecodeProfiles();
// Return true when JPEG decode is supported.
static bool IsJpegDecodeSupported();
@@ -189,7 +187,7 @@ class MEDIA_GPU_EXPORT VaapiWrapper
void ReturnVaImage(VAImage* image);
// Upload contents of |frame| into |va_surface_id| for encode.
- bool UploadVideoFrameToSurface(const scoped_refptr<media::VideoFrame>& frame,
+ bool UploadVideoFrameToSurface(const scoped_refptr<VideoFrame>& frame,
VASurfaceID va_surface_id);
// Create a buffer of |size| bytes to be used as encode output.
@@ -344,7 +342,7 @@ class MEDIA_GPU_EXPORT VaapiWrapper
// Map VideoCodecProfile enum values to VaProfile values. This function
// includes a workaround for crbug.com/345569. If va_profile is h264 baseline
// and it is not supported, we try constrained baseline.
- static VAProfile ProfileToVAProfile(media::VideoCodecProfile profile,
+ static VAProfile ProfileToVAProfile(VideoCodecProfile profile,
CodecMode mode);
// Pointer to VADisplayState's member |va_lock_|. Guaranteed to be valid for
« no previous file with comments | « media/gpu/vaapi_video_encode_accelerator.cc ('k') | media/gpu/vaapi_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698