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

Unified Diff: media/gpu/vt_video_encode_accelerator_mac.h

Issue 2529493002: mac: Remove more media/base/mac glue unneeded now that we target 10.9 (Closed)
Patch Set: . Created 4 years, 1 month 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/device_monitors/device_monitor_mac.mm ('k') | media/gpu/vt_video_encode_accelerator_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vt_video_encode_accelerator_mac.h
diff --git a/media/gpu/vt_video_encode_accelerator_mac.h b/media/gpu/vt_video_encode_accelerator_mac.h
index 1a632e4e55134e9379fabdf98d3d8cbcb51a07ab..a177b51f3742a7eafc3fca9e7ca2aac287004f7d 100644
--- a/media/gpu/vt_video_encode_accelerator_mac.h
+++ b/media/gpu/vt_video_encode_accelerator_mac.h
@@ -14,7 +14,6 @@
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "base/threading/thread_checker.h"
-#include "media/base/mac/videotoolbox_glue.h"
#include "media/base/mac/videotoolbox_helpers.h"
#include "media/gpu/media_gpu_export.h"
#include "media/video/video_encode_accelerator.h"
@@ -46,10 +45,6 @@ class MEDIA_GPU_EXPORT VTVideoEncodeAccelerator
void Destroy() override;
private:
- using CMSampleBufferRef = CoreMediaGlue::CMSampleBufferRef;
- using VTCompressionSessionRef = VideoToolboxGlue::VTCompressionSessionRef;
- using VTEncodeInfoFlags = VideoToolboxGlue::VTEncodeInfoFlags;
-
// Holds the associated data of a video frame being processed.
struct InProgressFrameEncode;
@@ -107,8 +102,6 @@ class MEDIA_GPU_EXPORT VTVideoEncodeAccelerator
// encoding work).
void DestroyCompressionSession();
- // VideoToolboxGlue provides access to VideoToolbox at runtime.
- const VideoToolboxGlue* videotoolbox_glue_;
base::ScopedCFTypeRef<VTCompressionSessionRef> compression_session_;
gfx::Size input_visible_size_;
« no previous file with comments | « media/device_monitors/device_monitor_mac.mm ('k') | media/gpu/vt_video_encode_accelerator_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698