Skip to content

CoreImage iOS xcode14.0 beta1

Manuel de la Pena edited this page Sep 1, 2022 · 4 revisions

#CoreImage.framework https://github.com/xamarin/xamarin-macios/pull/15661

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h	2022-02-23 07:56:23.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h	2022-06-03 18:07:08.000000000 -0400
@@ -326,6 +332,7 @@
   @property (nonatomic, retain, nullable) CIImage *inputImage;
   @property (nonatomic) float cubeDimension;
   @property (nonatomic, retain) NSData *cubeData;
+  @property (nonatomic) bool extrapolate NS_AVAILABLE(13_0, 16_0);
 @end
 @protocol CIColorCubesMixedWithMask <CIFilter>
   @property (nonatomic, retain, nullable) CIImage *inputImage;
@@ -334,12 +341,14 @@
   @property (nonatomic, retain) NSData *cube0Data;
   @property (nonatomic, retain) NSData *cube1Data;
   @property (nonatomic, nullable) CGColorSpaceRef colorSpace;
+  @property (nonatomic) bool extrapolate NS_AVAILABLE(13_0, 16_0);
 @end
 @protocol CIColorCubeWithColorSpace <CIFilter>
   @property (nonatomic, retain, nullable) CIImage *inputImage;
   @property (nonatomic) float cubeDimension;
   @property (nonatomic, retain) NSData *cubeData;
   @property (nonatomic, nullable) CGColorSpaceRef colorSpace;
+  @property (nonatomic) bool extrapolate NS_AVAILABLE(13_0, 16_0);
 @end
 @protocol CIColorCurves <CIFilter>
   @property (nonatomic, retain, nullable) CIImage *inputImage;
@@ -363,6 +372,10 @@
   @property (nonatomic, retain, nullable) CIImage *inputImage;
   @property (nonatomic) float levels;
 @end
+@protocol CIConvertLab <CIFilter>
+  @property (nonatomic, retain, nullable) CIImage *inputImage;
+  @property (nonatomic) bool normalize;
+@end
 @protocol CIDither <CIFilter>
   @property (nonatomic, retain, nullable) CIImage *inputImage;
   @property (nonatomic) float intensity;
@@ -637,6 +650,7 @@
 @protocol CIAttributedTextImageGenerator <CIFilter>
   @property (nonatomic, retain) NSAttributedString *text;
   @property (nonatomic) float scaleFactor;
+  @property (nonatomic) float padding  NS_AVAILABLE(13_0, 16_0);
 @end
 @protocol CIAztecCodeGenerator <CIFilter>
   @property (nonatomic, retain) NSData *message;
@@ -730,6 +744,7 @@
   @property (nonatomic, retain) NSString *fontName;
   @property (nonatomic) float fontSize;
   @property (nonatomic) float scaleFactor;
+  @property (nonatomic) float padding  NS_AVAILABLE(13_0, 16_0);
 @end
 
 // CICategoryStylize
@@ -938,6 +953,12 @@
   @property (nonatomic) float scale;
   @property (nonatomic) NSInteger count;
 @end
+@protocol CIAreaLogarithmicHistogram <CIAreaReductionFilter>
+  @property (nonatomic) float scale;
+  @property (nonatomic) NSInteger count;
+  @property (nonatomic) float minimumStop;
+  @property (nonatomic) float maximumStop;
+@end
 @protocol CIAreaMaximum <CIAreaReductionFilter>
 @end
 @protocol CIAreaMaximumAlpha <CIAreaReductionFilter>
@@ -1077,6 +1098,8 @@
 + (CIFilter<CIColorMap>*) colorMapFilter;
 + (CIFilter<CIColorMonochrome>*) colorMonochromeFilter;
 + (CIFilter<CIColorPosterize>*) colorPosterizeFilter;
++ (CIFilter<CIConvertLab>*) convertLabToRGBFilter NS_AVAILABLE(13_0, 16_0);
++ (CIFilter<CIConvertLab>*) convertRGBtoLabFilter NS_AVAILABLE(13_0, 16_0);
 + (CIFilter<CIDither>*) ditherFilter;
 + (CIFilter<CIDocumentEnhancer>*) documentEnhancerFilter;
 + (CIFilter<CIFalseColor>*) falseColorFilter;
@@ -1210,6 +1233,7 @@
 // CICategoryReduction
 + (CIFilter<CIAreaAverage>*) areaAverageFilter NS_AVAILABLE(11_0, 14_0);
 + (CIFilter<CIAreaHistogram>*) areaHistogramFilter NS_AVAILABLE(11_0, 14_0);
++ (CIFilter<CIAreaLogarithmicHistogram>*) areaLogarithmicHistogramFilter NS_AVAILABLE(13_0, 16_0);
 + (CIFilter<CIAreaMaximum>*) areaMaximumFilter NS_AVAILABLE(11_0, 14_0);
 + (CIFilter<CIAreaMaximumAlpha>*) areaMaximumAlphaFilter NS_AVAILABLE(11_0, 14_0);
 + (CIFilter<CIAreaMinimum>*) areaMinimumFilter NS_AVAILABLE(11_0, 14_0);
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h	2022-02-23 07:10:06.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h	2022-05-31 14:52:15.000000000 -0400
@@ -483,6 +487,20 @@
 
 @end
 
+@interface CIImage (LabConversion)
+
+/* Converts the receiver from the Core Image RGB working space to La*b* space.
+ * The L channel in the range of 0...100 is stored in the the R channel of the resulting CIImage.
+ * The a*b* channels in the range of -128..128 are stored in the GB channels of the resulting CIImage.
+ * The A channel of the resulting CIImage is the same as the receiver's */
+-(CIImage*) imageByConvertingWorkingSpaceToLab NS_AVAILABLE(13_0,16_0);
+
+/* Converts an image from La*b* to the Core Image RGB working space.
+ * This is the inverse of imageByConvertingWorkingSpaceToLab. */
+-(CIImage*) imageByConvertingLabToWorkingSpace NS_AVAILABLE(13_0,16_0);
+
+@end
+
 @interface CIImage (AVDepthData)
 
 /* Returns a AVDepthData if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and.


diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h	2022-02-23 07:13:03.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h	2022-06-03 18:07:08.000000000 -0400
@@ -3,8 +3,13 @@
  Copyright (c) 2006 Apple, Inc.
  All rights reserved. */
 
+#ifndef CIRAWFILTER_H
+#define CIRAWFILTER_H
+
+#ifdef __OBJC__
 
 #import <CoreImage/CIFilter.h>
+#import <CoreImage/CIRAWFilter_Deprecated.h>
 #import <CoreImage/CoreImageDefines.h>
 #import <CoreVideo/CoreVideo.h>
 #import <ImageIO/CGImageProperties.h>
@@ -182,181 +187,6 @@
 
 NS_ASSUME_NONNULL_END
 
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-typedef NSString * CIRAWFilterOption NS_TYPED_ENUM;
-
-/** CIRAWFilter is a category of CIFilter which returns a CIFilter initialized with a RAW image. It allows the user to influence key aspects of the raw processing, such as white balance, exposure, sharpening or boost. */
-
-@interface CIFilter (CIRAWFilter)
-
-/** Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". */
-+ (CIFilter *)filterWithImageURL:(NSURL *)url options:(NSDictionary<CIRAWFilterOption, id> *)options API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED));
-
-/** Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".
-
- Note that when using this initializer, you should pass in a source type identifier hint (kCGImageSourceTypeIdentifierHint) key/value pair in order to help the decoder determine the file type, as otherwise confusion and incorrect results are possible. */
-+ (CIFilter *)filterWithImageData:(NSData *)data options:(NSDictionary<CIRAWFilterOption, id> *)options API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED));
-
-/** Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".
- 
- Note that when using this initializer, you should pass in a CVPixelBufferRef with one of the following Raw pixel format types
-    kCVPixelFormatType_14Bayer_GRBG, kCVPixelFormatType_14Bayer_RGGB, kCVPixelFormatType_14Bayer_BGGR, kCVPixelFormatType_14Bayer_GBRG
- as well as the root properties attachment from the CMSampleBufferRef. */
-+ (CIFilter *) filterWithCVPixelBuffer:(CVPixelBufferRef)pixelBuffer properties:(NSDictionary *)properties options:(NSDictionary<CIRAWFilterOption, id> *)options API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.12, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED));
-
-/** Returns a NSArray containing the names of all supported RAW cameras. */
-+ (NSArray<NSString*> *) supportedRawCameraModels API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED));
-
-/** NSNumber (BOOL) : Setting Draft Mode to YES can improve image decoding speed without minimal loss of quality.
-    The default value is NO. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputAllowDraftModeKey;
-
-/** NSString: Version string representing the decoder version to be used. A newly initialized object defaults to the newest available decoder version for the given image type. User can request an alternative, older version in order to maintain compatibility with older releases. Must be one of kCISupportedDecoderVersions (below), otherwise a nil output image will be generated. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputDecoderVersionKey;
-
-/** NSArray : Array of all supported decoder versions for the given image type, sorted in increasingly newer order. Each entry is a NSString. All entries would represent a valid version identifier to be passed in for kCIInputDecoderVersion. This value can be only read; setting this value will raise an exception.*/
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCISupportedDecoderVersionsKey;
-
-
-
-/** @const      kCIInputEVKey
- NSNumber (float) : Exposure adjustment, default = 0.0. Declared in CIFilter.h */
-
-/** @const      kCIInputBiasKey
- NSNumber (float) : Exposure bias adjustment, default = 0.0. Declared in CIFilter.h */
-
-/** NSNumber (float) : A value controlling the amount of baseline exposure applied to the image.
- A value of 0 indicates no baseline exposure, i.e. linear response. Default varies from with camera settings. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.12, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputBaselineExposureKey;
-
-/** NSNumber (float) : A value in the range of 0...1, controlling the amount of boost applied to the image.
-    A value of 0 indicates no boost, i.e. linear response. Default is 1, full boost. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputBoostKey;
-
-/** NSNumber (float) : The amount to boost the shadow areas of the image. Can be used to lighten details in shadows. 
-    Has no effect if the image used for initialization was not RAW. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputBoostShadowAmountKey;
-
-/** NSNumber (BOOL) : Setting DisableGamutMap to YES disables gamut mapping.
-    The default value is NO. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.12, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputDisableGamutMapKey;
-
-/** NSNumber (float): The X value of the chromaticity. You can always query this value and you'll get the current X value for neutral X,Y. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralChromaticityXKey;
-
-/** NSNumber (float): The Y value of the chromaticity. You can always query this value and you'll get the current Y value for neutral X,Y. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralChromaticityYKey;
-
-/** NSNumber (float) : The color temperature to be considered neutral. You can always query this value and you'll get the current value for temperature. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralTemperatureKey;
-
-/** NSNumber (float) : The tint to be considered neutral. You can always query this value and you'll get the current value for tint. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralTintKey;
-
-/** CIVector : (x, y) location in geometric coordinates of the unrotated output image that should be used as neutral. 
-    You can't query this value - it's undefined for reading. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralLocationKey;
-
-/** NSNumber (float) : The desired scale factor at which the image will be eventually drawn. Setting this value can greatly improve the drawing performance. A value of 1 would mean identity, values smaller than 1 will result in a smaller output image. Changing the Scale Factor with enabled Draft Mode may also improve performance. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputScaleFactorKey;
-
-
-
-
-/** NSNumber (BOOL) : Normally, an image is loaded in its proper orientation, given the associated metadata gives an indication about the orientation. For special purposes it may be useful to load the image in its physical orientation. The exact meaning of this is dependent on the image in question. The default value is NO. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputIgnoreImageOrientationKey;
-
-
-/** NSNumber (int) : Overriding this value allows the user to change the orientation of the image. The valid values are in range 1...8 and follow the EXIF specification. Changing this value makes for instance rotation in 90-degree increments easy. The value is disregarded when the kCIInputIgnoreImageOrientationKey flag is set.
- */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputImageOrientationKey;
-
-
-
-/** NSNumber (BOOL) : Determines if the default sharpening should be on. default = YES. Has no effect if the image used for initialization was not RAW. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableSharpeningKey;
-
-/** NSNumber (BOOL) : Determines if progressive chromatic noise tracking (based on ISO and exposure time) should be used. default = YES. Has no effect if the image used for initialization was not RAW. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableChromaticNoiseTrackingKey;
-
-/** NSNumber (double) : The amount of noise reduction applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.7, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionAmountKey;
-
-/** NSNumber (double) : The amount of moire reduction applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.13, API_TO_BE_DEPRECATED), ios(11.0, API_TO_BE_DEPRECATED), tvos(11.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputMoireAmountKey;
-
-/** NSNumber (BOOL) : Determines if the default vendor lens correction be on. default = YES if raw image used for initialization contains lens distortion parameters. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableVendorLensCorrectionKey;
-
-/** NSNumber (double) : The amount of luminance noise reduction applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputLuminanceNoiseReductionAmountKey;
-
-/** NSNumber (double) : The amount of color noise reduction applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputColorNoiseReductionAmountKey;
-
-/** NSNumber (double) : The amount of noise reduction sharpness applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionSharpnessAmountKey;
-
-/** NSNumber (double) : The amount of noise reduction contrast applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionContrastAmountKey;
-
-/** NSNumber (double) : The amount of noise reduction detail applied. Range is 0 to 1. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionDetailAmountKey;
-
-
-/** NSNumber (BOOL) : Allows the output to have an Extended Dynamic Range with values greater than 1 possible */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.14, API_TO_BE_DEPRECATED), ios(12.0, API_TO_BE_DEPRECATED), tvos(12.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableEDRModeKey;
-
-
-/** NSNumber (double): The amount of the local tone map. Range is 0 to 1. Default is 1  */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(11.1, API_TO_BE_DEPRECATED), ios(14.3, API_TO_BE_DEPRECATED), tvos(14.3, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputLocalToneMapAmountKey;
-
-
-/** CIFilter (id) : CIFilter to be applied to the RAW image while it is in linear space. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.7, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputLinearSpaceFilter;
-
-/** CIVector containing the full native size of the unscaled image. The vector's X value is the width, Y is the height. 
-    This is not affected by changing either kCIInputIgnoreImageOrientationKey or kCIInputImageOrientationKey. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIOutputNativeSizeKey;
-
-/** Read-only NSSet containing a list of keys that affect the output image. 
-    Depending on the RAW decoder version (kCIInputDecoderVersionKey) and the input image type, 
-    some input keys might have no effect. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.7, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIActiveKeys;
-
-/** Read-only NSDictionary containing properties for the output image. */
-API_DEPRECATED("Use new CIRAWFilter class instead.", macos(12.0, API_TO_BE_DEPRECATED), ios(15.0, API_TO_BE_DEPRECATED), tvos(15.0, API_TO_BE_DEPRECATED))
-CORE_IMAGE_EXPORT CIRAWFilterOption const kCIPropertiesKey;
-
-@end
+#endif /* __OBJC__ */
 
+#endif /* CIRAWFILTER_H */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter_Deprecated.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter_Deprecated.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter_Deprecated.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter_Deprecated.h	2022-05-31 14:49:45.000000000 -0400
@@ -0,0 +1,195 @@
+/* CoreImage - CIRAWFilter_Deprecated.h
+ 
+ Copyright (c) 2022 Apple, Inc.
+ All rights reserved. */
+
+#ifndef CIRAWFILTER_DEPRECATED_H
+#define CIRAWFILTER_DEPRECATED_H
+
+#ifdef __OBJC__
+
+#import <CoreImage/CIFilter.h>
+#import <CoreImage/CoreImageDefines.h>
+#import <CoreVideo/CoreVideo.h>
+
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+typedef NSString * CIRAWFilterOption NS_TYPED_ENUM;
+
+/** CIRAWFilter is a category of CIFilter which returns a CIFilter initialized with a RAW image. It allows the user to influence key aspects of the raw processing, such as white balance, exposure, sharpening or boost. */
+
+@interface CIFilter (CIRAWFilter)
+
+/** Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". */
++ (CIFilter *)filterWithImageURL:(NSURL *)url options:(NSDictionary<CIRAWFilterOption, id> *)options API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED));
+
+/** Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".
+
+ Note that when using this initializer, you should pass in a source type identifier hint (kCGImageSourceTypeIdentifierHint) key/value pair in order to help the decoder determine the file type, as otherwise confusion and incorrect results are possible. */
++ (CIFilter *)filterWithImageData:(NSData *)data options:(NSDictionary<CIRAWFilterOption, id> *)options API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED));
+
+/** Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".
+ 
+ Note that when using this initializer, you should pass in a CVPixelBufferRef with one of the following Raw pixel format types
+    kCVPixelFormatType_14Bayer_GRBG, kCVPixelFormatType_14Bayer_RGGB, kCVPixelFormatType_14Bayer_BGGR, kCVPixelFormatType_14Bayer_GBRG
+ as well as the root properties attachment from the CMSampleBufferRef. */
++ (CIFilter *) filterWithCVPixelBuffer:(CVPixelBufferRef)pixelBuffer properties:(NSDictionary *)properties options:(NSDictionary<CIRAWFilterOption, id> *)options API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.12, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED));
+
+/** Returns a NSArray containing the names of all supported RAW cameras. */
++ (NSArray<NSString*> *) supportedRawCameraModels API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.15, API_TO_BE_DEPRECATED), ios(13.0, API_TO_BE_DEPRECATED), tvos(13.0, API_TO_BE_DEPRECATED));
+
+/** NSNumber (BOOL) : Setting Draft Mode to YES can improve image decoding speed without minimal loss of quality.
+    The default value is NO. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputAllowDraftModeKey;
+
+/** NSString: Version string representing the decoder version to be used. A newly initialized object defaults to the newest available decoder version for the given image type. User can request an alternative, older version in order to maintain compatibility with older releases. Must be one of kCISupportedDecoderVersions (below), otherwise a nil output image will be generated. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputDecoderVersionKey;
+
+/** NSArray : Array of all supported decoder versions for the given image type, sorted in increasingly newer order. Each entry is a NSString. All entries would represent a valid version identifier to be passed in for kCIInputDecoderVersion. This value can be only read; setting this value will raise an exception.*/
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCISupportedDecoderVersionsKey;
+
+
+
+/** @const      kCIInputEVKey
+ NSNumber (float) : Exposure adjustment, default = 0.0. Declared in CIFilter.h */
+
+/** @const      kCIInputBiasKey
+ NSNumber (float) : Exposure bias adjustment, default = 0.0. Declared in CIFilter.h */
+
+/** NSNumber (float) : A value controlling the amount of baseline exposure applied to the image.
+ A value of 0 indicates no baseline exposure, i.e. linear response. Default varies from with camera settings. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.12, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputBaselineExposureKey;
+
+/** NSNumber (float) : A value in the range of 0...1, controlling the amount of boost applied to the image.
+    A value of 0 indicates no boost, i.e. linear response. Default is 1, full boost. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputBoostKey;
+
+/** NSNumber (float) : The amount to boost the shadow areas of the image. Can be used to lighten details in shadows. 
+    Has no effect if the image used for initialization was not RAW. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputBoostShadowAmountKey;
+
+/** NSNumber (BOOL) : Setting DisableGamutMap to YES disables gamut mapping.
+    The default value is NO. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.12, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputDisableGamutMapKey;
+
+/** NSNumber (float): The X value of the chromaticity. You can always query this value and you'll get the current X value for neutral X,Y. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralChromaticityXKey;
+
+/** NSNumber (float): The Y value of the chromaticity. You can always query this value and you'll get the current Y value for neutral X,Y. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralChromaticityYKey;
+
+/** NSNumber (float) : The color temperature to be considered neutral. You can always query this value and you'll get the current value for temperature. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralTemperatureKey;
+
+/** NSNumber (float) : The tint to be considered neutral. You can always query this value and you'll get the current value for tint. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralTintKey;
+
+/** CIVector : (x, y) location in geometric coordinates of the unrotated output image that should be used as neutral. 
+    You can't query this value - it's undefined for reading. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNeutralLocationKey;
+
+/** NSNumber (float) : The desired scale factor at which the image will be eventually drawn. Setting this value can greatly improve the drawing performance. A value of 1 would mean identity, values smaller than 1 will result in a smaller output image. Changing the Scale Factor with enabled Draft Mode may also improve performance. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputScaleFactorKey;
+
+
+
+
+/** NSNumber (BOOL) : Normally, an image is loaded in its proper orientation, given the associated metadata gives an indication about the orientation. For special purposes it may be useful to load the image in its physical orientation. The exact meaning of this is dependent on the image in question. The default value is NO. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputIgnoreImageOrientationKey;
+
+
+/** NSNumber (int) : Overriding this value allows the user to change the orientation of the image. The valid values are in range 1...8 and follow the EXIF specification. Changing this value makes for instance rotation in 90-degree increments easy. The value is disregarded when the kCIInputIgnoreImageOrientationKey flag is set.
+ */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputImageOrientationKey;
+
+
+
+/** NSNumber (BOOL) : Determines if the default sharpening should be on. default = YES. Has no effect if the image used for initialization was not RAW. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableSharpeningKey;
+
+/** NSNumber (BOOL) : Determines if progressive chromatic noise tracking (based on ISO and exposure time) should be used. default = YES. Has no effect if the image used for initialization was not RAW. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableChromaticNoiseTrackingKey;
+
+/** NSNumber (double) : The amount of noise reduction applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.7, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionAmountKey;
+
+/** NSNumber (double) : The amount of moire reduction applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.13, API_TO_BE_DEPRECATED), ios(11.0, API_TO_BE_DEPRECATED), tvos(11.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputMoireAmountKey;
+
+/** NSNumber (BOOL) : Determines if the default vendor lens correction be on. default = YES if raw image used for initialization contains lens distortion parameters. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableVendorLensCorrectionKey;
+
+/** NSNumber (double) : The amount of luminance noise reduction applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputLuminanceNoiseReductionAmountKey;
+
+/** NSNumber (double) : The amount of color noise reduction applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputColorNoiseReductionAmountKey;
+
+/** NSNumber (double) : The amount of noise reduction sharpness applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionSharpnessAmountKey;
+
+/** NSNumber (double) : The amount of noise reduction contrast applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionContrastAmountKey;
+
+/** NSNumber (double) : The amount of noise reduction detail applied. Range is 0 to 1. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.10, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputNoiseReductionDetailAmountKey;
+
+
+/** NSNumber (BOOL) : Allows the output to have an Extended Dynamic Range with values greater than 1 possible */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.14, API_TO_BE_DEPRECATED), ios(12.0, API_TO_BE_DEPRECATED), tvos(12.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputEnableEDRModeKey;
+
+
+/** NSNumber (double): The amount of the local tone map. Range is 0 to 1. Default is 1  */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(11.1, API_TO_BE_DEPRECATED), ios(14.3, API_TO_BE_DEPRECATED), tvos(14.3, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputLocalToneMapAmountKey;
+
+
+/** CIFilter (id) : CIFilter to be applied to the RAW image while it is in linear space. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.7, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIInputLinearSpaceFilter;
+
+/** CIVector containing the full native size of the unscaled image. The vector's X value is the width, Y is the height. 
+    This is not affected by changing either kCIInputIgnoreImageOrientationKey or kCIInputImageOrientationKey. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.5, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIOutputNativeSizeKey;
+
+/** Read-only NSSet containing a list of keys that affect the output image. 
+    Depending on the RAW decoder version (kCIInputDecoderVersionKey) and the input image type, 
+    some input keys might have no effect. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(10.7, API_TO_BE_DEPRECATED), ios(10.0, API_TO_BE_DEPRECATED), tvos(10.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIActiveKeys;
+
+/** Read-only NSDictionary containing properties for the output image. */
+API_DEPRECATED("Use new CIRAWFilter class instead.", macos(12.0, API_TO_BE_DEPRECATED), ios(15.0, API_TO_BE_DEPRECATED), tvos(15.0, API_TO_BE_DEPRECATED))
+CORE_IMAGE_EXPORT CIRAWFilterOption const kCIPropertiesKey;
+
+@end
+
+#endif /* __OBJC__ */
+
+#endif /* CIRAWFILTER_DEPRECATED_H */
Clone this wiki locally