-
Notifications
You must be signed in to change notification settings - Fork 548
CoreVideo iOS xcode26.0 rc
Alex Soto edited this page Sep 10, 2025
·
2 revisions
#CoreVideo.framework https://github.com/dotnet/macios/pull/23779
diff -ruN /Applications/Xcode_26.0.0-beta7.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode_26.0.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h
--- /Applications/Xcode_26.0.0-beta7.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2025-08-04 04:27:04
+++ /Applications/Xcode_26.0.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2025-08-03 00:20:39
@@ -248,9 +248,21 @@
Indicates that the transfer function or gamma of the content is a log format and identifies the specific log curve.
@discussion
The value is a CFString holding fully specified reverse DNS identifier.
- Content captured in Apple Log will have this key set to kCVImageBufferLogTransferFunction_AppleLog.
+ Log is a specific video format usually processed in a camera's ISP. A Log video format usually defines:
+ Scene-referred color primaries designed to preserve the chromaticity range captured by a camera sensor. In cinematography, "scene-referred" color primaries refers to a color space designed to accurately preserve the chromaticity and dynamic range directly captured by a camera sensor.
+ A specific gamma curve (or transfer characteristic) tailored to capturing the full dynamic range from the sensor. This gamma curve is usually shaped like a log curve (hence the name Log).
+ A set of matrix transforms to go from RGB to Y'CbCr (Y'CbCr being the most common format used to store the bits compressed into a file).
+ As described above, a Log video format defines a whole color space (even though the “log” part of the name comes only from the “transfer characteristic” or gamma curve)
+ Content captured in Apple Log will have this key set to kCVImageBufferLogTransferFunction_AppleLog or kCVImageBufferLogTransferFunction_AppleLog2.
@constant kCVImageBufferLogTransferFunction_AppleLog
Indicates the Apple Log identifier.
+ @constant kCVImageBufferLogTransferFunction_AppleLog2
+ Indicates the Apple Log 2 identifier.
+ To use Apple Log 2, set other color attachments as follows:
+ kCVImageBufferColorPrimariesKey = undefined or absent
+ kCVImageBufferTransferFunctionKey = undefined or absent
+ kCVImageBufferYCbCrMatrixKey = kCVImageBufferYCbCrMatrix_ITU_R_2020
+ https://developer.apple.com/download/all/?q=Apple%20log%20profile
@discussion
You can download the Apple Log Profile White Paper from the Apple Developer Downloads website.
*/
@@ -258,6 +270,7 @@
CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferLogTransferFunction_AppleLog API_AVAILABLE(macosx(14.2), ios(17.2), tvos(17.2), watchos(10.2), visionos(1.1));
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferLogTransferFunction_AppleLog2 API_AVAILABLE(macosx(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
/*!
@constant kCVImageBufferDisplayMaskRectangleKey