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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 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 unified diff | Download patch
« no previous file with comments | « media/base/mac/videotoolbox_glue.h ('k') | media/base/media.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/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 13
13 // This class stores VideoToolbox library symbol pointers. 14 // This class stores VideoToolbox library symbol pointers.
14 struct VideoToolboxGlue::Library { 15 struct VideoToolboxGlue::Library {
15 typedef OSStatus (*VTCompressionSessionCreateMethod)( 16 typedef OSStatus (*VTCompressionSessionCreateMethod)(
16 CFAllocatorRef, 17 CFAllocatorRef,
17 int32_t, 18 int32_t,
18 int32_t, 19 int32_t,
19 CoreMediaGlue::CMVideoCodecType, 20 CoreMediaGlue::CMVideoCodecType,
20 CFDictionaryRef, 21 CFDictionaryRef,
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 KEY_ACCESSOR(kVTCompressionPropertyKey_TransferFunction) 225 KEY_ACCESSOR(kVTCompressionPropertyKey_TransferFunction)
225 KEY_ACCESSOR(kVTCompressionPropertyKey_YCbCrMatrix) 226 KEY_ACCESSOR(kVTCompressionPropertyKey_YCbCrMatrix)
226 KEY_ACCESSOR(kVTEncodeFrameOptionKey_ForceKeyFrame) 227 KEY_ACCESSOR(kVTEncodeFrameOptionKey_ForceKeyFrame)
227 KEY_ACCESSOR(kVTProfileLevel_H264_Baseline_AutoLevel) 228 KEY_ACCESSOR(kVTProfileLevel_H264_Baseline_AutoLevel)
228 KEY_ACCESSOR(kVTProfileLevel_H264_Main_AutoLevel) 229 KEY_ACCESSOR(kVTProfileLevel_H264_Main_AutoLevel)
229 KEY_ACCESSOR(kVTProfileLevel_H264_Extended_AutoLevel) 230 KEY_ACCESSOR(kVTProfileLevel_H264_Extended_AutoLevel)
230 KEY_ACCESSOR(kVTProfileLevel_H264_High_AutoLevel) 231 KEY_ACCESSOR(kVTProfileLevel_H264_High_AutoLevel)
231 KEY_ACCESSOR(kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder) 232 KEY_ACCESSOR(kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder)
232 233
233 #undef KEY_ACCESSOR 234 #undef KEY_ACCESSOR
OLDNEW
« no previous file with comments | « media/base/mac/videotoolbox_glue.h ('k') | media/base/media.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698