peachsim 0.1.2306 → 0.1.2364

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (917) hide show
  1. package/README.md +5 -0
  2. package/cli/cdp.ts +81 -0
  3. package/cli/cloud-box-artifact.ts +6 -1
  4. package/cli/cloud-client.ts +19 -0
  5. package/cli/command-registry.ts +1 -0
  6. package/cli/commands/box/bundle-plane.ts +28 -4
  7. package/cli/commands/box.ts +13 -8
  8. package/cli/commands/canvas.ts +752 -0
  9. package/cli/commands/cleanup.ts +2 -0
  10. package/cli/commands/control.ts +22 -6
  11. package/cli/commands/cpu-profile.ts +1 -80
  12. package/cli/commands/debug.ts +73 -5
  13. package/cli/commands/flow.ts +1 -1
  14. package/cli/commands/inspect/actions.ts +3 -1
  15. package/cli/commands/inspect/core.ts +18 -5
  16. package/cli/commands/inspect/settling.ts +20 -19
  17. package/cli/commands/inspect.ts +24 -14
  18. package/cli/commands/map.ts +31 -8
  19. package/cli/commands/platform.ts +89 -7
  20. package/cli/commands/serve.ts +66 -4
  21. package/cli/commands/shell-url.ts +25 -5
  22. package/cli/commands/task-trace.ts +234 -0
  23. package/cli/dev-build-freshness.ts +151 -49
  24. package/cli/drivers/linux-cocoapods.lock.json +303 -0
  25. package/cli/drivers/linux-cocoapods.ts +99 -0
  26. package/cli/drivers/playwright.ts +1 -5
  27. package/cli/internal-child-contract.ts +1 -0
  28. package/cli/internal-child.ts +6 -0
  29. package/cli/main.ts +6 -0
  30. package/cli/outbound-endpoints.ts +35 -2
  31. package/cli/output-redaction.ts +1 -1
  32. package/cli/remote-metro.ts +109 -0
  33. package/cli/task-trace.ts +166 -0
  34. package/cli/taskTraceContract.ts +53 -0
  35. package/cli/ws-bridge.ts +11 -4
  36. package/detox/gestures.ts +4 -4
  37. package/detox/index.ts +10 -3
  38. package/dist-lib/agent-daemon-client.cjs +1 -1
  39. package/dist-lib/agent-events.cjs +1 -1
  40. package/dist-lib/attached-projects.cjs +1 -1
  41. package/dist-lib/auth/shared-session.cjs +1 -1
  42. package/dist-lib/backend-origin.cjs +1 -1
  43. package/dist-lib/beta.cjs +1 -1
  44. package/dist-lib/beta.mjs +1 -1
  45. package/dist-lib/bridge-constants.cjs +1 -1
  46. package/dist-lib/bridge-contract-input.cjs +1 -1
  47. package/dist-lib/bridge-contract-input.mjs +1 -1
  48. package/dist-lib/bridge-contract.cjs +1 -1
  49. package/dist-lib/bridge-contract.mjs +1 -1
  50. package/dist-lib/bundle-channel.cjs +15093 -9243
  51. package/dist-lib/capture-contract.cjs +1 -1
  52. package/dist-lib/capture-contract.mjs +1 -1
  53. package/dist-lib/cloud-contract.cjs +1 -1
  54. package/dist-lib/cloud-contract.mjs +1 -1
  55. package/dist-lib/cloud-test-args.cjs +1 -1
  56. package/dist-lib/cloud-test-args.mjs +1 -1
  57. package/dist-lib/cloud.cjs +1 -1
  58. package/dist-lib/cloud.mjs +1 -1
  59. package/dist-lib/config.cjs +2 -2
  60. package/dist-lib/config.mjs +2 -2
  61. package/dist-lib/detox/index.cjs +79 -55
  62. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  63. package/dist-lib/expo-swift-bundle.cjs +12391 -7202
  64. package/dist-lib/expo-swift-metadata.cjs +3 -1
  65. package/dist-lib/expo-swift-metadata.mjs +3 -1
  66. package/dist-lib/home-paths.cjs +1 -1
  67. package/dist-lib/host/bridge-host.cjs +12498 -8638
  68. package/dist-lib/host/fetch-proxy-handler.cjs +431 -206
  69. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  70. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  71. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  72. package/dist-lib/host/websocket-proxy.cjs +17 -3
  73. package/dist-lib/index.cjs +2187 -805
  74. package/dist-lib/jump-to-source-babel.cjs +1 -1
  75. package/dist-lib/jump-to-source-native.cjs +1 -1
  76. package/dist-lib/kotlin-host.cjs +14 -12
  77. package/dist-lib/menu.cjs +1 -1
  78. package/dist-lib/menu.mjs +1 -1
  79. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  80. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  81. package/dist-lib/metro-production-bundle.cjs +1 -1
  82. package/dist-lib/metro-production-bundle.mjs +1 -1
  83. package/dist-lib/metro.cjs +2176 -791
  84. package/dist-lib/native-app-identity-project.cjs +1372 -336
  85. package/dist-lib/native-app-identity-project.mjs +1480 -437
  86. package/dist-lib/native-app-identity.cjs +11 -1
  87. package/dist-lib/native-app-identity.mjs +11 -1
  88. package/dist-lib/native-firebase-metadata.cjs +1 -1
  89. package/dist-lib/native-firebase-metadata.mjs +1 -1
  90. package/dist-lib/pdfium-raster.cjs +1 -1
  91. package/dist-lib/pdfium-raster.mjs +1 -1
  92. package/dist-lib/plist.cjs +1 -1
  93. package/dist-lib/plist.mjs +1 -1
  94. package/dist-lib/profiles.cjs +1 -1
  95. package/dist-lib/public-brand.cjs +1 -1
  96. package/dist-lib/public-origins-lib-esm.json +33 -26
  97. package/dist-lib/public-origins-lib.json +219 -124
  98. package/dist-lib/react-native-host-modules.cjs +26 -2
  99. package/dist-lib/react-native-host-modules.mjs +24 -2
  100. package/dist-lib/reap-browser.cjs +2 -2
  101. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  102. package/dist-lib/sdk.cjs +42 -28
  103. package/dist-lib/sdk.mjs +42 -28
  104. package/dist-lib/skills.cjs +13911 -9671
  105. package/dist-lib/swift-compile.cjs +2066 -1691
  106. package/dist-lib/swift-compile.mjs +1942 -1566
  107. package/dist-lib/swift-package.cjs +18 -10
  108. package/dist-lib/swift-package.mjs +18 -10
  109. package/dist-lib/swift-submit.cjs +2 -2
  110. package/dist-lib/swift-submit.mjs +2 -2
  111. package/dist-lib/swift-toolchain.cjs +20 -1
  112. package/dist-lib/swift.cjs +1 -1
  113. package/dist-lib/vite-swift.cjs +5344 -3572
  114. package/dist-lib/vite.cjs +2890 -2523
  115. package/dist-lib/worklet-executable.cjs +36 -10
  116. package/dist-lib/worklet-executable.mjs +36 -10
  117. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +2 -1
  118. package/dist-types/packages/peach-engine/src/cli-companion.d.ts +0 -1
  119. package/dist-types/packages/peach-engine/src/engine/android-stretch-effect.d.ts +0 -8
  120. package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +3 -0
  121. package/dist-types/packages/peach-engine/src/engine/animated.d.ts +2 -0
  122. package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +2 -0
  123. package/dist-types/packages/peach-engine/src/engine/audioContract.d.ts +14 -0
  124. package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +7 -4
  125. package/dist-types/packages/peach-engine/src/engine/core-layout-program.d.ts +19 -0
  126. package/dist-types/packages/peach-engine/src/engine/core-layout-transition.d.ts +31 -0
  127. package/dist-types/packages/peach-engine/src/engine/debug-channels.d.ts +86 -0
  128. package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +1 -0
  129. package/dist-types/packages/peach-engine/src/engine/generated/node-kind-contract.d.ts +3 -0
  130. package/dist-types/packages/peach-engine/src/engine/glass-material.d.ts +3 -2
  131. package/dist-types/packages/peach-engine/src/engine/host-composite.d.ts +1 -1
  132. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +5 -2
  133. package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +0 -1
  134. package/dist-types/packages/peach-engine/src/engine/layout-animation-owner.d.ts +60 -0
  135. package/dist-types/packages/peach-engine/src/engine/liquid-glass-rect.d.ts +1 -0
  136. package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +8 -8
  137. package/dist-types/packages/peach-engine/src/engine/lottie-runtime.d.ts +4 -6
  138. package/dist-types/packages/peach-engine/src/engine/lottie-types.d.ts +14 -28
  139. package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +5 -0
  140. package/dist-types/packages/peach-engine/src/engine/native-animation-graph.d.ts +8 -10
  141. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +8 -1
  142. package/dist-types/packages/peach-engine/src/engine/native-node-drive.d.ts +7 -0
  143. package/dist-types/packages/peach-engine/src/engine/native-node-geometry.d.ts +34 -0
  144. package/dist-types/packages/peach-engine/src/engine/native-node-record.d.ts +62 -0
  145. package/dist-types/packages/peach-engine/src/engine/native-node-style-input.d.ts +6 -0
  146. package/dist-types/packages/peach-engine/src/engine/native-paint.d.ts +95 -0
  147. package/dist-types/packages/peach-engine/src/engine/{scroll-range.d.ts → native-scroll-geometry.d.ts} +5 -0
  148. package/dist-types/packages/peach-engine/src/engine/{scroll-platform.d.ts → native-scroll-personality.d.ts} +58 -72
  149. package/dist-types/packages/peach-engine/src/engine/native-scroll-tracker.d.ts +40 -0
  150. package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +161 -0
  151. package/dist-types/packages/peach-engine/src/engine/native-text-style.d.ts +56 -0
  152. package/dist-types/packages/peach-engine/src/engine/native-trace.d.ts +18 -0
  153. package/dist-types/packages/peach-engine/src/engine/nativePaintContract.d.ts +68 -0
  154. package/dist-types/packages/peach-engine/src/engine/node.d.ts +53 -112
  155. package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -2
  156. package/dist-types/packages/peach-engine/src/engine/portals.d.ts +20 -0
  157. package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +1 -0
  158. package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +2 -9
  159. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +201 -66
  160. package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +10 -3
  161. package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +5 -11
  162. package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +8 -1
  163. package/dist-types/packages/peach-engine/src/engine/style-schema.d.ts +296 -0
  164. package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +1 -0
  165. package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +2 -2
  166. package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +1 -1
  167. package/dist-types/packages/peach-engine/src/engine/text-paint-receipt.d.ts +2 -3
  168. package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +4 -1
  169. package/dist-types/packages/peach-engine/src/engine/types.d.ts +18 -26
  170. package/dist-types/packages/peach-engine/src/engine/visible-frame.d.ts +1 -2
  171. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +4 -2
  172. package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +40 -2
  173. package/dist-types/packages/peach-engine/src/ios/aux-home-scene.d.ts +1 -1
  174. package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -0
  175. package/dist-types/packages/peach-engine/src/observability/types.d.ts +1 -0
  176. package/dist-types/packages/peach-engine/src/permissions/system-permission-types.d.ts +2 -3
  177. package/dist-types/packages/peach-engine/src/platform/android-back-panel.d.ts +15 -55
  178. package/dist-types/packages/peach-engine/src/platform/personality.d.ts +110 -48
  179. package/dist-types/packages/peach-engine/src/react-native/gesture-touch-metadata.d.ts +14 -0
  180. package/dist-types/packages/peach-engine/src/react-native/layout-animation.d.ts +1 -0
  181. package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +1 -0
  182. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +9 -3
  183. package/dist-types/packages/peach-engine/src/render-worker/accessibilityHostContract.d.ts +65 -0
  184. package/dist-types/packages/peach-engine/src/render-worker/aux-surface-types.d.ts +33 -1
  185. package/dist-types/packages/peach-engine/src/render-worker/canvaskit-worker-init.d.ts +1 -1
  186. package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts +10 -0
  187. package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +5 -1
  188. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +81 -9
  189. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-claims.d.ts +116 -0
  190. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-fields.d.ts +57 -0
  191. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-tree.d.ts +100 -0
  192. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-frame-layers.d.ts +42 -0
  193. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-layers.d.ts +49 -0
  194. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/render-tree.d.ts +1 -0
  195. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/transition-program.d.ts +65 -0
  196. package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +17 -7
  197. package/dist-types/packages/peach-engine/src/render-worker/gesture-seam-protocol.d.ts +8 -1
  198. package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +1 -0
  199. package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
  200. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +32 -2
  201. package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +35 -3
  202. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +27 -3
  203. package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +4 -3
  204. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +14 -12
  205. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +23 -3
  206. package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -2
  207. package/dist-types/packages/peach-engine/src/render-worker/text-inputContract.d.ts +6 -0
  208. package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +9 -0
  209. package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +7 -2
  210. package/dist-types/packages/peach-engine/src/render-worker/webview-capture-protocol.d.ts +1 -1
  211. package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +4 -6
  212. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +8 -13
  213. package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +9 -24
  214. package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +1 -0
  215. package/dist-types/packages/peach-engine/src/settings/devices.d.ts +3 -0
  216. package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +1 -0
  217. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +33 -1
  218. package/dist-types/packages/peach-globals/src/imagePickerBridgeContract.d.ts +0 -1
  219. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  220. package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +7 -0
  221. package/dist-types/packages/peach-globals/src/nativeSurfaceContract.d.ts +1 -0
  222. package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -0
  223. package/dist-types/packages/peach-globals/src/performanceBridgeContract.d.ts +3 -1
  224. package/dist-types/packages/peach-globals/src/secure-item-store.d.ts +2 -1
  225. package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +11 -0
  226. package/dist-types/packages/peach-globals/src/timelineBridgeContract.d.ts +2 -1
  227. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +65 -0
  228. package/dist-types/packages/peach-kit/src/capabilities.d.ts +24 -1
  229. package/dist-types/packages/peach-kit/src/internal.d.ts +2 -1
  230. package/dist-types/packages/peach-kit/src/runtime.d.ts +2 -2
  231. package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +29 -4
  232. package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
  233. package/dist-types/packages/peach-kit/src/ui/{popover-placement.d.ts → native-popover.d.ts} +13 -8
  234. package/dist-types/packages/peach-kit/src/ui/native-tab-selection.d.ts +39 -0
  235. package/dist-types/packages/peach-kit/src/ui/presentationContract.d.ts +21 -0
  236. package/dist-types/packages/peach-kit/src/ui/swift-layout-contract.d.ts +33 -0
  237. package/java-platform/licenses/android.txt +4 -0
  238. package/java-platform/licenses/jzlib.txt +28 -0
  239. package/java-platform/licenses/openjdk.txt +11 -2
  240. package/kotlin/README.md +5 -2
  241. package/kotlin/fork/NOTICE +7 -1
  242. package/kotlin/sdk.tar.gz +0 -0
  243. package/kotlin/toolchain.json +9 -9
  244. package/node-runtime.d.json.ts +4 -0
  245. package/node-runtime.json +1 -0
  246. package/package.json +4 -1
  247. package/runtime-companion.json +1 -1
  248. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h +109 -0
  249. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABGroup.h +41 -0
  250. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABMultiValue.h +56 -0
  251. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABPerson.h +208 -0
  252. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABRecord.h +60 -0
  253. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABSource.h +49 -0
  254. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBook.h +53 -0
  255. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBookDefines.h +24 -0
  256. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Modules/module.modulemap +5 -0
  257. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap +13 -0
  258. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.apinotes +95 -0
  259. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h +90 -0
  260. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLAllComputeDevices.h +30 -0
  261. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLArrayBatchProvider.h +33 -0
  262. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLBatchProvider.h +28 -0
  263. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCPUComputeDevice.h +23 -0
  264. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputeDeviceProtocol.h +26 -0
  265. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlan.h +106 -0
  266. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanCost.h +29 -0
  267. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanDeviceUsage.h +29 -0
  268. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomLayer.h +79 -0
  269. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomModel.h +53 -0
  270. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryConstraint.h +29 -0
  271. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryFeatureProvider.h +39 -0
  272. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLExport.h +13 -0
  273. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureDescription.h +66 -0
  274. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h +27 -0
  275. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureType.h +44 -0
  276. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue+MLImageConversion.h +96 -0
  277. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue.h +92 -0
  278. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLGPUComputeDevice.h +28 -0
  279. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageConstraint.h +40 -0
  280. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSize.h +22 -0
  281. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraint.h +30 -0
  282. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraintType.h +19 -0
  283. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLKey.h +35 -0
  284. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMetricKey.h +37 -0
  285. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLComputeDevice.h +30 -0
  286. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLModelCompilation.h +62 -0
  287. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLState.h +106 -0
  288. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h +130 -0
  289. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelAsset.h +121 -0
  290. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h +70 -0
  291. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h +72 -0
  292. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h +97 -0
  293. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelDescription.h +83 -0
  294. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelError.h +114 -0
  295. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelMetadataKeys.h +31 -0
  296. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h +70 -0
  297. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h +31 -0
  298. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h +35 -0
  299. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h +31 -0
  300. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h +31 -0
  301. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h +31 -0
  302. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h +36 -0
  303. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h +36 -0
  304. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h +34 -0
  305. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h +33 -0
  306. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h +38 -0
  307. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h +26 -0
  308. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h +26 -0
  309. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArray.h +316 -0
  310. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayConstraint.h +34 -0
  311. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraint.h +28 -0
  312. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraintType.h +19 -0
  313. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNeuralEngineComputeDevice.h +26 -0
  314. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNumericConstraint.h +31 -0
  315. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h +45 -0
  316. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterDescription.h +33 -0
  317. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterKey.h +85 -0
  318. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLPredictionOptions.h +94 -0
  319. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h +18 -0
  320. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequence.h +38 -0
  321. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequenceConstraint.h +30 -0
  322. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSpecializationStrategy.h +17 -0
  323. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLState.h +64 -0
  324. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLStateConstraint.h +30 -0
  325. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLTask.h +56 -0
  326. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateContext.h +41 -0
  327. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressEvent.h +25 -0
  328. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressHandlers.h +34 -0
  329. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateTask.h +62 -0
  330. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLWritable.h +22 -0
  331. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Modules/module.modulemap +6 -0
  332. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBuffer.h +1 -1
  333. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBufferCache.h +1 -1
  334. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h +1 -1
  335. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h +2 -2
  336. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h +4 -4
  337. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKBaseEffect.h +159 -0
  338. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectProperty.h +46 -0
  339. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyFog.h +58 -0
  340. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyLight.h +83 -0
  341. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyMaterial.h +36 -0
  342. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTexture.h +62 -0
  343. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTransform.h +45 -0
  344. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffects.h +21 -0
  345. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMath.h +19 -0
  346. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h +167 -0
  347. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathUtils.h +48 -0
  348. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix3.h +535 -0
  349. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix4.h +1012 -0
  350. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrixStack.h +130 -0
  351. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKModel.h +227 -0
  352. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKNamedEffect.h +14 -0
  353. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKQuaternion.h +340 -0
  354. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKReflectionMapEffect.h +143 -0
  355. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKSkyboxEffect.h +117 -0
  356. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKTextureLoader.h +357 -0
  357. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector2.h +483 -0
  358. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector3.h +307 -0
  359. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector4.h +587 -0
  360. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKView.h +129 -0
  361. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKViewController.h +102 -0
  362. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes +5 -0
  363. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.h +21 -0
  364. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKitBase.h +30 -0
  365. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Modules/module.modulemap +6 -0
  366. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h +35 -0
  367. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h +134 -0
  368. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h +48 -0
  369. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h +56 -0
  370. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h +88 -0
  371. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h +68 -0
  372. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h +55 -0
  373. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h +56 -0
  374. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h +134 -0
  375. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h +57 -0
  376. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h +31 -0
  377. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h +76 -0
  378. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h +124 -0
  379. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h +43 -0
  380. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h +35 -0
  381. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h +60 -0
  382. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h +30 -0
  383. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h +94 -0
  384. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h +22 -0
  385. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKError.h +95 -0
  386. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h +52 -0
  387. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h +68 -0
  388. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h +33 -0
  389. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h +83 -0
  390. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h +130 -0
  391. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h +54 -0
  392. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h +40 -0
  393. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h +47 -0
  394. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h +28 -0
  395. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h +31 -0
  396. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h +41 -0
  397. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h +34 -0
  398. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h +37 -0
  399. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h +33 -0
  400. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h +28 -0
  401. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h +23 -0
  402. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h +63 -0
  403. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h +170 -0
  404. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h +30 -0
  405. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass_Types.h +25 -0
  406. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h +44 -0
  407. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h +72 -0
  408. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h +64 -0
  409. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h +208 -0
  410. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h +108 -0
  411. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h +147 -0
  412. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h +55 -0
  413. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h +41 -0
  414. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h +29 -0
  415. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h +59 -0
  416. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h +37 -0
  417. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h +255 -0
  418. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h +171 -0
  419. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h +50 -0
  420. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h +49 -0
  421. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h +59 -0
  422. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h +60 -0
  423. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h +39 -0
  424. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h +52 -0
  425. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h +81 -0
  426. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h +42 -0
  427. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h +37 -0
  428. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h +36 -0
  429. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h +43 -0
  430. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h +34 -0
  431. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h +71 -0
  432. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.apinotes +68 -0
  433. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h +187 -0
  434. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Modules/module.modulemap +8 -0
  435. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +8 -8
  436. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h +48 -0
  437. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h +1 -1
  438. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +2 -2
  439. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +1 -1
  440. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h +1 -1
  441. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +1 -1
  442. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h +25 -12
  443. package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +1 -0
  444. package/sdk/ios/System/Library/Frameworks/Security.framework/Modules/module.modulemap +23 -2
  445. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAdaptiveImageGlyph.h +1 -1
  446. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +1 -231
  447. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h +1 -1
  448. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h +3 -3
  449. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +1 -375
  450. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +1 -545
  451. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h +1 -82
  452. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +1 -74
  453. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h +3 -3
  454. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +1 -210
  455. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h +2 -2
  456. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h +2 -2
  457. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutFragment.h +1 -1
  458. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h +2 -2
  459. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLineFragment.h +1 -1
  460. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +1 -194
  461. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextListElement.h +1 -1
  462. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextRange.h +2 -2
  463. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelection.h +1 -1
  464. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelectionNavigation.h +2 -2
  465. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +1 -196
  466. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextTable.h +3 -3
  467. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportLayoutController.h +2 -2
  468. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportRenderingSurface.h +2 -2
  469. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h +1 -1
  470. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h +2 -2
  471. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +0 -87
  472. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h +2 -2
  473. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h +1 -1
  474. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h +1 -1
  475. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h +1 -1
  476. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h +2 -2
  477. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h +1 -1
  478. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h +1 -1
  479. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h +2 -2
  480. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h +2 -2
  481. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h +3 -6
  482. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIArrangementViewController.h +1 -1
  483. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h +1 -1
  484. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundExtensionView.h +1 -1
  485. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBandSelectionInteraction.h +1 -1
  486. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h +1 -1
  487. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h +2 -2
  488. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelection.h +1 -1
  489. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionMultiDate.h +2 -2
  490. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionSingleDate.h +2 -2
  491. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionWeekOfYear.h +2 -2
  492. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h +2 -2
  493. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICanvasFeedbackGenerator.h +1 -1
  494. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h +2 -2
  495. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h +11 -11
  496. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h +15 -15
  497. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h +1 -1
  498. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h +2 -2
  499. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h +1 -1
  500. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewListCell.h +1 -1
  501. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h +1 -1
  502. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewUpdateItem.h +1 -1
  503. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h +2 -2
  504. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorPickerViewController.h +2 -2
  505. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorWell.h +1 -1
  506. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +1 -1
  507. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h +1 -1
  508. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableView.h +1 -1
  509. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +3 -3
  510. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuSystem.h +1 -1
  511. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h +1 -1
  512. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h +1 -1
  513. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h +1 -1
  514. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +1 -1
  515. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +1 -1
  516. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +2 -2
  517. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h +1 -1
  518. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h +1 -1
  519. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h +3 -3
  520. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h +2 -2
  521. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h +2 -2
  522. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h +1 -1
  523. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h +1 -1
  524. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentProperties.h +1 -1
  525. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentViewController.h +1 -1
  526. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h +2 -2
  527. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h +3 -3
  528. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h +1 -1
  529. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h +2 -2
  530. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h +2 -2
  531. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h +2 -2
  532. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttribution.h +1 -1
  533. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttributionView.h +1 -1
  534. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h +1 -1
  535. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindInteraction.h +1 -1
  536. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +1 -1
  537. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h +1 -1
  538. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h +2 -2
  539. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h +2 -2
  540. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h +1 -1
  541. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h +1 -1
  542. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +1 -86
  543. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +1 -198
  544. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h +2 -2
  545. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h +2 -2
  546. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h +3 -3
  547. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h +3 -3
  548. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h +1 -1
  549. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h +1 -1
  550. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHinge.h +1 -1
  551. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHingeInteraction.h +2 -2
  552. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h +1 -1
  553. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h +2 -2
  554. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputSuggestion.h +1 -1
  555. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h +1 -1
  556. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h +1 -1
  557. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h +1 -1
  558. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKey.h +1 -1
  559. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyboardLayoutGuide.h +1 -1
  560. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +1 -48
  561. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h +2 -2
  562. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILetterformAwareAdjusting.h +1 -1
  563. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h +2 -2
  564. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h +1 -1
  565. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h +1 -1
  566. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h +1 -1
  567. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMailConversationContext.h +1 -1
  568. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMainMenuSystem.h +1 -1
  569. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h +1 -1
  570. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h +1 -1
  571. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuDisplayPreferences.h +1 -1
  572. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +1 -1
  573. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuLeaf.h +1 -1
  574. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h +1 -1
  575. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMessageConversationContext.h +1 -1
  576. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h +3 -6
  577. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h +1 -1
  578. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h +1 -1
  579. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h +1 -1
  580. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h +1 -1
  581. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControlProgress.h +4 -4
  582. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h +2 -2
  583. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h +3 -3
  584. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPhotoSearchSuggestion.h +1 -1
  585. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +3 -3
  586. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerAccessory.h +1 -1
  587. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerInteraction.h +3 -3
  588. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerLockState.h +1 -1
  589. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerRegion.h +1 -1
  590. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +1 -1
  591. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h +2 -2
  592. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h +2 -2
  593. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h +2 -2
  594. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationControllerSourceItem.h +1 -1
  595. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h +2 -2
  596. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h +1 -1
  597. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h +1 -1
  598. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h +2 -2
  599. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h +4 -4
  600. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h +2 -2
  601. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h +1 -1
  602. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h +1 -1
  603. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintServiceExtension.h +2 -2
  604. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h +1 -1
  605. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h +2 -2
  606. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h +1 -1
  607. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h +1 -1
  608. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +1 -1
  609. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessory.h +1 -1
  610. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessoryRegistration.h +1 -1
  611. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h +1 -1
  612. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneClosureConfirmation.h +1 -1
  613. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h +1 -1
  614. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h +1 -1
  615. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h +1 -1
  616. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSizeRestrictions.h +1 -1
  617. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSystemProtectionManager.h +1 -1
  618. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneWindowingBehaviors.h +1 -1
  619. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h +1 -1
  620. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h +2 -2
  621. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScribbleInteraction.h +2 -2
  622. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollEdgeElementContainerInteraction.h +1 -1
  623. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
  624. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h +2 -2
  625. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h +1 -1
  626. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h +2 -2
  627. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h +2 -2
  628. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchSuggestion.h +1 -1
  629. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h +2 -2
  630. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h +3 -3
  631. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISmartReplySuggestion.h +1 -1
  632. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h +1 -1
  633. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +1 -1
  634. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h +4 -4
  635. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h +1 -1
  636. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStandardTextCursorView.h +1 -1
  637. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h +4 -4
  638. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h +1 -1
  639. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h +1 -1
  640. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h +1 -1
  641. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h +2 -2
  642. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h +1 -1
  643. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISymbolContentTransition.h +1 -1
  644. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +1 -1
  645. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h +1 -1
  646. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarControllerSidebar.h +3 -3
  647. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h +1 -1
  648. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabSidebarItem.h +1 -1
  649. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h +13 -13
  650. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h +1 -1
  651. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h +1 -1
  652. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h +1 -1
  653. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorDropPositionAnimator.h +1 -1
  654. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorView.h +2 -2
  655. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h +1 -1
  656. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h +3 -3
  657. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h +3 -3
  658. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h +3 -3
  659. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h +1 -1
  660. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h +12 -12
  661. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h +1 -1
  662. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +1 -1
  663. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h +2 -2
  664. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextItem.h +1 -1
  665. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h +1 -1
  666. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h +1 -1
  667. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h +2 -2
  668. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSearching.h +2 -2
  669. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionDisplayInteraction.h +2 -2
  670. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionHighlightView.h +2 -2
  671. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h +1 -1
  672. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h +1 -1
  673. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolTipInteraction.h +3 -3
  674. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h +1 -1
  675. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h +1 -1
  676. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +1 -1
  677. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITrackingLayoutGuide.h +1 -1
  678. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +2 -2
  679. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateActionPhase.h +1 -1
  680. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateInfo.h +1 -1
  681. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateLink.h +1 -1
  682. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h +5 -5
  683. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h +1 -1
  684. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h +2 -2
  685. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h +2 -2
  686. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h +6 -6
  687. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h +2 -2
  688. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h +4 -4
  689. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewReservedRegion.h +3 -3
  690. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h +1 -1
  691. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h +2 -2
  692. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h +1 -1
  693. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h +2 -2
  694. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationAction.h +1 -1
  695. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneDragInteraction.h +1 -1
  696. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesIOS.h +1 -1
  697. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h +1 -1
  698. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSAttributedString.h +231 -0
  699. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSLayoutManager.h +375 -0
  700. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSParagraphStyle.h +545 -0
  701. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSStringDrawing.h +82 -0
  702. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSText.h +74 -0
  703. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextContainer.h +210 -0
  704. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextList.h +194 -0
  705. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextStorage.h +196 -0
  706. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFont.h +86 -0
  707. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFontDescriptor.h +198 -0
  708. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitDefines.h +48 -0
  709. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.h +11 -11
  710. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +11 -11
  711. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIAccessibilityTraits.h +91 -0
  712. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.apinotes +43 -0
  713. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +1 -0
  714. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTBase.h +48 -0
  715. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h +1686 -0
  716. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h +509 -0
  717. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionProperties.h +548 -0
  718. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h +577 -0
  719. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h +144 -0
  720. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor.h +134 -0
  721. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorConfiguration.h +68 -0
  722. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorErrors.h +60 -0
  723. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorFrame.h +82 -0
  724. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorParameters.h +48 -0
  725. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_FrameRateConversion.h +207 -0
  726. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencyFrameInterpolation.h +171 -0
  727. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencySuperResolutionScaler.h +143 -0
  728. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_MotionBlur.h +207 -0
  729. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_OpticalFlow.h +172 -0
  730. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_SuperResolutionScaler.h +245 -0
  731. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_TemporalNoiseFilter.h +161 -0
  732. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameSilo.h +177 -0
  733. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTHDRPerFrameMetadataGenerationSession.h +116 -0
  734. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSession.h +176 -0
  735. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSessionProperties.h +76 -0
  736. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMultiPassStorage.h +96 -0
  737. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h +75 -0
  738. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h +111 -0
  739. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h +231 -0
  740. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h +123 -0
  741. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTSession.h +151 -0
  742. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h +146 -0
  743. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTVideoEncoderList.h +74 -0
  744. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.apinotes +197 -0
  745. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h +41 -0
  746. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Modules/module.modulemap +6 -0
  747. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h +32 -0
  748. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h +69 -0
  749. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCoreMLRequest.h +93 -0
  750. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDefines.h +24 -0
  751. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectAnimalBodyPoseRequest.h +49 -0
  752. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h +85 -0
  753. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h +60 -0
  754. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h +33 -0
  755. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h +46 -0
  756. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h +61 -0
  757. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h +47 -0
  758. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h +35 -0
  759. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPose3DRequest.h +67 -0
  760. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h +194 -0
  761. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h +200 -0
  762. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h +53 -0
  763. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h +66 -0
  764. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h +40 -0
  765. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h +71 -0
  766. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectedPoint.h +55 -0
  767. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNError.h +42 -0
  768. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h +188 -0
  769. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceObservationAccepting.h +32 -0
  770. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h +42 -0
  771. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateForegroundInstanceMaskRequest.h +34 -0
  772. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h +53 -0
  773. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h +41 -0
  774. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h +89 -0
  775. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonInstanceMaskRequest.h +34 -0
  776. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h +67 -0
  777. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h +323 -0
  778. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometryUtils.h +95 -0
  779. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNHumanBodyRecognizedPoint3D.h +26 -0
  780. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h +67 -0
  781. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h +994 -0
  782. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h +61 -0
  783. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h +109 -0
  784. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizedPoint3D.h +34 -0
  785. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h +197 -0
  786. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestHandler.h +419 -0
  787. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestRevisionProviding.h +26 -0
  788. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h +49 -0
  789. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h +302 -0
  790. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackHomographicImageRegistrationRequest.h +46 -0
  791. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackObjectRequest.h +53 -0
  792. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackOpticalFlowRequest.h +106 -0
  793. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackRectangleRequest.h +56 -0
  794. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackTranslationalImageRegistrationRequest.h +45 -0
  795. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackingRequest.h +72 -0
  796. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h +201 -0
  797. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h +198 -0
  798. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNVideoProcessor.h +133 -0
  799. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes +130 -0
  800. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.h +67 -0
  801. package/sdk/ios/System/Library/Frameworks/Vision.framework/Modules/module.modulemap +7 -0
  802. package/sdk/ios/usr/include/AssertMacros.h +1463 -0
  803. package/sdk/ios/usr/include/_modules/_os_lock.h +33 -0
  804. package/sdk/ios/usr/include/libkern/OSCacheControl.h +66 -0
  805. package/sdk/ios/usr/include/os.modulemap +1 -1
  806. package/sdk/ios/usr/include/pthread/pthread_spis.h +105 -0
  807. package/sdk/ios/usr/include/pthread_spis.h +105 -0
  808. package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
  809. package/sdk/ios/wasm/include/pthread/sched.h +3 -0
  810. package/sdk/ios/wasm/include/pthread.h +7 -0
  811. package/sdk/ios/wasm/include/sched.h +9 -0
  812. package/sdk/ios/wasm/include/sys/mman.h +2 -2
  813. package/sdk/ios/wasm/include/sys/poll.h +3 -0
  814. package/sdk/ios/wasm/include/tgmath.h +5 -0
  815. package/sdk/ios/wasm/include/unistd.h +5 -1
  816. package/skills/contrast/SKILL.md +1 -0
  817. package/skills/peach-debug/SKILL.md +43 -1
  818. package/skills/peach-debug/references/events.md +14 -1
  819. package/src/android-autolinking.ts +5 -18
  820. package/src/answeredNativePackages.ts +24 -5
  821. package/src/app-config.ts +12 -1
  822. package/src/assetCatalogContract.ts +3 -39
  823. package/src/autolinker-process.ts +82 -0
  824. package/src/bazel-project.ts +1133 -0
  825. package/src/bridge-contract.ts +3 -0
  826. package/src/case-insensitive-header-overlay.ts +99 -0
  827. package/src/config.ts +5 -0
  828. package/src/device-catalog.ts +9 -0
  829. package/src/expo-autolinking.ts +12 -15
  830. package/src/expo-native-prebuilt.ts +28 -5
  831. package/src/expo-native-workspace.ts +91 -23
  832. package/src/expo-swift-host.ts +190 -57
  833. package/src/expo-swift-ready.ts +8 -0
  834. package/src/expo-workspace-exclusion.ts +96 -27
  835. package/src/flow-graph-layout.ts +166 -0
  836. package/src/git-repo-env.ts +7 -0
  837. package/src/host/app-package-handler.ts +5 -0
  838. package/src/host/bridge-host.ts +9 -5
  839. package/src/host/hostname-resolver.ts +55 -2
  840. package/src/host/staged-host-files.ts +17 -1
  841. package/src/host/websocket-proxy.ts +19 -2
  842. package/src/java-static-imports.ts +68 -0
  843. package/src/kotlin-jvm-sources.ts +35 -0
  844. package/src/kotlinSdkContract.ts +3 -1
  845. package/src/launchMetadataContract.ts +8 -0
  846. package/src/metro-hot-update.ts +68 -0
  847. package/src/native-app-identity-project.ts +35 -7
  848. package/src/native-app-identity.ts +32 -0
  849. package/src/native-package-slice-build.ts +35 -9
  850. package/src/native-package-slice.ts +10 -4
  851. package/src/native-slices.ts +1 -1
  852. package/src/native-static-libraries.ts +50 -22
  853. package/src/nitro-adapter.lock.json +265 -265
  854. package/src/nitro-app-providers.ts +28 -0
  855. package/src/nitro-bundle.ts +4 -41
  856. package/src/nitro-compile.ts +450 -76
  857. package/src/nitro-source.ts +585 -114
  858. package/src/nitro-superset.lock.json +4 -4
  859. package/src/node-runtime.ts +27 -0
  860. package/src/nodeRuntimeContract.ts +5 -0
  861. package/src/one-sdk-bundle.ts +15 -3
  862. package/src/one-sdk-preparation.ts +69 -9
  863. package/src/oneSdkContract.ts +13 -2
  864. package/src/podspec-sources.ts +376 -1814
  865. package/src/portable-expo-contract.ts +7 -2
  866. package/src/portable-expo-workspace.ts +7 -2
  867. package/src/process-group.ts +13 -0
  868. package/src/react-bridge-importers.ts +1 -0
  869. package/src/react-native-autolinking.ts +13 -43
  870. package/src/react-native-bridge-modules.ts +3 -3
  871. package/src/react-native-core-build.ts +6 -0
  872. package/src/react-native-host-modules.ts +37 -3
  873. package/src/reap-browser.ts +1 -0
  874. package/src/sfSymbolMetricsContract.ts +0 -53
  875. package/src/sim-client.ts +8 -2
  876. package/src/storekit-test-store.ts +49 -0
  877. package/src/stub-pattern-matcher.ts +4 -26
  878. package/src/swift-compile-budget.ts +42 -0
  879. package/src/swift-compile.ts +780 -658
  880. package/src/swift-compiler-digest.ts +2 -0
  881. package/src/swift-cxx-reachable.ts +20 -21
  882. package/src/swift-distribution.lock.json +18 -12
  883. package/src/swift-guest-compile.ts +38 -21
  884. package/src/swift-guest-image-ledger.ts +28 -19
  885. package/src/swift-guest-source-inputs.ts +5 -1
  886. package/src/swift-host.ts +90 -23
  887. package/src/swift-objc-compile.ts +117 -29
  888. package/src/swift-objc-standin.ts +12 -1
  889. package/src/swift-package-manifest.ts +18 -1
  890. package/src/swift-package.ts +26 -8
  891. package/src/swift-packages.ts +66 -27
  892. package/src/swift-resource-class-names.ts +44 -0
  893. package/src/swift-root-lock.ts +50 -15
  894. package/src/swift-shared-sdk.ts +2 -4
  895. package/src/swift-source-file.ts +6 -0
  896. package/src/swift-standin-emit.ts +10 -0
  897. package/src/swift-standins.ts +351 -66
  898. package/src/swift-submit.ts +6 -1
  899. package/src/swift-toolchain.ts +19 -0
  900. package/src/swift-wasm-prune.ts +15 -8
  901. package/src/swiftContract.ts +4 -5
  902. package/src/turbo-bundle.ts +1 -1
  903. package/src/turbo-codegen-intake.ts +8 -5
  904. package/src/turbo-compile.ts +2 -1
  905. package/src/turbo-runtime.lock.json +24 -24
  906. package/src/turbo-source.ts +2027 -271
  907. package/src/vite-plugin-swift.ts +3 -2
  908. package/src/wasm-optimize.ts +14 -10
  909. package/src/worker-system-chunks.ts +31 -3
  910. package/src/worklet-kernel.ts +56 -9
  911. package/src/worklets-babel.ts +8 -1
  912. package/src/xcode-header-search.ts +9 -0
  913. package/src/xcode-project.ts +82 -6
  914. package/dist-types/packages/peach-engine/src/engine/ios-fast-scroll.d.ts +0 -16
  915. package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +0 -12
  916. package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +0 -15
  917. /package/dist-types/packages/{peach-engine → peach-compat}/src/react-bridge.d.ts +0 -0
@@ -0,0 +1,1686 @@
1
+ /*
2
+ File: VTCompressionProperties.h
3
+
4
+ Framework: VideoToolbox
5
+
6
+ Copyright 2007-2025 Apple Inc. All rights reserved.
7
+
8
+ Standard Video Toolbox compression properties.
9
+ */
10
+
11
+ #ifndef VTCOMPRESSIONPROPERTIES_H
12
+ #define VTCOMPRESSIONPROPERTIES_H
13
+
14
+ #include <CoreMedia/CMBase.h>
15
+ #include <VideoToolbox/VTBase.h>
16
+
17
+ #include <CoreFoundation/CoreFoundation.h>
18
+
19
+ #if defined(__cplusplus)
20
+ extern "C"
21
+ {
22
+ #endif
23
+
24
+ #pragma pack(push, 4)
25
+
26
+ CM_ASSUME_NONNULL_BEGIN
27
+
28
+ /*!
29
+ @header
30
+ @abstract
31
+ Standard Video Toolbox compression properties
32
+
33
+ @discussion
34
+ This file defines standard properties used to describe and configure compression
35
+ operations managed by the video toolbox.
36
+
37
+ The video toolbox will provide direct support for some of these properties.
38
+ Some properties are supported by individual encoders.
39
+
40
+ Clients can query supported properties by calling VTSessionCopySupportedPropertyDictionary.
41
+ */
42
+
43
+ /*
44
+ Recommendations for configuring VTCompressionSessions
45
+
46
+ These are recommendations for configuring VTCompressionSessions for some common scenarios.
47
+ These are starting points. The requirements of the application may necessitate further adjustments.
48
+
49
+ Live capture and live broadcast scenarios:
50
+ • kVTCompressionPropertyKey_RealTime: kCFBooleanTrue
51
+ • kVTCompressionPropertyKey_ExpectedFrameRate: set to real-time frame rate if possible
52
+
53
+ Offline transcode initiated by a user, who is waiting for the results:
54
+ • kVTCompressionPropertyKey_RealTime: kCFBooleanFalse
55
+ • kVTCompressionPropertyKey_MaximizePowerEfficiency: kCFBooleanFalse
56
+
57
+ Offline transcode in the background (when the user is not aware):
58
+ • kVTCompressionPropertyKey_RealTime: kCFBooleanFalse
59
+ • kVTCompressionPropertyKey_MaximizePowerEfficiency: kCFBooleanTrue
60
+
61
+ Ultra-low-latency conferencing and cloud gaming (cases where every millisecond counts):
62
+ • kVTVideoEncoderSpecification_EnableLowLatencyRateControl: kCFBooleanTrue
63
+ • kVTCompressionPropertyKey_RealTime: kCFBooleanTrue
64
+ • kVTCompressionPropertyKey_ExpectedFrameRate: set to real-time frame rate if possible
65
+ • kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality: kCFBooleanTrue
66
+
67
+ Optionally, kVTCompressionPropertyKey_AllowTemporalCompression, kVTCompressionPropertyKey_AllowFrameReordering,
68
+ kVTCompressionPropertyKey_MaxKeyFrameInterval, and kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration
69
+ may be used to configure frame dependencies in the video stream.
70
+
71
+ kVTCompressionPropertyKey_AverageBitRate, kVTCompressionPropertyKey_DataRateLimits, kVTCompressionPropertyKey_ConstantBitRate, and kVTCompressionPropertyKey_VariableBitRate may be used to configure the video data rate.
72
+
73
+ • kVTCompressionPropertyKey_AverageBitRate specifies the desired long term average bit rate. It is a soft limit, so the encoder may overshoot or undershoot and the average bit rate of the output video may be over or under the target.
74
+ • kVTCompressionPropertyKey_DataRateLimits specifies a hard data rate cap for a given time window. The encoder will not overshoot. kVTCompressionPropertyKey_AverageBitRate and kVTCompressionPropertyKey_DataRateLimits may be used together to specify an overall target bit rate while also establishing hard limits over a smaller window.
75
+ • kVTCompressionPropertyKey_ConstantBitRate is intended for legacy content distribution networks which require constant bitrate, and is not intended for general streaming scenarios.
76
+ • kVTCompressionPropertyKey_VariableBitRate specifies the desired variable bitrate target. Encoder automatically allocates higher bitrate for complex segments of the video. It can be used along with kVTCompressionPropertyKey_VBVMaxBitRate to specify the maximum bitrate encoder can use.
77
+ • kVTCompressionPropertyKey_ConstantQualityFactor specifies the desired constant quality factor to maintain consistent video quality. Encoder may result in larger variations in bitrates to maintain consistent quality across video frames.
78
+ */
79
+
80
+ #pragma mark Buffers
81
+
82
+ // Standard properties regarding buffer recycling.
83
+ // These are implemented by the video toolbox.
84
+
85
+ /*!
86
+ @constant kVTCompressionPropertyKey_NumberOfPendingFrames
87
+ @abstract
88
+ The number of pending frames in the compression session.
89
+ @discussion
90
+ This number may decrease asynchronously.
91
+ */
92
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_NumberOfPendingFrames API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read-only, CFNumber<int>
93
+
94
+ /*!
95
+ @constant kVTCompressionPropertyKey_PixelBufferPoolIsShared
96
+ @abstract
97
+ Indicates whether the a common pixel buffer pool is shared between
98
+ the video encoder and the session client.
99
+ @discussion
100
+ This is false if separate pools are used because the video encoder's
101
+ and the client's pixel buffer attributes were incompatible.
102
+ */
103
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PixelBufferPoolIsShared API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read-only, CFBoolean
104
+
105
+ /*!
106
+ @constant kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes
107
+ @abstract
108
+ The video encoder's pixel buffer attributes for the compression session.
109
+ @discussion
110
+ You can use these to create a pixel buffer pool for source pixel buffers.
111
+ */
112
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read-only, CFDictionary
113
+
114
+ // Standard properties describing content.
115
+
116
+ // Standard properties regarding encoder behavior.
117
+ // Video encoders may report optionally report these.
118
+
119
+ #pragma mark Frame dependency
120
+
121
+ /*!
122
+ @constant kVTCompressionPropertyKey_MaxKeyFrameInterval
123
+ @abstract
124
+ The maximum interval between key frames, also known as the key frame rate.
125
+ @discussion
126
+ Key frames, also known as sync frames, reset inter-frame
127
+ dependencies; decoding a key frame is sufficient to prepare a
128
+ decoder for correctly decoding the difference frames that
129
+ follow.
130
+ Video encoders are allowed to generate key frames more frequently if
131
+ this would result in more efficient compression.
132
+ The default key frame interval is 0, which indicates that the
133
+ video encoder should choose where to place all key frames. A key
134
+ frame interval of 1 indicates that every frame must be a key
135
+ frame, 2 indicates that at least every other frame must be a key
136
+ frame, etc.
137
+ See also kVTCompressionPropertyKey_AllowTemporalCompression.
138
+
139
+ This key can be set in conjunction with
140
+ kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration,
141
+ and both limits will be enforced - requiring a keyframe every X
142
+ frames or every Y seconds, whichever comes first.
143
+ */
144
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaxKeyFrameInterval API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<int>, Optional
145
+
146
+ /*!
147
+ @constant kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration
148
+ @abstract
149
+ The maximum duration from one key frame to the next in seconds.
150
+ @discussion
151
+ Zero by default, which means no limit.
152
+ This property is particularly useful when the frame rate is variable.
153
+ See kVTCompressionPropertyKey_MaxKeyFrameInterval for more discussion
154
+ of key frames.
155
+
156
+ This key can be set in conjunction with
157
+ kVTCompressionPropertyKey_MaxKeyFrameInterval,
158
+ and both limits will be enforced - requiring a keyframe every X
159
+ frames or every Y seconds, whichever comes first.
160
+ */
161
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<seconds>, Optional
162
+
163
+
164
+ /*!
165
+ @constant kVTCompressionPropertyKey_AllowTemporalCompression
166
+ @abstract
167
+ Enables temporal compression.
168
+ @discussion
169
+ True by default. Set this to false to require key-frame-only compression.
170
+ */
171
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_AllowTemporalCompression API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/Write, CFBoolean, Optional, defaults to true
172
+
173
+ /*!
174
+ @constant kVTCompressionPropertyKey_AllowFrameReordering
175
+ @abstract
176
+ Enables frame reordering.
177
+ @discussion
178
+ In order to encode B frames, a video encoder must reorder frames,
179
+ which means that the order in which they will be emitted and
180
+ stored (the decode order) is different from the order in which
181
+ they were presented to the video encoder (the display order).
182
+ True by default. Set this to false to prevent frame reordering.
183
+ */
184
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_AllowFrameReordering API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/Write, CFBoolean, Optional, defaults to true
185
+
186
+ /*!
187
+ @constant kVTCompressionPropertyKey_AllowOpenGOP
188
+ @abstract
189
+ Enables Open GOP (Group Of Pictures) encoding.
190
+ @discussion
191
+ Only applicable to certain video encoders. For HEVC encoding the property value is kCFBooleanTrue by default - which means
192
+ that the encoder may use Open GOP structures, but it is not guaranteed to.
193
+ Set this to kCFBooleanFalse to prevent the encoder from using any form of Open GOP during encoding.
194
+ If set to kCFBooleanFalse, this will mean that the encoder will generate groups of pictures that are independently decodable; there
195
+ will be no frame dependencies across sync samples (frames where kCMSampleAttachmentKey_NotSync is absent or kCFBooleanFalse)
196
+ When the value is kCFBooleanTrue, the encoder may use Open GOP frame dependency structures to increase compression efficiency or quality.
197
+ */
198
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_AllowOpenGOP API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/Write, CFBoolean, Optional
199
+
200
+ #pragma mark Rate control
201
+
202
+ /*!
203
+ @constant kVTCompressionPropertyKey_AverageBitRate
204
+ @abstract
205
+ The long-term desired average bit rate in bits per second.
206
+ @discussion
207
+ This is not a hard limit; the bit rate may peak above this.
208
+ The default bit rate is zero, which indicates that the video encoder
209
+ should determine the size of compressed data.
210
+ Note that bit rate settings only have an effect when timing
211
+ information is provided for source frames, and that some codecs do
212
+ not support limiting to specified bit rates.
213
+ */
214
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_AverageBitRate API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<SInt32>, Optional
215
+
216
+ /*!
217
+ @constant kVTCompressionPropertyKey_DataRateLimits
218
+ @abstract
219
+ Zero, one or two hard limits on data rate.
220
+ @discussion
221
+ Each hard limit is described by a data size in bytes and a
222
+ duration in seconds, and requires that the total size of
223
+ compressed data for any contiguous segment of that duration (in
224
+ decode time) must not exceed the data size.
225
+ By default, no data rate limits are set.
226
+ The property is a CFArray of an even number of CFNumbers,
227
+ alternating between bytes and seconds.
228
+ Note that data rate settings only have an effect when timing
229
+ information is provided for source frames, and that some codecs do
230
+ not support limiting to specified data rates.
231
+
232
+ When both kVTCompressionPropertyKey_DataRateLimits and
233
+ kVTCompressionPropertyKey_AverageBitRate are supported,
234
+ it is recommended that kVTCompressionPropertyKey_AverageBitRate
235
+ be set when kVTCompressionPropertyKey_DataRateLimits is set.
236
+ If kVTCompressionPropertyKey_AverageBitRate is not specified,
237
+ an overall average bit rate target will be selected at a safe margin below
238
+ the kVTCompressionPropertyKey_DataRateLimits target, so that regional
239
+ overshoot in the encoding will not exceed the
240
+ kVTCompressionPropertyKey_DataRateLimits.
241
+ The overall average bitrate target generated from
242
+ kVTCompressionPropertyKey_DataRateLimits in the absence of
243
+ kVTCompressionPropertyKey_AverageBitRate may not be ideal for all
244
+ scenarios.
245
+ Encoding is more likely to undershoot a requested
246
+ kVTCompressionPropertyKey_AverageBitRate if the specified target is too
247
+ close to a hard limit specified by kVTCompressionPropertyKey_DataRateLimits.
248
+ */
249
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_DataRateLimits API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFArray[CFNumber], [bytes, seconds, bytes, seconds...], Optional
250
+
251
+ /*!
252
+ @constant kVTCompressionPropertyKey_Quality
253
+ @abstract
254
+ The desired compression quality.
255
+ @discussion
256
+ Some encoders, such as JPEG, describe the compression level of each
257
+ image with a quality value. This value should be specified as a
258
+ number in the range of 0.0 to 1.0, where low = 0.25, normal = 0.50,
259
+ high = 0.75, and 1.0 implies lossless compression for encoders that
260
+ support it.
261
+
262
+ For some formats, this property will direct encoder to use a fixed
263
+ quantization parameter during encoding.
264
+ */
265
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_Quality API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<Float>, Optional
266
+
267
+ /*!
268
+ @constant kVTCompressionPropertyKey_TargetQualityForAlpha
269
+ @abstract
270
+ The target quality to use for encoding the alpha channel.
271
+ @discussion
272
+ The desired compression level to use for encoding the alpha channel.
273
+ This value should be specified as a number in the range of 0.0 to 1.0.
274
+ 0.0 is lowest quality and 1.0 implies nearly lossless. Alpha plane
275
+ bit rates will tend to increase with increasing values. When encoding
276
+ the alpha channel, quality is given priority over bitrate. Note this
277
+ parameter is currently only applicable to HEVC with Alpha encoders.
278
+ */
279
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_TargetQualityForAlpha API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<Float>, Optional, NULL by default
280
+
281
+ /*!
282
+ @constant kVTCompressionPropertyKey_MoreFramesBeforeStart
283
+ @abstract
284
+ Indicates whether and how a compression session's frames will be
285
+ concatenated with other compressed frames to form a longer series.
286
+ @discussion
287
+ True if frames compressed in a separate session will be
288
+ concatenated before the beginning of this one. False if this is a
289
+ stand-alone session, or if this session will encode the first
290
+ segment of a multi-segment compression. By default, false.
291
+
292
+ This information enables video encoders to ensure that compressed
293
+ segments can be concatenated smoothly -- for example, avoiding
294
+ data rate spikes where segments are joined.
295
+ */
296
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MoreFramesBeforeStart API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional
297
+
298
+ /*!
299
+ @constant kVTCompressionPropertyKey_MoreFramesAfterEnd
300
+ @abstract
301
+ Indicates whether and how a compression session's frames will be
302
+ concatenated with other compressed frames to form a longer series.
303
+ @discussion
304
+ True if frames compressed in a separate session will be
305
+ concatenated following the end of this one. False if this is a
306
+ stand-alone session, or if this session will encode the last
307
+ segment of a multi-segment compression. By default, false.
308
+ */
309
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MoreFramesAfterEnd API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional
310
+
311
+ /*!
312
+ @constant kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality
313
+ @abstract
314
+ Hint for the video encoder that it should maximize its speed during encode, sacrificing quality if needed
315
+ @discussion
316
+ Video encoders sometimes have a tradeoff available between encoding speed and quality at a given bitrate.
317
+ For example, by spending more time refining encoding decisions, it may be possible to make marginal improvements on quality.
318
+ This property lets a client indicate its preference for any such tradeoff.
319
+ Clients may set this property to kCFBooleanTrue to indicate that
320
+ the encoder can take steps to maximize its speed by reducing quality,
321
+ or to kCFBooleanFalse to indicate that the priority should be maximizing quality (at a given bitrate).
322
+ When the property value is NULL, the video encoder will choose its default behavior.
323
+ H.264 and HEVC hardware video encoders prioritize quality over speed by default.
324
+ ProRes hardware encoders currently prioritize speed over quality by default.
325
+ Not all video encoders support this property.
326
+ By default, this property is NULL.
327
+ */
328
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFBoolean, Optional
329
+
330
+ /*!
331
+ @constant kVTCompressionPropertyKey_ConstantBitRate
332
+ @abstract
333
+ Requires that the encoder use a Constant Bit Rate algorithm.
334
+ @discussion
335
+ The property kVTCompressionPropertyKey_ExpectedFrameRate should be set along with kVTCompressionPropertyKey_ConstantBitRate
336
+ to ensure effective CBR rate control.
337
+
338
+ This property is not compatible with kVTCompressionPropertyKey_DataRateLimits,
339
+ kVTCompressionPropertyKey_AverageBitRate, and kVTCompressionPropertyKey_VariableBitRate.
340
+
341
+ The encoder will pad the frame if they are smaller than they need to be based on the Constant BitRate. This
342
+ property is not recommended for general streaming or export scenarios. It is intended for interoperability with
343
+ certain streaming CDNs which specifically require that data rates not drop even during low motion and activity scenes.
344
+
345
+ This is not supported in all encoders or in all encoder operating modes. kVTPropertyNotSupportedErr will be
346
+ returned when this option is not supported.
347
+
348
+ */
349
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ConstantBitRate API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumber bits per second, Optional
350
+
351
+ /*!
352
+ @constant kVTCompressionPropertyKey_EstimatedAverageBytesPerFrame
353
+ @abstract
354
+ Returns the encoder's estimate of the expected size of a single encoded frame in bytes, based on current configuration.
355
+ @discussion
356
+ When supported, this option is intended to allow clients to estimate the output file size for an encoded video stream.
357
+ This property is not implemented by all video encoders.
358
+
359
+ */
360
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_EstimatedAverageBytesPerFrame API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read Only, CFNumber (bytes per frame)
361
+
362
+ /*!
363
+ @constant kVTCompressionPropertyKey_VariableBitRate
364
+ @abstract
365
+ Requires that the encoder use a variable bitrate (VBR) rate control algorithm and specifies the desired variable bitrate in bits per second.
366
+ @discussion
367
+ The actual peak bitrate present in the bitstream may be above or below this value based on other parameters such as kVTCompressionPropertyKey_VBVMaxBitRate.
368
+ This property key needs to be set to achieve Variable Bitrate (VBR) rate control.
369
+ This property key is not compatible with:
370
+ 1. kVTCompressionPropertyKey_AverageBitRate,
371
+ 2. kVTCompressionPropertyKey_ConstantBitRate,
372
+ 3. kVTCompressionPropertyKey_DataRateLimits,
373
+ 4. VTVideoEncoderSpecification_EnableLowLatencyRateControl = True.
374
+ */
375
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_VariableBitRate API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<UInt32>, Optional
376
+
377
+ /*!
378
+ @constant kVTCompressionPropertyKey_VBVMaxBitRate
379
+ @abstract
380
+ Defines the maximum bitrate that can enter the video buffering verifier (VBV) model at any time in variable bitrate (VBR) mode.
381
+ @discussion
382
+ The value of this property must be greater than zero.
383
+ This property key is not compatible with:
384
+ 1. kVTCompressionPropertyKey_AverageBitRate,
385
+ 2. kVTCompressionPropertyKey_ConstantBitRate,
386
+ 3. kVTCompressionPropertyKey_DataRateLimits,
387
+ 4. VTVideoEncoderSpecification_EnableLowLatencyRateControl=True.
388
+ */
389
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_VBVMaxBitRate API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<UInt32>, Optional
390
+
391
+ /*!
392
+ @constant kVTCompressionPropertyKey_VBVBufferDuration
393
+ @abstract
394
+ Capacity of the video buffering verifier (VBV) model in seconds.
395
+ @discussion
396
+ VBV model allows for larger variations in bitrates while avoiding decoder-side overflows or underflows.
397
+ A larger VBV model size may improve compression quality, but it requires more memory and may introduce delay.
398
+ The value of this property must be greater than 0.0.
399
+ The default value is set as 2.5 seconds.
400
+ This property key is compatible with constant bitrate (CBR) or variable bitrate (VBR) rate control.
401
+ This property key is incompatible with:
402
+ 1. kVTCompressionPropertyKey_AverageBitRate,
403
+ 2. kVTCompressionPropertyKey_DataRateLimits,
404
+ 3. VTVideoEncoderSpecification_EnableLowLatencyRateControl=True.
405
+ */
406
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_VBVBufferDuration API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<Float>, Optional
407
+
408
+ /*!
409
+ @constant kVTCompressionPropertyKey_VBVInitialDelayPercentage
410
+ @abstract
411
+ Initial delay of the VBV model between storing the picture in the VBV buffer model and decoding of that picture, as a percentage of VBV buffer duration.
412
+ @discussion
413
+ This value should be specified as a number in the range of 0 to 100.
414
+ Larger value increases the delay but results in smoother playback.
415
+ Default value is 90, meaning 90% of the VBV buffer duration.
416
+ This property key is incompatible with:
417
+ 1. kVTCompressionPropertyKey_AverageBitRate,
418
+ 2. kVTCompressionPropertyKey_DataRateLimits,
419
+ 3. VTVideoEncoderSpecification_EnableLowLatencyRateControl=True.
420
+ */
421
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_VBVInitialDelayPercentage API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<Float>, Optional
422
+
423
+
424
+ #pragma mark Bitstream configuration
425
+
426
+ /*!
427
+ @constant kVTCompressionPropertyKey_ProfileLevel
428
+ @abstract
429
+ Specifies the profile and level for the encoded bitstream.
430
+ @discussion
431
+ Available profiles and levels vary across formats and between video encoders.
432
+ Video encoders should use standard keys where available, and follow standard patterns where not.
433
+ */
434
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ProfileLevel API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString (enumeration), Optional
435
+
436
+ VT_EXPORT const CFStringRef kVTProfileLevel_HEVC_Main_AutoLevel API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
437
+ VT_EXPORT const CFStringRef kVTProfileLevel_HEVC_Main10_AutoLevel API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
438
+ VT_EXPORT const CFStringRef kVTProfileLevel_HEVC_Main42210_AutoLevel API_AVAILABLE(macos(12.3), ios(15.4), tvos(15.4), visionos(1.0)) API_UNAVAILABLE(watchos);
439
+ VT_EXPORT const CFStringRef kVTProfileLevel_HEVC_Monochrome_AutoLevel API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
440
+ VT_EXPORT const CFStringRef kVTProfileLevel_HEVC_Monochrome10_AutoLevel API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos);
441
+
442
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_1_3 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
443
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_3_0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
444
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_3_1 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
445
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_3_2 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
446
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_4_0 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
447
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_4_1 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
448
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_4_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
449
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_5_0 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
450
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_5_1 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
451
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_5_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
452
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Baseline_AutoLevel API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
453
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_ConstrainedBaseline_AutoLevel API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
454
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_3_0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
455
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_3_1 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
456
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_3_2 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
457
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_4_0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
458
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_4_1 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
459
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_4_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
460
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_5_0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
461
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_5_1 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
462
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_5_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
463
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Main_AutoLevel API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
464
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Extended_5_0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
465
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_Extended_AutoLevel API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
466
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_3_0 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
467
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_3_1 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
468
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_3_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
469
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_4_0 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
470
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_4_1 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
471
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_4_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
472
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_5_0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
473
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_5_1 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
474
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_5_2 API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
475
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_High_AutoLevel API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
476
+ VT_EXPORT const CFStringRef kVTProfileLevel_H264_ConstrainedHigh_AutoLevel API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos);
477
+
478
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Simple_L0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
479
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Simple_L1 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
480
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Simple_L2 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
481
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Simple_L3 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
482
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Main_L2 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
483
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Main_L3 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
484
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_Main_L4 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
485
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_AdvancedSimple_L0 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
486
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_AdvancedSimple_L1 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
487
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_AdvancedSimple_L2 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
488
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_AdvancedSimple_L3 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
489
+ VT_EXPORT const CFStringRef kVTProfileLevel_MP4V_AdvancedSimple_L4 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
490
+
491
+ VT_EXPORT const CFStringRef kVTProfileLevel_H263_Profile0_Level10 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
492
+ VT_EXPORT const CFStringRef kVTProfileLevel_H263_Profile0_Level45 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
493
+ VT_EXPORT const CFStringRef kVTProfileLevel_H263_Profile3_Level45 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
494
+
495
+ /*!
496
+ @constant kVTCompressionPropertyKey_OutputBitDepth
497
+ @abstract
498
+ When set, requires the encoder to output bitstream with the requested bit depth, if supported by the configured profile level setting.
499
+ In the absence of this property, the video encoder will assume the highest bit depth allowable by the configured profile level setting.
500
+ */
501
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_OutputBitDepth API_AVAILABLE(macos(12.3), ios(15.4), tvos(15.4), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, Optional, CFNumber, NULL by default
502
+
503
+ /*!
504
+ @constant kVTCompressionPropertyKey_HDRMetadataInsertionMode
505
+ @abstract
506
+ The mode for HDR metadata in the output bitstream.
507
+ @discussion
508
+ If set to kVTHDRMetadataInsertionMode_None, no HDR metadata will
509
+ be present in the output bitstream. For other modes,
510
+ VTCompressionSession will determine what type of HDR metadata
511
+ to insert based on the output color space. e.g. DolbyVision, HDR10, etc.
512
+ This property has no effect if the output color space is not HDR, or if
513
+ there is currently no underlying support for the HDR format.
514
+ kVTHDRMetadataInsertionMode_RequestSDRRangePreservation will
515
+ only insert metadata when the following is true:
516
+ transfer function is kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ
517
+ color primaries is kCVImageBufferColorPrimaries_ITU_R_2020
518
+ color matrix is kCVImageBufferYCbCrMatrix_ITU_R_2020
519
+ */
520
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_HDRMetadataInsertionMode API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString, Optional, default is kVTHDRMetadataInsertionMode_Auto
521
+ VT_EXPORT const CFStringRef kVTHDRMetadataInsertionMode_None API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
522
+ VT_EXPORT const CFStringRef kVTHDRMetadataInsertionMode_Auto API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
523
+ VT_EXPORT const CFStringRef kVTHDRMetadataInsertionMode_RequestSDRRangePreservation API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos);
524
+
525
+ /*!
526
+ @constant kVTCompressionPropertyKey_H264EntropyMode
527
+ @abstract
528
+ The entropy encoding mode for H.264 compression.
529
+ @discussion
530
+ If supported by an H.264 encoder, this property controls whether the encoder should use
531
+ Context-based Adaptive Variable Length Coding (CAVLC) or Context-based Adaptive Binary Arithmetic Coding (CABAC).
532
+ CABAC generally gives better compression at the expense of higher computational overhead.
533
+ The default value is encoder-specific and may change depending on other encoder settings.
534
+ Care should be taken when using this property -- changes may result in a configuration
535
+ which is not compatible with a requested Profile and Level. Results in this case are undefined,
536
+ and could include encode errors or a non-compliant output stream.
537
+ */
538
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_H264EntropyMode API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString, optional
539
+ VT_EXPORT const CFStringRef kVTH264EntropyMode_CAVLC API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
540
+ VT_EXPORT const CFStringRef kVTH264EntropyMode_CABAC API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos);
541
+
542
+
543
+ /*!
544
+ @constant kVTCompressionPropertyKey_Depth
545
+ @abstract
546
+ The pixel depth of the encoded video.
547
+ @discussion
548
+ This property is only supported by video encoders for formats that are
549
+ tied to particular pixel formats (eg, 16-bit RGB, 24-bit RGB).
550
+ */
551
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_Depth API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber (CMPixelFormatType), Optional
552
+
553
+ /*!
554
+ @constant kVTCompressionPropertyKey_PreserveAlphaChannel
555
+ @abstract
556
+ Instructs the encoder to encode or discard the alpha channel of input video frames
557
+ @discussion
558
+ This property allows a client to specify whether or not the alpha channel in the source pixelBuffers should be encoded.
559
+ The client may set this to kCFBooleanFalse in cases where they are not interested in preserving alpha, or if the alpha channel is known to be fully opaque.
560
+ This property is not supported by all encoders.
561
+ */
562
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PreserveAlphaChannel API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional, (effectively) kCFBooleanTrue by default
563
+
564
+ #pragma mark Runtime restrictions
565
+
566
+ /*!
567
+ @constant kVTCompressionPropertyKey_MaxFrameDelayCount
568
+ @abstract
569
+ The maximum frame delay count is the maximum number of frames that
570
+ a compressor is allowed to hold before it must output a compressed
571
+ frame.
572
+ @discussion
573
+ It limits the number of frames that may be held in the
574
+ "compression window". If the maximum frame delay count is M, then
575
+ before the call to encode frame N returns, frame N-M must have
576
+ been emitted.
577
+ The default is kVTUnlimitedFrameDelayCount, which sets no limit
578
+ on the compression window.
579
+ */
580
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaxFrameDelayCount API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber, Optional
581
+ enum { kVTUnlimitedFrameDelayCount = -1 };
582
+
583
+ /*!
584
+ @constant kVTCompressionPropertyKey_MaxH264SliceBytes
585
+ @abstract
586
+ Specifies the maximum slice size for H.264 encoding
587
+ @discussion
588
+ If supported by an H.264 encoder, the value limits the size in bytes of
589
+ slices produced by the encoder, where possible.
590
+ By default, no limit is specified. A value of zero implies default behavior.
591
+ */
592
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaxH264SliceBytes API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<SInt32>, Optional
593
+
594
+ /*!
595
+ @constant kVTCompressionPropertyKey_RealTime
596
+ @abstract
597
+ Hints the video encoder that compression is, or is not, being performed in real time.
598
+ @discussion
599
+ For offline compression, clients are advised to set this property to kCFBooleanFalse.
600
+ This indicates that the timeline of the frames is not connected to wall-clock time at all.
601
+ This allows the video encoder to run either slower than real-time or faster than real-time,
602
+ depending upon the situation and device capabilities.
603
+ For real-time compression, clients are advised to set this property to kCFBooleanTrue.
604
+ This indicates that the timeline of frames is connected to real time (so, for example,
605
+ the client expects to encode one second of frames each second, on average).
606
+ In such a case, it is important that encoding keep up, but it is also not valuable to encode
607
+ substantially faster than real time.
608
+ When this property is set to kCFBooleanTrue, the video encoder may use the value of the
609
+ kVTCompressionPropertyKey_ExpectedFrameRate property to optimize energy usage,
610
+ by anticipating that encoding requests will happen at this rate.
611
+ By default, this property is NULL, indicating unknown.
612
+ */
613
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_RealTime API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean or NULL, Optional, default NULL
614
+
615
+ /*!
616
+ @constant kVTCompressionPropertyKey_MaximizePowerEfficiency
617
+ @abstract
618
+ Hints to the video encoder that it should maximize power efficiency during encode.
619
+ @discussion
620
+ For compression where the client is operating in the background, clients may set this property to kCFBooleanTrue, which indicates that
621
+ the encoder can take steps to minimize impact on power usage and other system activity.
622
+ Setting the property to NULL is equivalent to setting it to kCFBooleanFalse.
623
+ Not all video encoders support this property.
624
+ By default, this property is NULL.
625
+ If the kVTCompressionPropertyKey_RealTime property is set to kCFBooleanTrue,
626
+ the video encoder may act as though this property were set to kCFBooleanFalse.
627
+ */
628
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaximizePowerEfficiency API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean or NULL, Optional, default is false
629
+
630
+
631
+ #pragma mark Hints
632
+
633
+ /*!
634
+ @constant kVTCompressionPropertyKey_SourceFrameCount
635
+ @abstract
636
+ Indicates the number of source frames, if known.
637
+ @discussion
638
+ This property allows a client to give the video encoder advance guidance as to how
639
+ many frames will be encoded.
640
+ If nonzero, this should be the exact number of times that the client calls
641
+ VTCompressionSessionEncodeFrame in each pass.
642
+ The default is 0, which indicates that the number of source frames
643
+ is not known.
644
+ */
645
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_SourceFrameCount API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber, Optional
646
+
647
+ /*!
648
+ @constant kVTCompressionPropertyKey_ExpectedFrameRate
649
+ @abstract
650
+ Indicates the expected frame rate of the video to be encoded.
651
+ @discussion
652
+ The frame rate is measured in frames per second.
653
+ This property is used to inform the encoder of the expected cadence of the presentation time stamp values of frames that will be submitted to the encoder.
654
+ The actual frame rate may vary, and will depend on the frame durations calculated by the difference between subsequent presentation time stamps.
655
+ If kVTCompressionPropertyKey_RealTime has been set to true, the ExpectedFrameRate may be used to optimize energy usage as well as perform internal encoder configuration before compression begins.
656
+ If kVTCompressionPropertyKey_RealTime is not set, or has been set to false, the ExpectedFrameRate is still helpful and allows the encoder to optimize internal encoder configuration before compression begins.
657
+ By default, the property has a value of zero indicating "unknown".
658
+ */
659
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ExpectedFrameRate API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber, Optional
660
+
661
+ /*!
662
+ @constant kVTCompressionPropertyKey_MaximumRealTimeFrameRate
663
+ @abstract
664
+ Indicates the maximum real time rate at which frames could be submitted to the VTCompressionSession
665
+ @discussion
666
+ The frame rate is measured in frames per second.
667
+ This property can be used to inform the encoder of the maximum rate that frames could be submitted to the encoder during realtime encoding. This allows the encoder to configure itself to ensure this capability.
668
+ This property can only be used when kVTCompressionPropertyKey_RealTime has been set to true.
669
+ Unlike kVTCompressionPropertyKey_ExpectedFrameRate, this property informs the maximum possible rate that the VTCompressionSession could see, not the average frame rate that is expected in normal operation.
670
+ By default, the property has a value of zero indicating "unknown".
671
+ */
672
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaximumRealTimeFrameRate API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber, Optional
673
+
674
+ /*!
675
+ @constant kVTCompressionPropertyKey_BaseLayerFrameRateFraction
676
+ @abstract
677
+ This property indicates the desired frame rate fraction of the base layer.
678
+ @discussion
679
+ This property indicates the fraction of total frames submitted that should be encoded in the base layer.
680
+ For example, a value of 0.5 means that half of the frames are in the base layer, and half are in the enhancement layer.
681
+ */
682
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_BaseLayerFrameRateFraction API_AVAILABLE(macos(11.3), ios(14.5), tvos(14.5), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<Float>, Optional
683
+
684
+ /*!
685
+ @constant kVTCompressionPropertyKey_BaseLayerBitRateFraction
686
+ @abstract
687
+ This property indicates the desired bit rate fraction of the base layer
688
+ @discussion
689
+ This is not a hard limit; the encoder will attempt to satisfy this ratio when possible. If not set, the encoder will manage the ratio.
690
+ For example: If the target bitrate is set to 500kbps and kVTCompressionPropertyKey_BaseLayerBitRateFraction is set to 0.6, the base layer will be given a
691
+ budget of 300kbps and the enhancement layer 200kbps.
692
+ */
693
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_BaseLayerBitRateFraction API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber<Float>, Optional
694
+
695
+ /*!
696
+ @constant kVTCompressionPropertyKey_ExpectedDuration
697
+ @abstract
698
+ Indicates the expected total duration for the compression session, if known.
699
+ @discussion
700
+ By default, this is zero, indicating "unknown".
701
+ */
702
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ExpectedDuration API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber(seconds), Optional
703
+
704
+ /*!
705
+ @constant kVTCompressionPropertyKey_BaseLayerFrameRate
706
+ @abstract
707
+ This property indicates the desired frame rate for the base temporal layer used in hierarchical video encoding.
708
+ @discussion
709
+ The frame rate is measured in frames per second.
710
+ This property is only implemented by encoders which support hierarchical frame encoding, and requests that this encoding feature be enabled.
711
+ */
712
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_BaseLayerFrameRate API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber, Optional
713
+
714
+ /*!
715
+ @constant kVTCompressionPropertyKey_ReferenceBufferCount
716
+ @abstract
717
+ The client will be able to control the the maximum allowed ReferenceBufferCount using this optional key.
718
+ @discussion
719
+ This is typically used to force the encoder to use lower count than allowed by the stantard for a level/profile.
720
+ The encoder will fail and report an error if the requested value exceeds the limit set by the standard for such a level/profile.
721
+ */
722
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ReferenceBufferCount API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumber, Optional
723
+
724
+
725
+ /*!
726
+ @constant kVTCompressionPropertyKey_CalculateMeanSquaredError
727
+ @abstract
728
+ This property requests that the encoder measure and output the Mean Squared Error(MSE) quality metric.
729
+ @discussion
730
+ The MSE value returned may be measured using an internal representation of the decoded frame which may lack filtering or processing present in the actual decoded frame. Because of this, there may be a small delta between the reported MSE and the true MSE.
731
+ If supported, the MSE values will be returned as sample buffer attachments on the encoded frame using the kVTSampleAttachmentKey_QualityMetrics key.
732
+ */
733
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_CalculateMeanSquaredError API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean
734
+
735
+
736
+ /*!
737
+ @constant kVTSampleAttachmentKey_QualityMetrics
738
+ @abstract
739
+ The value for this key contain quality-related metadata from the video encoder for a video frame.
740
+ @discussion
741
+ The video encoder will attach this via the CMSampleBufferGetSampleAttachmentsArray interface before emitting the sample buffer.
742
+ */
743
+ VT_EXPORT const CFStringRef kVTSampleAttachmentKey_QualityMetrics API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); //CFDictionary
744
+
745
+ /*!
746
+ @constant kVTSampleAttachmentQualityMetricsKey_LumaMeanSquaredError
747
+ @abstract
748
+ Key for mean squared error (MSE) of the encoded Luma channel from the video encoder.
749
+ @discussion
750
+ For single-view video, a CFNumber value is returned.
751
+ For multi-view video, a CFArray value is returned, and each element (CFNumber) in the CFArray includes MSE for the corresponding view.
752
+ The video encoder will attach this in kVTSampleAttachmentKey_QualityMetrics via the CMSampleBufferGetSampleAttachmentsArray interface before emitting the sample buffer.
753
+ */
754
+ VT_EXPORT const CFStringRef kVTSampleAttachmentQualityMetricsKey_LumaMeanSquaredError API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // CFNumber, CFArray
755
+
756
+ /*!
757
+ @constant kVTSampleAttachmentQualityMetricsKey_ChromaBlueMeanSquaredError
758
+ @abstract
759
+ Key for mean squared error (MSE) of the encoded Chroma Blue channel from the video encoder.
760
+ @discussion
761
+ For single-view video, a CFNumber value is returned.
762
+ For multi-view video, a CFArray value is returned, and each element (CFNumber) in the CFArray includes MSE for the corresponding view.
763
+ The video encoder will attach this in kVTSampleAttachmentKey_QualityMetrics via the CMSampleBufferGetSampleAttachmentsArray interface before emitting the sample buffer.
764
+ **/
765
+ VT_EXPORT const CFStringRef kVTSampleAttachmentQualityMetricsKey_ChromaBlueMeanSquaredError API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // CFNumber, CFArray
766
+
767
+ /*!
768
+ @constant kVTSampleAttachmentQualityMetricsKey_ChromaRedMeanSquaredError
769
+ @abstract
770
+ Key for mean squared error (MSE) of the encoded Chroma Red channel from the video encoder.
771
+ @discussion
772
+ For single-view video, a CFNumber value is returned.
773
+ For multi-view video, a CFArray value is returned, and each element (CFNumber) in the CFArray includes MSE for the corresponding view.
774
+ The video encoder will attach this in kVTSampleAttachmentKey_QualityMetrics via the CMSampleBufferGetSampleAttachmentsArray interface before emitting the sample buffer.
775
+ */
776
+ VT_EXPORT const CFStringRef kVTSampleAttachmentQualityMetricsKey_ChromaRedMeanSquaredError API_AVAILABLE(macos(14.4), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // CFNumber, CFArray
777
+
778
+
779
+
780
+ #pragma mark Hardware acceleration
781
+ /*!
782
+ @constant kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder
783
+ @abstract
784
+ If set to kCFBooleanTrue, use a hardware accelerated video encoder if available. If set to
785
+ kCFBooleanFalse, hardware encode will never be used.
786
+ @discussion
787
+ This key is set in the encoderSpecification passed in to VTCompressionSessionCreate. Set it
788
+ to kCFBooleanTrue to allow hardware accelerated encode. To prevent hardware encode,
789
+ this property can be set to kCFBooleanFalse.
790
+ In MacOS 10.15 and later, hardware encode is enabled in VTCompressionSessions by default.
791
+ */
792
+ VT_EXPORT const CFStringRef kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder API_AVAILABLE(macos(10.9), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // CFBoolean, Optional, true by default
793
+
794
+ /*!
795
+ @constant kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder
796
+ @abstract
797
+ If set to kCFBooleanTrue, only use hardware encode and return an error if this isn't possible.
798
+ Setting this key automatically implies kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder --
799
+ there is no need to set both and the Enable key does nothing if the Require key is set.
800
+ @discussion
801
+ This key is set in the encoderSpecification passed in to VTCompressionSessionCreate. Set it
802
+ to kCFBooleanTrue to require hardware accelerated encode. If hardware acceleration is not
803
+ possible, the VTCompressionSessionCreate call will fail.
804
+ This key is useful for clients that have their own software encode implementation or
805
+ those that may want to configure software and hardware encode sessions differently.
806
+ Hardware acceleration may be unavailable for a number of reasons. A few common cases are:
807
+ - the machine does not have hardware acceleration capabilities
808
+ - the requested encoding format or encoding configuration is not supported
809
+ - the hardware encoding resources on the machine are busy
810
+ */
811
+ VT_EXPORT const CFStringRef kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder API_AVAILABLE(macos(10.9), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // CFBoolean, Optional
812
+
813
+ /*!
814
+ @constant kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder
815
+ @abstract
816
+ If set to kCFBooleanTrue, a hardware accelerated video encoder is being used.
817
+ @discussion
818
+ You can query this property using VTSessionCopyProperty after you have enabled hardware
819
+ accelerated encode using kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder
820
+ to see if a hardware accelerated encoder was selected.
821
+ */
822
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder API_AVAILABLE(macos(10.9), ios(17.4), tvos(17.4), visionos(1.1)) API_UNAVAILABLE(watchos); // CFBoolean, Read; assumed false by default
823
+
824
+ /*!
825
+ @constant kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID
826
+ @abstract
827
+ If set, the VideoToolbox will only use a hardware encoder running on the GPU specified by the provided GPU registryID.
828
+ @discussion
829
+ This specification implies kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder. A separate hardware encode opt-in is not required.
830
+ The GPU registryID can be obtained from a MTLDevice using [MTLDevice registryID] or can be obtained from OpenGL or OpenCL.
831
+ */
832
+ VT_EXPORT const CFStringRef kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID API_AVAILABLE(macos(10.14), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumber, Optional
833
+
834
+ /*!
835
+ @constant kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID
836
+ @abstract
837
+ If set, the VideoToolbox will try to use a hardware encoder running on the GPU specified by the provided GPU registryID. If the
838
+ GPU does not support encode of the specified format, the VideoToolbox will fall back to alternate encoders.
839
+ @discussion
840
+ This specification implies kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder. A separate hardware encode opt-in is not required.
841
+ If both kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID and kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID are set, kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID will be ignored.
842
+ This specification can be used in conjunction with kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder to prevent a fallback to software encode.
843
+ The GPU registryID can be obtained from a MTLDevice using [MTLDevice registryID] or can be obtained from OpenGL or OpenCL.
844
+ */
845
+ VT_EXPORT const CFStringRef kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID API_AVAILABLE(macos(10.14), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumber, Optional
846
+
847
+ /*!
848
+ @constant kVTCompressionPropertyKey_UsingGPURegistryID
849
+ @abstract
850
+ returns CFNumber indicating the gpu registryID of the encoder that was selected. NULL indicates a built-in encoder or software encode was used.
851
+ @discussion
852
+ You can query this property using VTSessionCopyProperty after building a VTCompressionSession to find out which GPU the encoder is using.
853
+ If a encoder based on a built-in GPU was used it will return NULL. If a software encoder is used, it will return NULL
854
+ */
855
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_UsingGPURegistryID API_AVAILABLE(macos(10.14), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumberRef, Read;
856
+
857
+ /*!
858
+ @constant kVTCompressionPropertyKey_SupportsBaseFrameQP
859
+ @abstract
860
+ This property can be queried to determine if the encoder supports base frame QP requests.
861
+ @discussion
862
+ If this property returns kCFBooleanTrue, it indicates that the encoder supports base frame QP requests through kVTEncodeFrameOptionKey_BaseFrameQP. If it returns false or kVTPropertyNotSupportedErr, base frame QP requests will cause errors on VTCompressionSessionEncodeFrame calls, or will be ignored.
863
+
864
+ */
865
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_SupportsBaseFrameQP API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read only, CFBoolean, Optional, false by default
866
+
867
+ #pragma mark Per-frame configuration
868
+
869
+ /*!
870
+ @constant kVTEncodeFrameOptionKey_ForceKeyFrame
871
+ @abstract
872
+ CFBoolean forcing the current frame to be a key frame
873
+ @discussion
874
+ This value is set in the frameProperties CFDictionary passed to
875
+ VTCompressionSessionEncodeFrame to force the current frame to be a
876
+ keyframe or not.
877
+ Note that it may not be possible for the encoder to accomodate all
878
+ requests.
879
+ */
880
+ VT_EXPORT const CFStringRef kVTEncodeFrameOptionKey_ForceKeyFrame API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // CFBoolean
881
+
882
+ /*!
883
+ @constant kVTEncodeFrameOptionKey_BaseFrameQP
884
+ @abstract
885
+ CFNumberRef requesting the current frame to use the provided base frame QP.
886
+ @discussion
887
+ This value is set in the frameProperties CFDictionary passed to VTCompressionSessionEncodeFrame to force
888
+ the QP value for the current frame. This is an optional parameter. Use it only when you have a specific requirement
889
+ for the video quality and you are familiar with frame QP and are prepared to assume full responsibility for rate control.
890
+ Otherwise it is strongly encouraged to rely on the encoder’s rate control for adjusting frame QP.
891
+
892
+ Setting BaseFrameQP turns off standard rate control and will cause the following properties to be ignored::
893
+ kVTCompressionPropertyKey_DataRateLimits
894
+ kVTCompressionPropertyKey_AverageBitRate
895
+ kVTCompressionPropertyKey_BaseLayerBitRateFraction
896
+ kVTCompressionPropertyKey_Quality
897
+ kVTCompressionPropertyKey_MaxAllowedFrameQP
898
+ kVTCompressionPropertyKey_MinAllowedFrameQP
899
+
900
+ If kVTEncodeFrameOptionKey_BaseFrameQP is used, it must be set for all frames in a session. The QP value specified is
901
+ frame-level but macro-block level QP may be modulated inside a frame. There will be no rate-control related frame dropping
902
+ if kVTEncodeFrameOptionKey_BaseFrameQP is used.
903
+
904
+ kVTEncodeFrameOptionKey_BaseFrameQP is only supported if the encoder returns kCFBooleanTrue when the
905
+ kVTCompressionPropertyKey_SupportsBaseFrameQP is queried. If this FrameOptionKey is set for encoder which
906
+ does not support it, it will be ignored.
907
+
908
+ Note that it may not be possible for the encoder to accommodate all requests.
909
+ */
910
+ VT_EXPORT const CFStringRef kVTEncodeFrameOptionKey_BaseFrameQP API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumberRef, Optional
911
+
912
+
913
+ #pragma mark Clean aperture and pixel aspect ratio
914
+
915
+ /*!
916
+ @constant kVTCompressionPropertyKey_CleanAperture
917
+ @abstract
918
+ Describes the clean aperture for encoded frames.
919
+ @discussion
920
+ Some video encoders may enforce specific clean apertures;
921
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
922
+ The clean aperture will be set on the format description for output samples,
923
+ and may affect source frame scaling.
924
+ NULL is a valid value for this property, meaning that the clean aperture is the full width and height.
925
+ */
926
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_CleanAperture API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFDictionary (see CMFormatDescription.h), Optional
927
+
928
+ /*!
929
+ @constant kVTCompressionPropertyKey_PixelAspectRatio
930
+ @abstract
931
+ Describes the pixel aspect ratio for encoded frames.
932
+ @discussion
933
+ Some video encoders may enforce specific pixel aspect ratios;
934
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
935
+ The pixel aspect ratio will be set on the format description for output samples,
936
+ and may affect source frame scaling.
937
+ NULL is a valid value for this property, meaning square pixels (1:1).
938
+ */
939
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PixelAspectRatio API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFDictionary (see CMFormatDescription.h), Optional
940
+
941
+ /*!
942
+ @constant kVTCompressionPropertyKey_FieldCount
943
+ @abstract
944
+ Indicates whether the frames should be encoded progressive (1) or interlaced (2).
945
+ @discussion
946
+ The field count will be set on the format description for output samples,
947
+ and may affect source frame scaling.
948
+ NULL is a valid value for this property.
949
+ */
950
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_FieldCount API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber (see kCMFormatDescriptionExtension_FieldCount), Optional
951
+
952
+ /*!
953
+ @constant kVTCompressionPropertyKey_FieldDetail
954
+ @abstract
955
+ Indicates field ordering for encoded interlaced frames.
956
+ @discussion
957
+ Some video encoders may enforce specific field ordering;
958
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
959
+ The field detail will be set on the format description for output samples,
960
+ and may affect source frame scaling.
961
+ NULL is a valid value for this property.
962
+ */
963
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_FieldDetail API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString (see kCMFormatDescriptionExtension_FieldDetail), Optional
964
+
965
+ /*!
966
+ @constant kVTCompressionPropertyKey_AspectRatio16x9
967
+ @abstract
968
+ Indicates that the DV video stream should have the 16x9 flag set.
969
+ @discussion
970
+ This property is supported by the DV25/50 family of encoders.
971
+ When false, the picture aspect ratio is 4:3.
972
+ When true, the picture aspect ratio is 16:9.
973
+ Either way, a fixed PixelAspectRatio is used (the specific value depends on whether the format is NTSC or PAL).
974
+ */
975
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_AspectRatio16x9 API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional
976
+
977
+ /*!
978
+ @constant kVTCompressionPropertyKey_ProgressiveScan
979
+ @abstract
980
+ Indicates that the DV video stream should have the progressive flag set.
981
+ @discussion
982
+ This property is supported by the DV25/50 family of encoders.
983
+ If false, content is encoded as interlaced.
984
+ If true, content is encoded as progressive.
985
+ The value of this property fixes the FieldCount and FieldDetail properties.
986
+ */
987
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ProgressiveScan API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional
988
+
989
+ #pragma mark Color
990
+
991
+ /*!
992
+ @constant kVTCompressionPropertyKey_ColorPrimaries
993
+ @abstract
994
+ Indicates color primaries for compressed content.
995
+ @discussion
996
+ Some video encoders may enforce specific colorimetry;
997
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
998
+ The value will be set on the format description for output sample buffers.
999
+ */
1000
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ColorPrimaries API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString (see kCMFormatDescriptionExtension_ColorPrimaries), Optional
1001
+
1002
+ /*!
1003
+ @constant kVTCompressionPropertyKey_TransferFunction
1004
+ @abstract
1005
+ Indicates transfer function for compressed content.
1006
+ @discussion
1007
+ Some video encoders may enforce specific colorimetry;
1008
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
1009
+ The value will be set on the format description for output sample buffers.
1010
+ */
1011
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_TransferFunction API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString (see kCMFormatDescriptionExtension_TransferFunction), Optional
1012
+
1013
+ /*!
1014
+ @constant kVTCompressionPropertyKey_YCbCrMatrix
1015
+ @abstract
1016
+ Indicates YCbCr matrix for compressed content.
1017
+ @discussion
1018
+ Some video encoders may enforce specific colorimetry;
1019
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
1020
+ The value will be set on the format description for output sample buffers.
1021
+ */
1022
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_YCbCrMatrix API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFString (see kCMFormatDescriptionExtension_YCbCrMatrix), Optional
1023
+
1024
+ /// Indicates that the transfer function or gamma of the content is a log format and identifies the specific log curve.
1025
+ /// Log curve identifiers include ``kCVImageBufferLogTransferFunction_AppleLog`` ("com.apple.rec2020.apple-log")
1026
+ /// and ``kCVImageBufferLogTransferFunction_AppleLog2`` ("com.apple.apple-wide-gamut.apple-log").
1027
+ /// When the LogTransferFunction is specified for a VTCompressionSession, if source image buffers do not have exactly that LogTransferFunction, encoding will fail.
1028
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_LogTransferFunction API_AVAILABLE(macos(27), ios(27), tvos(27), visionos(27)) API_UNAVAILABLE(watchos); // Read/write, CFString (see kCMFormatDescriptionExtension_LogTransferFunction), Optional
1029
+
1030
+ /*!
1031
+ @constant kVTCompressionPropertyKey_ICCProfile
1032
+ @abstract
1033
+ Indicates ICC profile for compressed content.
1034
+ @discussion
1035
+ Some video encoders may enforce specific colorimetry;
1036
+ in those cases this property will be read-only (SetProperty will return kVTPropertyReadOnlyErr).
1037
+ If this property and any of the previous three are all set, they should be set to consistent values,
1038
+ or undefined behavior may occur.
1039
+ The value will be set on the format description for output sample buffers.
1040
+ NULL can be a valid value for this property.
1041
+ */
1042
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ICCProfile API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFData (see kCMFormatDescriptionExtension_ICCProfile), Optional
1043
+
1044
+ /*!
1045
+ @constant kVTCompressionPropertyKey_MasteringDisplayColorVolume
1046
+ @abstract
1047
+ The value is 24 bytes containing a big-endian structure as defined in ISO/IEC 23008-2:2015(E), D.2.28 Mastering display colour volume SEI message.
1048
+ @discussion
1049
+ The value will be set on the format description for output sample buffers,
1050
+ and incorporated into the appropriate SEI NAL unit where supported by the encoder.
1051
+ */
1052
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MasteringDisplayColorVolume API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFData(24 bytes) (see kCMFormatDescriptionExtension_MasteringDisplayColorVolume), Optional
1053
+
1054
+ /*!
1055
+ @constant kVTCompressionPropertyKey_ContentLightLevelInfo
1056
+ @abstract
1057
+ The value is 4 bytes containing a big-endian structure as defined in the Content Light Level Info SEI message.
1058
+ @discussion
1059
+ The value will be set on the format description for output sample buffers,
1060
+ and incorporated into the appropriate SEI NAL unit where supported by the encoder.
1061
+ */
1062
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ContentLightLevelInfo API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFData(4 bytes) (see kCMFormatDescriptionExtension_ContentLightLevelInfo), Optional
1063
+
1064
+
1065
+ /*!
1066
+ @constant kVTCompressionPropertyKey_GammaLevel
1067
+ @abstract
1068
+ Indicates gamma level for compressed content.
1069
+ @discussion
1070
+ This property allows the caller to specify a gamma value to include in the CMVideoFormatDescription attached to output CMSampleBuffers. It does not change pixel data being encoded.
1071
+ */
1072
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_GammaLevel API_AVAILABLE(macos(10.9), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumber (see kCMFormatDescriptionExtension_GammaLevel), Optional
1073
+
1074
+
1075
+ /*!
1076
+ @constant kVTCompressionPropertyKey_AlphaChannelMode
1077
+ @abstract
1078
+ Specifies whether the source images' RGB values have been premultiplied by the alpha channel values.
1079
+ @discussion
1080
+ Video compression will fail if source image buffers have a mismatched value in their kCVImageBufferAlphaChannelMode attachment.
1081
+ If this property is not set, the encoder may read the first source image buffer's kCVImageBufferAlphaChannelMode attachment.
1082
+ If neither the property nor the first buffer's attachment is set, defaults to kVTAlphaChannelMode_PremultipliedAlpha.
1083
+ */
1084
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_AlphaChannelMode API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, Optional, CFString(kVTAlphaChannelMode_*); if property is not set, matches first source frame's attachment; if that's also not set, defaults to premultiplied alpha
1085
+ VT_EXPORT const CFStringRef kVTAlphaChannelMode_StraightAlpha API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos);
1086
+ VT_EXPORT const CFStringRef kVTAlphaChannelMode_PremultipliedAlpha API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos);
1087
+
1088
+
1089
+ #pragma mark Pre-compression processing
1090
+
1091
+ // Standard properties about processing to be performed before compression.
1092
+ // These are implemented by the video toolbox.
1093
+
1094
+ /*!
1095
+ @constant kVTCompressionPropertyKey_PixelTransferProperties
1096
+ @abstract
1097
+ Specifies properties to configure a VTPixelTransferSession used to transfer source frames
1098
+ from the client's image buffers to the video encoder's image buffers, if necessary.
1099
+ @discussion
1100
+ Setting this property alone does not necessarily guarantee that a VTPixelTransferSession will be created.
1101
+ See VTPixelTransferProperties.h.
1102
+ */
1103
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PixelTransferProperties API_AVAILABLE(macos(10.8), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/Write, CFDictionary containing properties from VTPixelTransferProperties.h.
1104
+
1105
+ #pragma mark Multi-pass
1106
+
1107
+ /*!
1108
+ @const kVTCompressionPropertyKey_MultiPassStorage
1109
+ @abstract Enables multi-pass compression and provides storage for encoder-private data.
1110
+ @discussion
1111
+ Some video encoders support multi-pass encoding. To determine whether a VTCompressionSession supports multi-pass encoding, you can inspect the dictionary returned by VTSessionCopySupportedPropertyDictionary to see if it contains kVTCompressionPropertyKey_MultiPassStorage.
1112
+
1113
+ To enable multi-pass encoding, set the kVTCompressionPropertyKey_MultiPassStorage property to a VTMultiPassStorage object, which you can create by calling VTMultiPassStorageCreate. Then make one or more passes over the source frames. Bracket each pass with a call to VTCompressionSessionBeginPass at the beginning and VTCompressionSessionEndPass at the end.
1114
+
1115
+ In the first pass of multi-pass encoding, call VTCompressionSessionEncodeFrame for every source frame (just as in single-pass encoding). At the end of every pass, call VTCompressionSessionEndPass. This may take some time as the video encoder determines whether it can improve the encoding by performing another pass. If the user cancels encoding during this time, call VTCompressionSessionInvalidate to interrupt the processing. VTCompressionSessionEndPass will indicate via the furtherPassesRequestedOut argument whether the video encoder would like to perform another pass. There is no particular bound on the number of passes the video encoder may request, but the client is free to disregard this request and use the last-emitted set of frames.
1116
+
1117
+ If *furtherPassesRequestedOut is set to true and you want to perform another pass, call VTCompressionSessionGetTimeRangesForNextPass to determine the time ranges for the next pass. Only the source frames within these time ranges need to be passed to VTCompressionSessionEncodeFrame; the video encoder is satisfied with the already-emitted compressed frames outside these ranges and they can be kept for the final output.
1118
+
1119
+ In second and successive passes, you must pass identical source frames, frame properties and timestamps to VTCompressionSessionEncodeFrame as in the first pass, with the exception that frames not in the requested time ranges should be skipped.
1120
+
1121
+ You can create and use a VTFrameSilo object to merge sequences of compressed frames across passes during multi-pass encoding.
1122
+ */
1123
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MultiPassStorage API_AVAILABLE(macos(10.10), ios(8.0), tvos(10.2), visionos(1.0)) API_UNAVAILABLE(watchos); // VTMultiPassStorage, optional, default is NULL
1124
+
1125
+ #pragma mark Encoder information
1126
+
1127
+ /*!
1128
+ @constant kVTCompressionPropertyKey_EncoderID
1129
+ @abstract
1130
+ Specifies a particular video encoder by its ID string.
1131
+ @discussion
1132
+ Matches the value specified in kVTVideoEncoderSpecification_EncoderID, and the kVTVideoEncoderList_EncoderID value returned from VTCopyVideoEncoderList.
1133
+ */
1134
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_EncoderID API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFStringRef
1135
+
1136
+ /*!
1137
+ @constant kVTCompressionPropertyKey_RecommendedParallelizationLimit
1138
+ @abstract
1139
+ If supported by the underlying video encoder, returns the recommended number of VTCompressionSessions to instantiate in a parallel encoding configuration.
1140
+ @discussion
1141
+ Parallel encoding VTCompressionSessions require the use of the properties kVTCompressionPropertyKey_MoreFramesBeforeStart, kVTCompressionPropertyKey_MoreFramesAfterEnd, and kVTCompressionPropertyKey_SourceFrameCount.
1142
+ e.g. If the property returns 4, a setup for 4 VTCompressionSessions on a 400 frame movie might look like:
1143
+ compressionSession1
1144
+ kVTCompressionPropertyKey_MoreFramesBeforeStart = false
1145
+ kVTCompressionPropertyKey_MoreFramesAfterEnd = true
1146
+ kVTCompressionPropertyKey_SourceFrameCount = 100
1147
+ compressionSession2
1148
+ kVTCompressionPropertyKey_MoreFramesBeforeStart = true
1149
+ kVTCompressionPropertyKey_MoreFramesAfterEnd = true
1150
+ kVTCompressionPropertyKey_SourceFrameCount = 100
1151
+ compressionSession3
1152
+ kVTCompressionPropertyKey_MoreFramesBeforeStart = true
1153
+ kVTCompressionPropertyKey_MoreFramesAfterEnd = true
1154
+ kVTCompressionPropertyKey_SourceFrameCount = 100
1155
+ compressionSession4
1156
+ kVTCompressionPropertyKey_MoreFramesBeforeStart = true
1157
+ kVTCompressionPropertyKey_MoreFramesAfterEnd = false
1158
+ kVTCompressionPropertyKey_SourceFrameCount = 100
1159
+ */
1160
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_RecommendedParallelizationLimit API_AVAILABLE(macos(14.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos); // Read-only, CFNumber<int>
1161
+
1162
+ /*!
1163
+ @constant kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumFrameCount
1164
+ @abstract
1165
+ If supported by the underlying video encoder, returns the recommended minimum number of video frames for a given subdivision in a parallel encoding configuration.
1166
+ @discussion
1167
+ For best results, ensure that the total number of frames of a parallelized subdivision is greater than or equal to this returned value.
1168
+ See also kVTCompressionPropertyKey_RecommendedParallelizationLimit
1169
+ See also kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumDuration
1170
+ */
1171
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumFrameCount API_AVAILABLE(macos(14.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos); // Read-only, CFNumber<uint64_t>
1172
+
1173
+ /*!
1174
+ @constant kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumDuration
1175
+ @abstract
1176
+ If supported by the underlying video encoder, returns the recommended minimum duration for a given subdivision in a parallel encoding configuration.
1177
+ @discussion
1178
+ For best results, ensure that the total duration of a parallelized subdivision is greater than or equal to this returned value.
1179
+ See also kVTCompressionPropertyKey_RecommendedParallelizationLimit
1180
+ See also kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumFrameCount
1181
+ */
1182
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumDuration API_AVAILABLE(macos(14.0), ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos); // Read-only, CMTime as CFDictionary
1183
+
1184
+ /*!
1185
+ @constant kVTCompressionPropertyKey_PreserveDynamicHDRMetadata
1186
+ @abstract
1187
+ Controls whether or not to preserve any dynamic HDR metadata on the input pixel buffer
1188
+ @discussion
1189
+ If set to false, and kVTCompressionPropertyKey_HDRMetadataInsertionMode is not
1190
+ kVTHDRMetadataInsertionMode_None, then VTCompressionSession will generate the
1191
+ dynamic HDR metadata for the pixel buffer, if the HDR format is supported.
1192
+ */
1193
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PreserveDynamicHDRMetadata // CFBoolean, Write, Optional
1194
+ API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
1195
+
1196
+ /*!
1197
+ @constant kVTVideoEncoderSpecification_EnableLowLatencyRateControl
1198
+ @abstract
1199
+ Requires that an encoder which supports low-latency operation be selected, and enables low-latency mode.
1200
+ @discussion
1201
+ Low latency RateControl enforces the following behaviors:
1202
+ - Infinite GOP (all P frames following the beginning IDR).
1203
+ - No frame reordering (B frame) or looking ahead.
1204
+ - Only High profiles. Levels are left for the encoder to automatically set.
1205
+ - Temporal Layer structure.
1206
+
1207
+ Also see:
1208
+ kVTCompressionPropertyKey_AverageBitRate
1209
+ kVTCompressionPropertyKey_BaseLayerFrameRateFraction
1210
+ kVTEncodeFrameOptionKey_ForceKeyFrame
1211
+ */
1212
+ VT_EXPORT const CFStringRef kVTVideoEncoderSpecification_EnableLowLatencyRateControl API_AVAILABLE(macos(11.3), ios(14.5), tvos(14.5), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional
1213
+
1214
+ /*!
1215
+ @constant kVTCompressionPropertyKey_MaxAllowedFrameQP
1216
+ @abstract
1217
+ Specifies the maximum allowed encoded frame QP (Quantization Parameter).
1218
+ @discussion
1219
+ This is an optional parameter. Use it only when you have a specific requirement for the video quality and you are
1220
+ familiar with frame QP. To satisfy this requirement, the encoder may drop frames to maintain bitrate and QP goals.
1221
+ This is not supported in all encoders or in all encoder operating modes. kVTPropertyNotSupportedErr will be
1222
+ returned when this option is not supported.
1223
+ */
1224
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaxAllowedFrameQP API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumberRef, Optional
1225
+
1226
+ /*!
1227
+ @constant kVTCompressionPropertyKey_MinAllowedFrameQP
1228
+ @abstract
1229
+ Specifies the minimum allowed encoded frame QP (Quantization Parameter).
1230
+ @discussion
1231
+ This is an optional parameter. Use it only when you have a specific requirement for the video quality and you are
1232
+ familiar with frame QP.
1233
+ This is not supported in all encoders or in all encoder operating modes. kVTPropertyNotSupportedErr will be
1234
+ returned when this option is not supported.
1235
+ */
1236
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MinAllowedFrameQP API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFNumberRef, Optional
1237
+
1238
+ /*!
1239
+ @constant kVTCompressionPropertyKey_EnableLTR
1240
+ @abstract
1241
+ Enable Long Term Reference (LTR) frames during encoding
1242
+ @discussion
1243
+ When an LTR frame is encoded, encoder will signal a unique token of the LTR frame in the encoder callback through:
1244
+ kVTSampleAttachmentKey_RequireLTRAcknowledgementToken
1245
+ Clients are responsible for reporting acknowledged LTR frames to the encoder through:
1246
+ kVTEncodeFrameOptionKey_AcknowledgedLTRTokens
1247
+ Client can request a refresh frame at any time through:
1248
+ kVTEncodeFrameOptionKey_ForceLTRRefresh
1249
+ Encoder will encode a P frame by using one of acknowledged LTR frames
1250
+ as the reference. Encoder will encode a new reference frame using an acknowledged LTR, or an IDR if no LTR frames have been acknowledged.
1251
+
1252
+ Also see:
1253
+ kVTEncodeFrameOptionKey_AcknowledgedLTRTokens
1254
+ kVTEncodeFrameOptionKey_ForceLTRRefresh
1255
+ kVTSampleAttachmentKey_RequireLTRAcknowledgementToken
1256
+ */
1257
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_EnableLTR API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // Read/write, CFBoolean, Optional
1258
+
1259
+ /*!
1260
+ @constant kVTEncodeFrameOptionKey_AcknowledgedLTRTokens
1261
+ @abstract
1262
+ A CFArray of CFNumbers containing the kVTSampleAttachmentKey_RequireLTRAcknowledgementToken values which have been successfully sent to the receiver and can be used as references
1263
+ @discussion
1264
+ When an LTR frame is encoded, the encoder will return a unique token for the LTR frame on the output CMSampleBuffer through kVTSampleAttachmentKey_RequireLTRAcknowledgementToken.
1265
+ This token is then returned to the encoder via kVTEncodeFrameOptionKey_AcknowledgedLTRTokens when the LTR frame is received by the remote consumer(s).
1266
+
1267
+ Also see:
1268
+ kVTCompressionPropertyKey_EnableLTR
1269
+ kVTEncodeFrameOptionKey_ForceLTRRefresh
1270
+ kVTSampleAttachmentKey_RequireLTRAcknowledgementToken
1271
+ */
1272
+ VT_EXPORT const CFStringRef kVTEncodeFrameOptionKey_AcknowledgedLTRTokens API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFArray[CFNumberRef], Optional
1273
+
1274
+ /*!
1275
+ @constant kVTEncodeFrameOptionKey_ForceLTRRefresh
1276
+ @abstract
1277
+ Set this option to kCFBooleanTrue to force an LTR refresh
1278
+ @discussion
1279
+ When the encoder receives this request on an incoming frame, the encoder will encode a new reference frame using a previously
1280
+ acknowledged LTR, or it will encode a new IDR if no LTR frames have been acknowledged.
1281
+
1282
+ Also see:
1283
+ kVTCompressionPropertyKey_EnableLTR
1284
+ kVTEncodeFrameOptionKey_AcknowledgedLTRTokens
1285
+ kVTSampleAttachmentKey_RequireLTRAcknowledgementToken
1286
+ */
1287
+ VT_EXPORT const CFStringRef kVTEncodeFrameOptionKey_ForceLTRRefresh API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumberRef, Optional
1288
+
1289
+ /*!
1290
+ @constant kVTSampleAttachmentKey_RequireLTRAcknowledgementToken
1291
+ @abstract
1292
+ CFNumber containing a unique token for this LTR
1293
+ @discussion
1294
+ This CMSampleBuffer attachment contains a unique token which can be returned to the encoder through
1295
+ kVTEncodeFrameOptionKey_AcknowledgedLTRTokens to indicate that the LTR has been received and may be used as a reference.
1296
+
1297
+ Also see:
1298
+ kVTCompressionPropertyKey_EnableLTR
1299
+ kVTEncodeFrameOptionKey_AcknowledgedLTRTokens
1300
+ kVTEncodeFrameOptionKey_ForceLTRRefresh
1301
+ */
1302
+ VT_EXPORT const CFStringRef kVTSampleAttachmentKey_RequireLTRAcknowledgementToken API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), visionos(1.0)) API_UNAVAILABLE(watchos); // CFNumberRef, Optional
1303
+
1304
+ #pragma mark Multi-image compression
1305
+
1306
+ /*!
1307
+ @constant kVTCompressionPropertyKey_MVHEVCVideoLayerIDs
1308
+ @abstract
1309
+ Requests multi-image encoding; advises encoder to expect CMTaggedBufferGroups with specific CMTags referencing these MV-HEVC VideoLayerIDs.
1310
+ @discussion
1311
+ MV-HEVC specific.
1312
+ The property value is a CFArray containing VideoLayerIDs as CFNumbers.
1313
+ The property is NULL by default.
1314
+ */
1315
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MVHEVCVideoLayerIDs API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // Read/write, CFArray(CFNumber), Optional
1316
+
1317
+ /*!
1318
+ @constant kVTCompressionPropertyKey_MVHEVCViewIDs
1319
+ @abstract
1320
+ Specifies the ViewIDs corresponding to the VideoLayerIDs provided via kVTCompressionPropertyKey_MVHEVCVideoLayerIDs.
1321
+ @discussion
1322
+ MV-HEVC specific.
1323
+ The property value is a CFArray containing ViewIDs as CFNumbers.
1324
+ The entries in this array should be in the same order and have the same count as the value set via kVTCompressionPropertyKey_MVHEVCVideoLayerIDs.
1325
+ The property is NULL by default.
1326
+ */
1327
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MVHEVCViewIDs API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // Read/write, CFArray(CFNumber), Optional
1328
+
1329
+ /*!
1330
+ @constant kVTCompressionPropertyKey_MVHEVCLeftAndRightViewIDs
1331
+ @abstract
1332
+ Specifies which of the ViewIDs provided via kVTCompressionPropertyKey_MVHEVCViewIDs is the "left view id" and which is the "right view id".
1333
+ @discussion
1334
+ MV-HEVC specific.
1335
+ These ViewIDs will be incorporated into the 3D Reference Displays Info SEI message.
1336
+ The property value is a CFArray containing two ViewIDs as CFNumbers with the first correspponding to the left eye and the second corresponding to the right eye.
1337
+ The property is NULL by default.
1338
+ */
1339
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MVHEVCLeftAndRightViewIDs API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // Read/write, CFArray[CFNumber(left view ID), CFNumber(right view ID)], Optional
1340
+
1341
+ #pragma mark VideoExtendedUsage signaling
1342
+
1343
+ /*!
1344
+ @constant kVTCompressionPropertyKey_HeroEye
1345
+ @abstract
1346
+ Specifies the value of kCMFormatDescriptionExtension_HeroEye.
1347
+ @discussion
1348
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1349
+ */
1350
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_HeroEye API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFString, see kCMFormatDescriptionExtension_HeroEye
1351
+ VT_EXPORT const CFStringRef kVTHeroEye_Left API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1352
+ VT_EXPORT const CFStringRef kVTHeroEye_Right API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1353
+
1354
+ /*!
1355
+ @constant kVTCompressionPropertyKey_StereoCameraBaseline
1356
+ @abstract
1357
+ Specifies the value of kCMFormatDescriptionExtension_StereoCameraBaseline.
1358
+ @discussion
1359
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1360
+ */
1361
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_StereoCameraBaseline API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFNumber(uint32), see kCMFormatDescriptionExtension_StereoCameraBaseline
1362
+
1363
+ /*!
1364
+ @constant kVTCompressionPropertyKey_HorizontalDisparityAdjustment
1365
+ @abstract
1366
+ Specifies the value of kCMFormatDescriptionExtension_HorizontalDisparityAdjustment.
1367
+ @discussion
1368
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1369
+ */
1370
+
1371
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_HorizontalDisparityAdjustment API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFNumber(int32), see kCMFormatDescriptionExtension_HorizontalDisparityAdjustment
1372
+
1373
+ /*!
1374
+ @constant kVTCompressionPropertyKey_HasLeftStereoEyeView
1375
+ @abstract
1376
+ Specifies the value of kCMFormatDescriptionExtension_HasLeftStereoEyeView.
1377
+ @discussion
1378
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1379
+ */
1380
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_HasLeftStereoEyeView API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean, see kCMFormatDescriptionExtension_HasLeftStereoEyeView
1381
+
1382
+ /*!
1383
+ @constant kVTCompressionPropertyKey_HasRightStereoEyeView
1384
+ @abstract
1385
+ Specifies the value of kCMFormatDescriptionExtension_HasRightStereoEyeView.
1386
+ @discussion
1387
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1388
+ */
1389
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_HasRightStereoEyeView API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean, see kCMFormatDescriptionExtension_HasRightStereoEyeView
1390
+
1391
+ /*!
1392
+ @constant kVTCompressionPropertyKey_HorizontalFieldOfView
1393
+ @abstract
1394
+ Specifies the value of kCMFormatDescriptionExtension_HorizontalFieldOfView.
1395
+ @discussion
1396
+ The value is a CFNumber holding an unsigned 32-bit integer that is interpreted in millidegree or thousandths of a degree (e.g., 123456 is 123.456 degree).
1397
+ This property is optional and should only be specified if the field of view is known.
1398
+ */
1399
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_HorizontalFieldOfView API_AVAILABLE(macos(14.4), ios(17.4), visionos(1.1)) API_UNAVAILABLE(tvos, watchos); // CFNumber(uint32) as millidegrees
1400
+
1401
+ /*!
1402
+ @constant kVTCompressionPropertyKey_ProjectionKind
1403
+ @abstract
1404
+ Specifies the value of kCMFormatDescriptionExtension_ProjectionKind.
1405
+ @discussion
1406
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1407
+ */
1408
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ProjectionKind API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos); // CFString, see kCMFormatDescriptionExtension_ProjectionKind.
1409
+ VT_EXPORT const CFStringRef kVTProjectionKind_Rectilinear API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1410
+ VT_EXPORT const CFStringRef kVTProjectionKind_Equirectangular API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1411
+ VT_EXPORT const CFStringRef kVTProjectionKind_HalfEquirectangular API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1412
+ VT_EXPORT const CFStringRef kVTProjectionKind_ParametricImmersive API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1413
+ VT_EXPORT const CFStringRef kVTProjectionKind_AppleImmersiveVideo API_AVAILABLE(macos(27.0), ios(27.0), visionos(27.0)) API_UNAVAILABLE(tvos, watchos);
1414
+ /*!
1415
+ @constant kVTCompressionPropertyKey_ViewPackingKind
1416
+ @abstract
1417
+ Specifies the value of kCMFormatDescriptionExtension_ViewPackingKind.
1418
+ @discussion
1419
+ The value will be set on the format description for output samples and may affect the decoded frame presentation.
1420
+ */
1421
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ViewPackingKind API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos); // CFString, see kCMFormatDescriptionExtension_ViewPackingKind.
1422
+ VT_EXPORT const CFStringRef kVTViewPackingKind_SideBySide API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1423
+ VT_EXPORT const CFStringRef kVTViewPackingKind_OverUnder API_AVAILABLE(macos(26.0), ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos);
1424
+
1425
+ /*!
1426
+ @constant kVTCompressionPropertyKey_CameraCalibrationDataLensCollection
1427
+ @abstract Specifies intrinsic and extrinsic parameters for single or multiple lenses.
1428
+ @discussion
1429
+ The property value is an array of dictionaries describing the camera calibration data for each lens. The camera calibration data includes intrinsics and extrinics with other parameters.
1430
+ For a stereoscopic camera system, the left and right lens signaling can be done with the kVTCompressionPropertyCameraCalibrationKey_LensRole key and its value.
1431
+ The following keys are required in each kVTCompressionPropertyKey_CameraCalibrationDataLensCollection dictionary.
1432
+ kVTCompressionPropertyCameraCalibrationKey_LensAlgorithmKind
1433
+ kVTCompressionPropertyCameraCalibrationKey_LensDomain
1434
+ kVTCompressionPropertyCameraCalibrationKey_LensIdentifier
1435
+ kVTCompressionPropertyCameraCalibrationKey_LensRole
1436
+ kVTCompressionPropertyCameraCalibrationKey_LensDistortions
1437
+ kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialX
1438
+ kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialY
1439
+ kVTCompressionPropertyCameraCalibrationKey_RadialAngleLimit
1440
+ kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrix
1441
+ kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixProjectionOffset
1442
+ kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixReferenceDimensions
1443
+ kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOriginSource
1444
+ kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOrientationQuaternion
1445
+ */
1446
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_CameraCalibrationDataLensCollection API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray of CFDictionaries
1447
+
1448
+ /*!
1449
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensAlgorithmKind
1450
+ @abstract Specifies the camera calibration methodology.
1451
+ @discussion
1452
+ If the algorithm kind is ParametricLens, the camera lens collection requires camera intrinsic and extrinsic parameters.
1453
+ */
1454
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensAlgorithmKind API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFString one of
1455
+ VT_EXPORT const CFStringRef kVTCameraCalibrationLensAlgorithmKind_ParametricLens API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1456
+
1457
+ /*
1458
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensDomain
1459
+ @abstract Specifies the kind of lens (e.g., color).
1460
+ */
1461
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensDomain API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFString one of
1462
+ VT_EXPORT const CFStringRef kVTCameraCalibrationLensDomain_Color API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1463
+
1464
+ /*
1465
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensIdentifier
1466
+ @abstract Specifies a unique number associated with a lens.
1467
+ */
1468
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensIdentifier API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(int32)
1469
+
1470
+ /*
1471
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensRole
1472
+ @abstract Specifies the particular use of the lens in the camera system (e.g., left or right for a stereo system).
1473
+ @discussion
1474
+ For a stereoscopic camera system, one lens should have the left role and another should have the right role.
1475
+ */
1476
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensRole API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFString one of
1477
+ VT_EXPORT const CFStringRef kVTCameraCalibrationLensRole_Mono API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1478
+ VT_EXPORT const CFStringRef kVTCameraCalibrationLensRole_Left API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1479
+ VT_EXPORT const CFStringRef kVTCameraCalibrationLensRole_Right API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1480
+
1481
+ /*
1482
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensDistortions
1483
+ @abstract Specifies the first and second radial distortion coefficients(k1 and k2) used to correct the distortion that appeared as curved lines for straight lines and the first and second tangential distortion coefficients(p1 and p2) used to correct the distortion caused by a lens's improper alignment of physical elements.
1484
+ @discussion
1485
+ The values are in a CFArray of four CFNumbers in k1, k2, p1 and p2 order.
1486
+ */
1487
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensDistortions API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray[CFNumber(float)]
1488
+
1489
+ /*
1490
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialX
1491
+ @abstract Specifies a three element polynomial for mapping x axis UV parameters with an adjustment using the equation `x' = polynomialX[0] + polynomialX[1]*x + polynomialX[2]*x^3`.
1492
+ @discussion
1493
+ The values are in a CFArray of three CFNumbers(float) in the order polynomialX[0], polynomialX[1] & polynomialX[2].
1494
+ The polynomial transform origin is at the center of the frame. The default values of elements of polynomialX[] are [0.0, 1.0, 0.0].
1495
+ */
1496
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialX API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray[CFNumber(float)]
1497
+
1498
+ /*
1499
+ @constant kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialY
1500
+ @abstract Specifies a three element polynomial for mapping y axis UV parameters with an adjustment using the equation `y' = polynomialY[0] + polynomialY[1]*y + polynomialY[2]*y^3`.
1501
+ @discussion
1502
+ The values are in a CFArray of three CFNumbers(float) in the order polynomialY[0], polynomialY[1] & polynomialY[2].
1503
+ The polynomial transform origin is at the center of the frame. The default values of elements of polynomialY[] are [0.0, 1.0, 0.0].
1504
+ */
1505
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialY API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray[CFNumber(float)]
1506
+
1507
+ /*
1508
+ @constant kVTCompressionPropertyCameraCalibrationKey_RadialAngleLimit
1509
+ @abstract Specifies the outer limit of the calibration validity in degrees of angle eccentric from the optical axis.
1510
+ @discussion
1511
+ The value is linked to radial distortion corrections with k1 and k2.
1512
+ */
1513
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_RadialAngleLimit API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(float)
1514
+
1515
+ /*
1516
+ @constant kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrix
1517
+ @abstract Specifies the 3x3 camera intrinsic matrix for camera calibration.
1518
+ @discussion
1519
+ Camera intrinsic matrix is a CFData containing a matrix_float3x3, which is column-major. Each element is in IEEE754 native-endian 32-bit floating point. It has the following contents:
1520
+ fx s cx
1521
+ 0 fy cy
1522
+ 0 0 1
1523
+ fx and fy are the focal length in pixels. For square pixels, they will have the same value.
1524
+ cx and cy are the coordinates of the principal point. The origin is the upper left of the frame.
1525
+ s is an optional skew factor.
1526
+ */
1527
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrix API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFData(matrix_float3x3)
1528
+
1529
+ /*
1530
+ @constant kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixProjectionOffset
1531
+ @abstract Specifies the offset of the point of perspective relative to the rectilinear projection.
1532
+ */
1533
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixProjectionOffset API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(float)
1534
+
1535
+ /*
1536
+ @constant kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixReferenceDimensions
1537
+ @abstract Specifies the image dimensions to which the camera’s intrinsic matrix values are relative.
1538
+ @discussion
1539
+ Values are width and height in a CFDictionary. Dictionary keys are compatible with CGSize dictionary, namely "Width" and "Height".
1540
+ */
1541
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixReferenceDimensions API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CGSize dictionary
1542
+
1543
+ /*
1544
+ @constant kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOriginSource
1545
+ @abstract Identifies how the origin of the camera system's extrinsics are determined.
1546
+ @discussion
1547
+ The 'blin' value indicates the center of transform is determined by the point mid way along the dimensions indicated by the StereoCameraSystemBaselineBox held in the StereoCameraSystemBox.
1548
+ Each left and right lens within a stereoscopic camera system is equidistant from this point, so the 'blin' value is halved when associated with the respective left and right lenses.
1549
+ */
1550
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOriginSource API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFString one of
1551
+
1552
+ VT_EXPORT const CFStringRef kVTCameraCalibrationExtrinsicOriginSource_StereoCameraSystemBaseline API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1553
+
1554
+ /*
1555
+ @constant kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOrientationQuaternion
1556
+ @abstract Specifies a camera’s orientation to a world or scene coordinate system. The orientation value is a unit quaternion(ix, iy, and iz) instead of the classical 3x3 matrix.
1557
+ @discussion
1558
+ The values are in a CFArray of three CFNumbers in ix, iy, and iz order.
1559
+ */
1560
+ VT_EXPORT const CFStringRef kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOrientationQuaternion API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray[CFNumber(float)], , ix, iy & iz order
1561
+
1562
+ /*!
1563
+ @constant kVTCompressionPropertyKey_SuggestedLookAheadFrameCount
1564
+ @abstract
1565
+ Requests that the encoder retain the specified number of frames during encoding. These frames will be used for additional analysis and statistics
1566
+ gathering before the frame is finally encoded at the end of the window. When this property is not set, video encoder will automatically determine
1567
+ the number of lookahead frames.
1568
+ @discussion
1569
+ Encoder will choose number of lookahead frames closer to the suggested value based on internal configuration. This property directly affects latency
1570
+ of the video encoder. The following properties also affect look ahead frames:
1571
+ 1. Value of this property must be less than or equal to `kVTCompressionPropertyKey_MaxFrameDelayCount`.
1572
+ 2. This property is ignored when `VTVideoEncoderSpecification_EnableLowLatencyRateControl` is set to true
1573
+ 3. This property is ignored when `kVTCompressionPropertyKey_Quality` is set to 1.0
1574
+ 4. This property can not be used in conjunction with multi-pass feature (`kVTCompressionPropertyKey_MultiPassStorage`)
1575
+ */
1576
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_SuggestedLookAheadFrameCount API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos); // Read/write, CFNumberRef, Optional
1577
+
1578
+ /*!
1579
+ @constant kVTCompressionPropertyKey_SpatialAdaptiveQPLevel
1580
+ @abstract
1581
+ Control spatial adaptation of the quantization parameter (QP) based on per-frame statistics.
1582
+ If set to kVTQPModulationLevel_Disable, spatial QP adaptation is not applied based on per-frame statistics.
1583
+ If set to kVTQPModulationLevel_Default, video encoder is allowed to apply spatial QP adaptation for each macro block (or coding unit) within a video frame.
1584
+ QP adaptation is based on spatial characteristics of a frame and the level of spatial QP adaptation is decided internally by the rate controller.
1585
+ @discussion
1586
+ This property must be disabled when low latency rate control is enabled. Support for this property is codec dependent.
1587
+ */
1588
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_SpatialAdaptiveQPLevel API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos); // Read/write, CFNumberRef, Optional
1589
+ enum {
1590
+ kVTQPModulationLevel_Default = -1,
1591
+ kVTQPModulationLevel_Disable = 0,
1592
+ };
1593
+
1594
+ /*!
1595
+ @constant kVTCompressionPropertyKey_ConstantQualityFactor
1596
+ @abstract
1597
+ Requires the encoder to maintain consistent quality by specifying a target constant quality factor in the range of 0.0 to 1.0.
1598
+ @discussion
1599
+ In contrast to cases where kVTCompressionPropertyKey_Quality will cause the quantization parameter to adhere to a fixed value, this property is designed for consistent visual quality with or without bitrate limit constraints.
1600
+ 0.0 is the lowest quality and 1.0 implies the highest quality possible.
1601
+ */
1602
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ConstantQualityFactor API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), visionos(27.0)); // Read/write, CFNumber<Float>, Optional
1603
+
1604
+ #pragma mark Encoder Settings Assistant
1605
+
1606
+ /*!
1607
+ @constant kVTCompressionPropertyKey_SupportedPresetDictionaries
1608
+ @abstract
1609
+ Where supported by video encoders, returns a dictionary whose keys are the available compression presets (prefixed by `kVTCompressionPreset_`) and the values are dictionaries containing the corresponding settings property key/value pairs.
1610
+ @discussion
1611
+ Clients can select a compression preset for their encoding needs and use its encoder settings to configure the encoder.
1612
+ Clients may also use the encoder settings as a base configuration that they can customize as they require.
1613
+
1614
+ See also kVTCompressionPreset_HighQuality, kVTCompressionPreset_Balanced, kVTCompressionPreset_HighSpeed, kVTCompressionPreset_VideoConferencing, kVTCompressionPreset_ConsistentQuality.
1615
+ */
1616
+ VT_EXPORT const CFStringRef kVTCompressionPropertyKey_SupportedPresetDictionaries API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // Read-only, CFDictionary
1617
+
1618
+ /*!
1619
+ @constant kVTCompressionPreset_HighQuality
1620
+ @abstract
1621
+ A preset to achieve a high compression quality.
1622
+ @discussion
1623
+ An encoder configured using this preset is expected to achieve a higher quality with a slower encoding than an encoder configured with the preset kVTCompressionPreset_Balanced or kVTCompressionPreset_HighSpeed.
1624
+ The presets kVTCompressionPreset_Balanced and kVTCompressionPreset_HighSpeed may be preferred for a faster encoding.
1625
+
1626
+ See also kVTCompressionPreset_Balanced, kVTCompressionPreset_HighSpeed, kVTCompressionPreset_VideoConferencing, kVTCompressionPreset_ConsistentQuality.
1627
+ */
1628
+ VT_EXPORT const CFStringRef kVTCompressionPreset_HighQuality API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1629
+
1630
+ /*!
1631
+ @constant kVTCompressionPreset_Balanced
1632
+ @abstract
1633
+ A preset to provide a balanced compression quality and encoding speed.
1634
+ @discussion
1635
+ An encoder configured using this preset is expected to achieve a higher quality than an encoder configured with the preset kVTCompressionPreset_HighSpeed.
1636
+ The preset kVTCompressionPreset_HighSpeed may be preferred for a faster encoding.
1637
+ The preset kVTCompressionPreset_HighQuality may be preferred for a higher compression quality.
1638
+
1639
+ See also kVTCompressionPreset_HighQuality, kVTCompressionPreset_HighSpeed, kVTCompressionPreset_VideoConferencing, kVTCompressionPreset_ConsistentQuality.
1640
+ */
1641
+ VT_EXPORT const CFStringRef kVTCompressionPreset_Balanced API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1642
+
1643
+ /*!
1644
+ @constant kVTCompressionPreset_HighSpeed
1645
+ @abstract
1646
+ A preset to provide a high-speed encoding.
1647
+ @discussion
1648
+ An encoder configured using this preset is expected to achieve a faster encoding at a lower compression quality than an encoder configured with the preset kVTCompressionPreset_HighQuality or kVTCompressionPreset_Balanced.
1649
+ The presets kVTCompressionPreset_HighQuality and kVTCompressionPreset_Balanced may be preferred for a higher compression quality.
1650
+
1651
+ See also kVTCompressionPreset_HighQuality, kVTCompressionPreset_Balanced, kVTCompressionPreset_VideoConferencing, kVTCompressionPreset_ConsistentQuality.
1652
+ */
1653
+ VT_EXPORT const CFStringRef kVTCompressionPreset_HighSpeed API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1654
+
1655
+ /*!
1656
+ @constant kVTCompressionPreset_VideoConferencing
1657
+ @abstract
1658
+ A preset to achieve low-latency encoding for real-time communication applications.
1659
+ @discussion
1660
+ This preset requires setting kVTVideoEncoderSpecification_EnableLowLatencyRateControl to kCFBooleanTrue for encoding in the low-latency mode.
1661
+
1662
+ See also kVTCompressionPreset_HighQuality, kVTCompressionPreset_Balanced, kVTCompressionPreset_HighSpeed, kVTCompressionPreset_ConsistentQuality.
1663
+ */
1664
+ VT_EXPORT const CFStringRef kVTCompressionPreset_VideoConferencing API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0));
1665
+
1666
+ /*!
1667
+ @constant kVTCompressionPreset_ConsistentQuality
1668
+ @abstract
1669
+ A preset to achieve consistent quality encoding across frames.
1670
+ @discussion
1671
+ An encoder configured using this preset is expected to achieve consistent quality across frames with relaxed rate-control constraints.
1672
+
1673
+ See also kVTCompressionPreset_HighQuality, kVTCompressionPreset_Balanced, kVTCompressionPreset_HighSpeed, kVTCompressionPreset_VideoConferencing.
1674
+ */
1675
+ VT_EXPORT const CFStringRef kVTCompressionPreset_ConsistentQuality API_AVAILABLE(macos(27.0), ios(27.0), tvos(27.0), watchos(27.0), visionos(27.0));
1676
+
1677
+
1678
+ CM_ASSUME_NONNULL_END
1679
+
1680
+ #pragma pack(pop)
1681
+
1682
+ #if defined(__cplusplus)
1683
+ }
1684
+ #endif
1685
+
1686
+ #endif // VTCOMPRESSIONPROPERTIES_H