- Notifications
You must be signed in to change notification settings - Fork 548
CoreImage iOS xcode26.0 b2
Rolf Bjarne Kvinge edited this page Aug 28, 2025 · 3 revisions
#CoreImage.framework https://github.com/dotnet/macios/pull/23702
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h --- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h 2025-05-24 07:16:18 +++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h 2025-06-15 19:00:11 @@ -208,6 +208,17 @@ /// CORE_IMAGE_EXPORT CIContextOption const kCIContextName NS_AVAILABLE(10_14,12_0); +/// A Core Video Metal texture cache object to improve the performance of Core Image context +/// renders that use Core Video pixel buffers. +/// +/// Creating a Core Image context with this optional `CVMetalTextureCache` can improve the +/// performance of creating a Metal texture from a `CVPixelBuffer`. It is recommended +/// to specify this option if the context renders to or from pixel buffers that come +/// from a `CVPixelBufferPool`. +/// +/// It is the client's responsibility to flush the cache when appropriate. +/// +CORE_IMAGE_EXPORT CIContextOption const kCIContextCVMetalTextureCache NS_AVAILABLE(16_0,19_0); #pragma mark - contextWithCGLContext @@ -728,10 +739,25 @@ /// /// The value for this key needs to be a monochrome ``CIImage`` instance. /// +/// If the ``kCIImageRepresentationHDRGainMapAsRGB`` option it true, then it needs to +/// be an RGB ``CIImage`` instance. +/// /// The ``/CIImage/properties`` should contain metadata information equivalent to what is returned when /// initializing an image using ``kCIImageAuxiliaryHDRGainMap``. /// CORE_IMAGE_EXPORT CIImageRepresentationOption const kCIImageRepresentationHDRGainMapImage NS_AVAILABLE(11_0, 14_1); + +/// An optional key and value to request the gain map channel to be color instead of monochrome. +/// +/// This key affects how the gain map image is calculated from the SDR receiver and +/// the ``kCIImageRepresentationHDRImage`` image value. +/// +/// The value for this is a Boolean where: +/// * True: the gain map is created as a color ratio between the HDR and SDR images. +/// * False: the gain map is created as a brightness ratio between the HDR and SDR images. +/// * Not specified: the default behavior False. +/// +CORE_IMAGE_EXPORT CIImageRepresentationOption const kCIImageRepresentationHDRGainMapAsRGB NS_AVAILABLE(15_0, 18_0); /* Render a CIImage to TIFF data. Image must have a finite non-empty extent. */ diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h --- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h 2025-05-24 01:38:12 +++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h 2025-06-15 20:22:17 @@ -1564,7 +1564,7 @@ @property (nonatomic) float correctionLevel; /// Aztec layers value between 1 and 32. Set to nil for automatic. @property (nonatomic) float layers; - /// Force a compact style Aztec code to @YES or @NO. Set to nil for automatic. + /// Force a compact style Aztec code to true or false. Set to nil for automatic. @property (nonatomic) float compactStyle; @end @@ -1687,11 +1687,11 @@ @property (nonatomic) float preferredAspectRatio; /// The compaction mode of the generated barcode. @property (nonatomic) float compactionMode; - /// Force a compact style Aztec code to @YES or @NO. Set to nil for automatic. + /// Force a compact style Aztec code to true or false. Set to nil for automatic. @property (nonatomic) float compactStyle; /// The correction level ratio of the generated barcode @property (nonatomic) float correctionLevel; - /// Force compaction style to @YES or @NO. Set to nil for automatic. + /// Force compaction style to true or false. Set to nil for automatic. @property (nonatomic) float alwaysSpecifyCompaction; @end diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h --- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h 2025-05-24 05:16:38 +++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h 2025-06-18 00:30:34 @@ -46,6 +46,7 @@ CORE_IMAGE_EXPORT const CIFormat kCIFormatARGB8 NS_AVAILABLE(10_4, 6_0); CORE_IMAGE_EXPORT const CIFormat kCIFormatBGRA8; CORE_IMAGE_EXPORT const CIFormat kCIFormatRGBA8; +CORE_IMAGE_EXPORT const CIFormat kCIFormatRGBX8; CORE_IMAGE_EXPORT const CIFormat kCIFormatABGR8 NS_AVAILABLE(10_11, 9_0); CORE_IMAGE_EXPORT const CIFormat kCIFormatRGBAh NS_AVAILABLE(10_4, 6_0); diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h --- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h 2025-05-24 07:16:18 +++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h 2025-06-15 19:15:34 @@ -137,7 +137,7 @@ CIRenderDestinationAlphaUnpremultiplied = 2 }; -// This property will defualt to an appropriate value given +// This property will default to an appropriate value given // the object that the CIRenderDestination was initialized with. // This property can be set to a different value if desired. @property CIRenderDestinationAlphaMode alphaMode; @@ -168,7 +168,7 @@ // This property is initialized to false if the destination's format supports extended range @property (getter=isClamped) BOOL clamped; -// This property will defualt to an appropriate value given +// This property will default to an appropriate value given // the object that the CIRenderDestination was initialized with. // This property can be set to a different colorSpace if desired. // This property can be set to nil to disable color matching diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes --- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes 2025-05-24 06:25:22 +++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes 2025-06-15 18:47:11 @@ -11,6 +11,8 @@ SwiftName: BGRA8 - Name: kCIFormatRGBA8 SwiftName: RGBA8 +- Name: kCIFormatRGBX8 + SwiftName: RGBX8 - Name: kCIFormatABGR8 SwiftName: ABGR8 - Name: kCIFormatRGBAh @@ -69,8 +71,6 @@ SwiftName: XRGB8 - Name: kCIFormatBGRX8 SwiftName: BGRX8 -- Name: kCIFormatRGBX8 - SwiftName: RGBX8 - Name: kCIFormatARGB16 SwiftName: ARGB16 - Name: kCIFormatARGBf @@ -159,6 +159,8 @@ # CIImageRepresentationOption - Name: kCIImageRepresentationHDRGainMapImage SwiftName: hdrGainMapImage +- Name: kCIImageRepresentationHDRGainMapAsRGB + SwiftName: hdrGainMapAsRGB # CIImageOptions - Private - Name: kCIImageFlipped @@ -656,6 +658,8 @@ SwiftName: kCIFormatBGRA8 - Name: kCIFormatRGBA8 SwiftName: kCIFormatRGBA8 + - Name: kCIFormatRGBX8 + SwiftName: kCIFormatRGBX8 - Name: kCIFormatABGR8 SwiftName: kCIFormatABGR8 - Name: kCIFormatRGBAh @@ -718,8 +722,6 @@ SwiftName: kCIFormatXRGB8 - Name: kCIFormatBGRX8 SwiftName: kCIFormatBGRX8 - - Name: kCIFormatRGBX8 - SwiftName: kCIFormatRGBX8 - Name: kCIFormatARGB16 SwiftName: kCIFormatARGB16 - Name: kCIFormatARGBf