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

Side by Side Diff: media/base/mac/coremedia_glue.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ 5 #ifndef MEDIA_BASE_MAC_COREMEDIA_GLUE_H_
6 #define MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ 6 #define MEDIA_BASE_MAC_COREMEDIA_GLUE_H_
7 7
8 #include <CoreVideo/CoreVideo.h> 8 #include <CoreVideo/CoreVideo.h>
9 #include <stdint.h>
9 10
10 #include "base/basictypes.h" 11 #include "base/macros.h"
11 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
12 13
13 // CoreMedia API is only introduced in Mac OS X > 10.6, the (potential) linking 14 // CoreMedia API is only introduced in Mac OS X > 10.6, the (potential) linking
14 // with it has to happen in runtime. If it succeeds, subsequent clients can use 15 // with it has to happen in runtime. If it succeeds, subsequent clients can use
15 // CoreMedia via the class declared in this file, where the original naming has 16 // CoreMedia via the class declared in this file, where the original naming has
16 // been kept as much as possible. 17 // been kept as much as possible.
17 class MEDIA_EXPORT CoreMediaGlue { 18 class MEDIA_EXPORT CoreMediaGlue {
18 public: 19 public:
19 // Originally from CMTime.h 20 // Originally from CMTime.h
20 typedef int64_t CMTimeValue; 21 typedef int64_t CMTimeValue;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 size_t* parameterSetSizeOut, 110 size_t* parameterSetSizeOut,
110 size_t* parameterSetCountOut, 111 size_t* parameterSetCountOut,
111 int* NALUnitHeaderLengthOut) 112 int* NALUnitHeaderLengthOut)
112 /*__OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_7_0)*/; 113 /*__OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_7_0)*/;
113 114
114 private: 115 private:
115 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreMediaGlue); 116 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreMediaGlue);
116 }; 117 };
117 118
118 #endif // MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ 119 #endif // MEDIA_BASE_MAC_COREMEDIA_GLUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698