| OLD | NEW |
| 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_VIDEO_CAPTURE_MAC_COREMEDIA_GLUE_H_ | 5 #ifndef MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ |
| 6 #define MEDIA_VIDEO_CAPTURE_MAC_COREMEDIA_GLUE_H_ | 6 #define MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ |
| 7 | 7 |
| 8 #import <CoreVideo/CoreVideo.h> | 8 #include <CoreVideo/CoreVideo.h> |
| 9 #import <Foundation/Foundation.h> | |
| 10 | 9 |
| 11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 12 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
| 13 | 12 |
| 14 // CoreMedia API is only introduced in Mac OS X > 10.6, the (potential) linking | 13 // CoreMedia API is only introduced in Mac OS X > 10.6, the (potential) linking |
| 15 // with it has to happen in runtime. If it succeeds, subsequent clients can use | 14 // with it has to happen in runtime. If it succeeds, subsequent clients can use |
| 16 // CoreMedia via the class declared in this file, where the original naming has | 15 // CoreMedia via the class declared in this file, where the original naming has |
| 17 // been kept as much as possible. | 16 // been kept as much as possible. |
| 18 class MEDIA_EXPORT CoreMediaGlue { | 17 class MEDIA_EXPORT CoreMediaGlue { |
| 19 public: | 18 public: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Originally from CMFormatDescription.h. | 55 // Originally from CMFormatDescription.h. |
| 57 static FourCharCode CMFormatDescriptionGetMediaSubType( | 56 static FourCharCode CMFormatDescriptionGetMediaSubType( |
| 58 CMFormatDescriptionRef desc); | 57 CMFormatDescriptionRef desc); |
| 59 static CMVideoDimensions CMVideoFormatDescriptionGetDimensions( | 58 static CMVideoDimensions CMVideoFormatDescriptionGetDimensions( |
| 60 CMVideoFormatDescriptionRef videoDesc); | 59 CMVideoFormatDescriptionRef videoDesc); |
| 61 | 60 |
| 62 private: | 61 private: |
| 63 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreMediaGlue); | 62 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreMediaGlue); |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 #endif // MEDIA_VIDEO_CAPTURE_MAC_COREMEDIA_GLUE_H_ | 65 #endif // MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ |
| OLD | NEW |