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

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

Issue 531863002: Extend media glue code to support the VideoToolbox cast video encoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base-glue
Patch Set: Rework the VideoToolbox glue to allow lower-overhead calls to functions and support load failure. Created 6 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_MAC_COREVIDEO_GLUE_H_
6 #define MEDIA_BASE_MAC_COREVIDEO_GLUE_H_
7
8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
10
11 // Although CoreVideo exists in 10.6, not all of its types and functions were
12 // introduced in that release. Clients can use this class to access types,
13 // constants and functions not available in 10.6.
14 class MEDIA_EXPORT CoreVideoGlue {
15 public:
16 // Originally from CVPixelBuffer.h
17 typedef struct CVPlanarPixelBufferInfo_YCbCrPlanar
18 CVPlanarPixelBufferInfo_YCbCrPlanar;
19 struct CVPlanarPixelBufferInfo_YCbCrBiPlanar {
20 CVPlanarComponentInfo componentInfoY;
21 CVPlanarComponentInfo componentInfoCbCr;
22 };
23 typedef struct CVPlanarPixelBufferInfo_YCbCrBiPlanar
24 CVPlanarPixelBufferInfo_YCbCrBiPlanar;
25
26 private:
27 DISALLOW_IMPLICIT_CONSTRUCTORS(CoreVideoGlue);
28 };
29
30 #endif // MEDIA_BASE_MAC_COREVIDEO_GLUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698