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

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

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/keyboard_event_counter.h ('k') | media/base/media_file_checker.h » ('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 #ifndef MEDIA_BASE_MAC_COREVIDEO_GLUE_H_ 5 #ifndef MEDIA_BASE_MAC_COREVIDEO_GLUE_H_
6 #define MEDIA_BASE_MAC_COREVIDEO_GLUE_H_ 6 #define MEDIA_BASE_MAC_COREVIDEO_GLUE_H_
7 7
8 #include "base/macros.h"
8 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
9 10
10 // Although CoreVideo exists in 10.6, not all of its types and functions were 11 // Although CoreVideo exists in 10.6, not all of its types and functions were
11 // introduced in that release. Clients can use this class to access types, 12 // introduced in that release. Clients can use this class to access types,
12 // constants and functions not available in 10.6. 13 // constants and functions not available in 10.6.
13 class MEDIA_EXPORT CoreVideoGlue { 14 class MEDIA_EXPORT CoreVideoGlue {
14 public: 15 public:
15 // Originally from CVPixelBuffer.h 16 // Originally from CVPixelBuffer.h
16 enum { 17 enum {
17 kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange = '420v', 18 kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange = '420v',
18 }; 19 };
19 typedef struct CVPlanarPixelBufferInfo_YCbCrPlanar 20 typedef struct CVPlanarPixelBufferInfo_YCbCrPlanar
20 CVPlanarPixelBufferInfo_YCbCrPlanar; 21 CVPlanarPixelBufferInfo_YCbCrPlanar;
21 struct CVPlanarPixelBufferInfo_YCbCrBiPlanar { 22 struct CVPlanarPixelBufferInfo_YCbCrBiPlanar {
22 CVPlanarComponentInfo componentInfoY; 23 CVPlanarComponentInfo componentInfoY;
23 CVPlanarComponentInfo componentInfoCbCr; 24 CVPlanarComponentInfo componentInfoCbCr;
24 }; 25 };
25 typedef struct CVPlanarPixelBufferInfo_YCbCrBiPlanar 26 typedef struct CVPlanarPixelBufferInfo_YCbCrBiPlanar
26 CVPlanarPixelBufferInfo_YCbCrBiPlanar; 27 CVPlanarPixelBufferInfo_YCbCrBiPlanar;
27 28
28 private: 29 private:
29 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreVideoGlue); 30 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreVideoGlue);
30 }; 31 };
31 32
32 #endif // MEDIA_BASE_MAC_COREVIDEO_GLUE_H_ 33 #endif // MEDIA_BASE_MAC_COREVIDEO_GLUE_H_
OLDNEW
« no previous file with comments | « media/base/keyboard_event_counter.h ('k') | media/base/media_file_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698