~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/maccore/src/CoreVideo/CoreVideo.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
// Authors: Mono Team
5
5
//     
6
6
// Copyright 2011 Novell, Inc
 
7
// Copyright 2011, 2012 Xamarin Inc
7
8
//
8
9
// Permission is hereby granted, free of charge, to any person obtaining
9
10
// a copy of this software and associated documentation files (the
59
60
        public enum CVReturn {
60
61
                Success = 0,
61
62
                First = -6660,
62
 
                Error = -6660,
 
63
                Error = First,
63
64
                InvalidArgument = -6661,
64
65
                AllocationFailed = -6662,
65
66
                InvalidDisplay = -6670,
70
71
                InvalidSize = -6681,
71
72
                InvalidPixelBufferAttributes = -6682,
72
73
                PixelBufferNotOpenGLCompatible = -6683,
 
74
                WouldExceedAllocationThreshold = -6689,
73
75
                PoolAllocationFailed = -6690,
74
76
                InvalidPoolAttributes = -6691,
75
77
                Last = -6699,
117
119
                CV30RGB = 0x5231306b,
118
120
                CV4444AYpCbCr8   = 0x79343038,
119
121
                CV4444AYpCbCr16  = 0x79343136,
120
 
                //[Since (5,1)]
 
122
                // Since 5.1
121
123
                OneComponent8 = 0x4C303038,
122
 
                //[Since (5,1)]
123
 
                TwoComponent8 = 0x32433038
 
124
                TwoComponent8 = 0x32433038,
 
125
                // Since 6.0
 
126
                OneComponent16Half      = 0x4C303068, // 'L00h'
 
127
                OneComponent32Float = 0x4C303066, // 'L00f'
 
128
                TwoComponent16Half  = 0x32433068, // '2C0h'
 
129
                TwoComponent32Float = 0x32433066, // '2C0f'
 
130
                CV64RGBAHalf            = 0x52476841, // 'RGhA'
 
131
                CV128RGBAFloat          = 0x52476641, // 'RGfA'
124
132
        }
125
133
 
126
134
        public enum CVOptionFlags : long {