This commit is contained in:
Sebastien Pouliot 2018-07-05 08:54:56 -04:00 коммит произвёл GitHub
Родитель 849453a612
Коммит d280683627
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -77,6 +77,9 @@ namespace CoreVideo {
[iOS (9,0)][Mac (10,10)]
public static readonly NSString ComponentRangeWideRangeKey;
[iOS (12,0)][TV (12,0)][Watch (5,0)][Mac (10,14, onlyOn64: true)]
public static readonly NSString ContainsGrayscaleKey;
static CVPixelFormatDescription ()
{
var handle = Dlfcn.dlopen (Constants.CoreVideoLibrary, 0);
@ -115,6 +118,9 @@ namespace CoreVideo {
ComponentRangeFullRangeKey = Dlfcn.GetStringConstant (handle, "kCVPixelFormatComponentRange_FullRange");
ComponentRangeVideoRangeKey = Dlfcn.GetStringConstant (handle, "kCVPixelFormatComponentRange_VideoRange");
ComponentRangeWideRangeKey = Dlfcn.GetStringConstant (handle, "kCVPixelFormatComponentRange_WideRange");
// Xcode 10
ContainsGrayscaleKey = Dlfcn.GetStringConstant (handle, "kCVPixelFormatContainsGrayscale");
}
finally {
Dlfcn.dlclose (handle);

Просмотреть файл

@ -2,6 +2,8 @@
!missing-field! kCVImageBufferICCProfileKey not bound
!missing-field! kCVIndefiniteTime not bound
!missing-field! kCVPixelBufferPoolFreeBufferNotification not bound
## the following fields are manually bound in CVPixelFormatDescription.cs
!missing-field! kCVPixelFormatBitsPerBlock not bound
!missing-field! kCVPixelFormatBlackBlock not bound
!missing-field! kCVPixelFormatBlockHeight not bound
@ -18,6 +20,7 @@
!missing-field! kCVPixelFormatComponentRange_WideRange not bound
!missing-field! kCVPixelFormatConstant not bound
!missing-field! kCVPixelFormatContainsAlpha not bound
!missing-field! kCVPixelFormatContainsGrayscale not bound
!missing-field! kCVPixelFormatContainsRGB not bound
!missing-field! kCVPixelFormatContainsYCbCr not bound
!missing-field! kCVPixelFormatFillExtendedPixelsCallback not bound
@ -31,6 +34,7 @@
!missing-field! kCVPixelFormatPlanes not bound
!missing-field! kCVPixelFormatQDCompatibility not bound
!missing-field! kCVPixelFormatVerticalSubsampling not bound
!missing-field! kCVZeroTime not bound
!missing-pinvoke! CVImageBufferCreateColorSpaceFromAttachments is not bound
!missing-pinvoke! CVPixelBufferRelease is not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCVPixelFormatContainsGrayscale not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCVPixelFormatContainsGrayscale not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCVPixelFormatContainsGrayscale not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCVPixelFormatContainsGrayscale not bound