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

Side by Side Diff: media/base/mac/videotoolbox_glue.mm

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: android Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « media/base/fake_demuxer_stream_unittest.cc ('k') | media/base/mac/videotoolbox_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/mac/videotoolbox_glue.h" 5 #include "media/base/mac/videotoolbox_glue.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 12
14 // This class stores VideoToolbox library symbol pointers. 13 // This class stores VideoToolbox library symbol pointers.
15 struct VideoToolboxGlue::Library { 14 struct VideoToolboxGlue::Library {
16 typedef OSStatus (*VTCompressionSessionCreateMethod)( 15 typedef OSStatus (*VTCompressionSessionCreateMethod)(
17 CFAllocatorRef, 16 CFAllocatorRef,
18 int32_t, 17 int32_t,
19 int32_t, 18 int32_t,
20 CoreMediaGlue::CMVideoCodecType, 19 CoreMediaGlue::CMVideoCodecType,
21 CFDictionaryRef, 20 CFDictionaryRef,
22 CFDictionaryRef, 21 CFDictionaryRef,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 KEY_ACCESSOR(kVTEncodeFrameOptionKey_ForceKeyFrame) 233 KEY_ACCESSOR(kVTEncodeFrameOptionKey_ForceKeyFrame)
235 KEY_ACCESSOR(kVTProfileLevel_H264_Baseline_AutoLevel) 234 KEY_ACCESSOR(kVTProfileLevel_H264_Baseline_AutoLevel)
236 KEY_ACCESSOR(kVTProfileLevel_H264_Main_AutoLevel) 235 KEY_ACCESSOR(kVTProfileLevel_H264_Main_AutoLevel)
237 KEY_ACCESSOR(kVTProfileLevel_H264_Extended_AutoLevel) 236 KEY_ACCESSOR(kVTProfileLevel_H264_Extended_AutoLevel)
238 KEY_ACCESSOR(kVTProfileLevel_H264_High_AutoLevel) 237 KEY_ACCESSOR(kVTProfileLevel_H264_High_AutoLevel)
239 KEY_ACCESSOR(kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder) 238 KEY_ACCESSOR(kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder)
240 KEY_ACCESSOR( 239 KEY_ACCESSOR(
241 kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder) 240 kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder)
242 241
243 #undef KEY_ACCESSOR 242 #undef KEY_ACCESSOR
OLDNEW
« no previous file with comments | « media/base/fake_demuxer_stream_unittest.cc ('k') | media/base/mac/videotoolbox_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698