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

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

Issue 2151443003: Revert of RELAND: ImageCapture: Implement takePhoto() for Mac AVFoundation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef; 45 typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef;
46 typedef FourCharCode CMVideoCodecType; 46 typedef FourCharCode CMVideoCodecType;
47 typedef struct { 47 typedef struct {
48 int32_t width; 48 int32_t width;
49 int32_t height; 49 int32_t height;
50 } CMVideoDimensions; 50 } CMVideoDimensions;
51 enum { 51 enum {
52 kCMPixelFormat_422YpCbCr8_yuvs = 'yuvs', 52 kCMPixelFormat_422YpCbCr8_yuvs = 'yuvs',
53 }; 53 };
54 enum { 54 enum {
55 kCMVideoCodecType_JPEG = 'jpeg',
56 kCMVideoCodecType_JPEG_OpenDML = 'dmb1', 55 kCMVideoCodecType_JPEG_OpenDML = 'dmb1',
57 kCMVideoCodecType_H264 = 'avc1', 56 kCMVideoCodecType_H264 = 'avc1',
58 }; 57 };
59 58
60 // Originally from CMFormatDescriptionBridge.h 59 // Originally from CMFormatDescriptionBridge.h
61 enum { 60 enum {
62 kCMFormatDescriptionBridgeError_InvalidParameter = -12712, 61 kCMFormatDescriptionBridgeError_InvalidParameter = -12712,
63 }; 62 };
64 63
65 // Originally from CMSampleBuffer.h. 64 // Originally from CMSampleBuffer.h.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 size_t* parameterSetSizeOut, 111 size_t* parameterSetSizeOut,
113 size_t* parameterSetCountOut, 112 size_t* parameterSetCountOut,
114 int* NALUnitHeaderLengthOut) 113 int* NALUnitHeaderLengthOut)
115 /*__OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_7_0)*/; 114 /*__OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_7_0)*/;
116 115
117 private: 116 private:
118 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreMediaGlue); 117 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreMediaGlue);
119 }; 118 };
120 119
121 #endif // MEDIA_BASE_MAC_COREMEDIA_GLUE_H_ 120 #endif // MEDIA_BASE_MAC_COREMEDIA_GLUE_H_
OLDNEW
« no previous file with comments | « media/base/mac/avfoundation_glue.mm ('k') | media/capture/video/mac/video_capture_device_avfoundation_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698