Skip to content

vImage macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#vImage.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h	2021-08-06 23:45:34.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h	2021-08-03 21:52:29.000000000 -0400
@@ -1491,31 +1491,6 @@
                          vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
 API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0));
 
-/*!
- @function vImageBufferFill_CbCr16S
- 
- @abstract Fill the dest buffer with the pixel value.
- 
- @param color
- A pixel value to fill the destination buffer.
- 
- @param dest
- A pointer to a valid and initialized vImage_Buffer struct, that points to a buffer containing destination pixels.
- 
- @param flags
- \p kvImageNoFlags          Default operation
- \p kvImageDoNotTile        Disable internal multithreading.
- 
- @return kvImageNoError                     Success
- @return kvImageRoiLargerThanInputBuffer    The height and width of the destination must be less than or equal to the height and width of the src buffer, respectively.
- */
-VIMAGE_PF vImage_Error
-vImageBufferFill_CbCr16S(
-                         const vImage_Buffer *dest,
-                         const Pixel_16S16S color,
-                         vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
 
 /*!
  @function vImageOverwriteChannelsWithScalar_ARGB8888
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h	2021-08-09 03:26:26.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h	2021-08-03 21:52:30.000000000 -0400
@@ -3389,7 +3389,7 @@
 *  @param scale            This value is multiplied with the sum of weighted pixels, before the bias
 *                          is applied. For example, for normalized kernels, where the weights add to 1.0,
 *                          specifying a scale of 257 ( = 65535 / 255 ) would expand the 8-bit input
-*                          range to a full 16-bit output range.
+*                          range to a full 16-bit outut range.
 *
 *  @param bias             This value is added to the sum of weighted pixels.
 *
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h	2021-08-09 03:26:25.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h	2021-08-03 21:52:30.000000000 -0400
@@ -445,45 +445,6 @@
                               vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
 API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0));
 
-VIMAGE_PF vImage_Error
-vImageHorizontalShearD_CbCr16U(
-                              const vImage_Buffer *src,
-                              const vImage_Buffer *dest,
-                              vImagePixelCount srcOffsetToROI_X,
-                              vImagePixelCount srcOffsetToROI_Y,
-                              double xTranslate,
-                              double shearSlope,
-                              ResamplingFilter filter,
-                              const Pixel_16U16U backColor,
-                              vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
-VIMAGE_PF vImage_Error
-vImageHorizontalShear_CbCr16S(
-                              const vImage_Buffer *src,
-                              const vImage_Buffer *dest,
-                              vImagePixelCount srcOffsetToROI_X,
-                              vImagePixelCount srcOffsetToROI_Y,
-                              float xTranslate,
-                              float shearSlope,
-                              ResamplingFilter filter,
-                              const Pixel_16S16S backColor,
-                              vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
-VIMAGE_PF vImage_Error
-vImageHorizontalShearD_CbCr16S(
-                              const vImage_Buffer *src,
-                              const vImage_Buffer *dest,
-                              vImagePixelCount srcOffsetToROI_X,
-                              vImagePixelCount srcOffsetToROI_Y,
-                              double xTranslate,
-                              double shearSlope,
-                              ResamplingFilter filter,
-                              const Pixel_16S16S backColor,
-                              vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
 
 VIMAGE_PF vImage_Error
 vImageVerticalShear_CbCr8(
@@ -512,45 +473,6 @@
 API_AVAILABLE(macos(10.12), ios(10.0), watchos(3.0), tvos(10.0));
 
 VIMAGE_PF vImage_Error
-vImageVerticalShearD_CbCr16U(
-                            const vImage_Buffer *src,
-                            const vImage_Buffer *dest,
-                            vImagePixelCount srcOffsetToROI_X,
-                            vImagePixelCount srcOffsetToROI_Y,
-                            double yTranslate,
-                            double shearSlope,
-                            ResamplingFilter filter,
-                            const Pixel_16U16U backColor,
-                            vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
-VIMAGE_PF vImage_Error
-vImageVerticalShear_CbCr16S(
-                            const vImage_Buffer *src,
-                            const vImage_Buffer *dest,
-                            vImagePixelCount srcOffsetToROI_X,
-                            vImagePixelCount srcOffsetToROI_Y,
-                            float yTranslate,
-                            float shearSlope,
-                            ResamplingFilter filter,
-                            const Pixel_16S16S backColor,
-                            vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
-VIMAGE_PF vImage_Error
-vImageVerticalShearD_CbCr16S(
-                            const vImage_Buffer *src,
-                            const vImage_Buffer *dest,
-                            vImagePixelCount srcOffsetToROI_X,
-                            vImagePixelCount srcOffsetToROI_Y,
-                            double yTranslate,
-                            double shearSlope,
-                            ResamplingFilter filter,
-                            const Pixel_16S16S backColor,
-                            vImage_Flags flags ) VIMAGE_NON_NULL(1,2)
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
-
-VIMAGE_PF vImage_Error
 vImageHorizontalShear_XRGB2101010W(
                                    const vImage_Buffer *src,
                                    const vImage_Buffer *dest,
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h	2021-08-07 08:55:21.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h	2021-08-03 21:52:29.000000000 -0400
@@ -20,11 +20,7 @@
 #include <stdint.h>
 #include <stddef.h>
 #include <unistd.h>
-#if __has_include(<os/availability.h>)
-#    include <os/availability.h>
-#else
-#    define API_AVAILABLE(...) /* nothing */
-#endif // __has_include(<os/availability.h>)
+#include <os/availability.h>
 
 /*!
  *  @define     __has_attribute
@@ -96,7 +92,7 @@
 #if __has_extension(enumerator_attributes)
 #   ifdef __IPHONE_OS_VERSION_MIN_REQUIRED
 #       define VIMAGE_ENUM_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_ios
-#   elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && !defined(__linux__)
+#   elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
 #       define VIMAGE_ENUM_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
 #   else
 #       define VIMAGE_ENUM_AVAILABLE_STARTING(_osx, _ios)
@@ -275,13 +271,6 @@
 typedef uint16_t     Pixel_16U16U[2];	/* CbCr interleaved (16 bit/channel) pixel value. uint16_t[2] = { Cb, Cr } */
 
 /*!
- @typedef   Pixel_16S16S
- @abstract  A two channel, 16-bit per channel signed pixel.
- @discussion The channel order is generally given by the function that consumes the value.
- */
-typedef int16_t     Pixel_16S16S[2];    /* CbCr interleaved (16 bit/channel) signed pixel value. int16_t[2] = { Cb, Cr } */
-
-/*!
  @typedef   Pixel_32U
  @abstract  Type used for XRGB2101010 format.
  @discussion Typical range for RGB channels is [0,1023] meaning [0.0, 1.0], though most functions tolerate other ranges.
Clone this wiki locally