-
Notifications
You must be signed in to change notification settings - Fork 518
vImage iOS xcode13.0 beta1
Sebastien Pouliot edited this page Jun 7, 2021
·
1 revision
#vImage.framework
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h 2021-03-16 13:59:24.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h 2021-06-02 05:36:12.000000000 -0400
@@ -1491,6 +1491,31 @@
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_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h 2021-03-16 08:48:25.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h 2021-06-02 12:45:03.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 outut range.
+* range to a full 16-bit output range.
*
* @param bias This value is added to the sum of weighted pixels.
*
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h 2021-03-16 09:55:25.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h 2021-06-02 12:45:03.000000000 -0400
@@ -445,6 +445,45 @@
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(
@@ -473,6 +512,45 @@
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_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h 2021-03-16 08:48:24.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h 2021-06-02 12:48:00.000000000 -0400
@@ -20,7 +20,11 @@
#include <stdint.h>
#include <stddef.h>
#include <unistd.h>
-#include <os/availability.h>
+#if __has_include(<os/availability.h>)
+# include <os/availability.h>
+#else
+# define API_AVAILABLE(...) /* nothing */
+#endif // __has_include(<os/availability.h>)
/*!
* @define __has_attribute
@@ -92,7 +96,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)
+# elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && !defined(__linux__)
# define VIMAGE_ENUM_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
# else
# define VIMAGE_ENUM_AVAILABLE_STARTING(_osx, _ios)
@@ -271,6 +275,13 @@
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.
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status