pyobjc-framework-VideoToolbox 11.0__tar.gz → 12.0__tar.gz

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 (74) hide show
  1. pyobjc_framework_videotoolbox-12.0/Lib/VideoToolbox/__init__.py +92 -0
  2. pyobjc_framework_videotoolbox-12.0/Lib/VideoToolbox/_metadata.py +920 -0
  3. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/PKG-INFO +21 -8
  4. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/SOURCES.txt +16 -11
  5. pyobjc_framework_videotoolbox-12.0/Lib/pyobjc_framework_VideoToolbox.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_videotoolbox-12.0/Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt +4 -0
  7. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/License.txt +1 -1
  8. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Modules/_VideoToolbox.m +20 -21
  9. pyobjc_framework_videotoolbox-12.0/Modules/_VideoToolbox_protocols.m +17 -0
  10. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Modules/pyobjc-api.h +6 -3
  11. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Modules/pyobjc-compat.h +113 -36
  12. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PKG-INFO +21 -8
  13. pyobjc_framework_videotoolbox-12.0/PyObjCTest/__init__.py +1 -0
  14. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtcompressionproperties.py +120 -0
  15. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtdecompressionproperties.py +11 -0
  16. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtdecompressionsession.py +15 -0
  17. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vterrors.py +4 -0
  18. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor.py +34 -0
  19. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_framerateconversion.py +49 -0
  20. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_lowLatencyframeinterpolation.py +10 -0
  21. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_lowlatencysuperresolutionscaler.h +3 -0
  22. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_motionblur.py +35 -0
  23. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_opticalflow.py +34 -0
  24. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_superresolutionscaler.py +65 -0
  25. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessor_temporalnoisefilter.py +16 -0
  26. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessorconfiguration.py +47 -0
  27. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessorerrors.py +25 -0
  28. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtframeprocessorparameters.py +8 -0
  29. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtmotionestimationsession.py +44 -0
  30. pyobjc_framework_videotoolbox-12.0/PyObjCTest/test_vtmotionestimationsessionproperties.py +20 -0
  31. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtpixelrotationsession.py +6 -0
  32. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtrawprocessingsession.py +9 -1
  33. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/metadata/VideoToolbox.fwinfo +67 -1
  34. pyobjc_framework_videotoolbox-12.0/metadata/raw/arm64-26.0.fwinfo +6539 -0
  35. pyobjc_framework_videotoolbox-12.0/metadata/raw/x86_64-26.0.fwinfo +6539 -0
  36. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/pyobjc_setup.py +9 -41
  37. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/setup.py +1 -1
  38. pyobjc_framework_videotoolbox-11.0/Lib/VideoToolbox/__init__.py +0 -41
  39. pyobjc_framework_videotoolbox-11.0/Lib/VideoToolbox/_metadata.py +0 -525
  40. pyobjc_framework_videotoolbox-11.0/Lib/pyobjc_framework_VideoToolbox.egg-info/pyobjc-build-info.txt +0 -3
  41. pyobjc_framework_videotoolbox-11.0/Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt +0 -4
  42. pyobjc_framework_videotoolbox-11.0/PyObjCTest/__init__.py +0 -1
  43. pyobjc_framework_videotoolbox-11.0/metadata/raw/arm64-12.3.fwinfo +0 -1628
  44. pyobjc_framework_videotoolbox-11.0/metadata/raw/arm64-13.0.fwinfo +0 -1745
  45. pyobjc_framework_videotoolbox-11.0/metadata/raw/arm64-14.5.fwinfo +0 -1974
  46. pyobjc_framework_videotoolbox-11.0/metadata/raw/arm64-15.0.fwinfo +0 -2326
  47. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-10.14.fwinfo +0 -1481
  48. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-10.15.fwinfo +0 -1530
  49. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-10.16.fwinfo +0 -1564
  50. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-12.3.fwinfo +0 -1628
  51. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-13.0.fwinfo +0 -1745
  52. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-14.5.fwinfo +0 -1974
  53. pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-15.0.fwinfo +0 -2326
  54. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/dependency_links.txt +0 -0
  55. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/not-zip-safe +0 -0
  56. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/top_level.txt +0 -0
  57. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/MANIFEST.in +0 -0
  58. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_videotoolbox.py +0 -0
  59. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtbase.py +0 -0
  60. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtcompressionsession.py +0 -0
  61. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtframesilo.py +0 -0
  62. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vthdrperframemetadatagenerationsession.py +0 -0
  63. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtmultipassstorage.py +0 -0
  64. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtpixelrotationproperties.py +0 -0
  65. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtpixeltransferproperties.py +0 -0
  66. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtpixeltransfersession.py +0 -0
  67. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtprofessionalvideoworkflow.py +0 -0
  68. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtrawprocessingproperties.py +0 -0
  69. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtsession.py +0 -0
  70. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtutilities.py +0 -0
  71. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/PyObjCTest/test_vtvideoencoderlist.py +0 -0
  72. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/metadata/metadata.ini +0 -0
  73. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/pyproject.toml +0 -0
  74. {pyobjc_framework_videotoolbox-11.0 → pyobjc_framework_videotoolbox-12.0}/setup.cfg +0 -0
@@ -0,0 +1,92 @@
1
+ """
2
+ Python mapping for the VideoToolbox framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Quartz
13
+ import CoreMedia
14
+ import Foundation
15
+ import objc
16
+ from . import _metadata, _VideoToolbox
17
+
18
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
19
+ name="VideoToolbox",
20
+ frameworkIdentifier="com.apple.VideoToolbox",
21
+ frameworkPath=objc.pathForFramework(
22
+ "/System/Library/Frameworks/VideoToolbox.framework"
23
+ ),
24
+ globals_dict=globals(),
25
+ inline_list=None,
26
+ parents=(
27
+ _VideoToolbox,
28
+ Quartz,
29
+ CoreMedia,
30
+ Foundation,
31
+ ),
32
+ metadict=_metadata.__dict__,
33
+ )
34
+
35
+ globals()["__dir__"] = dir_func
36
+ globals()["__getattr__"] = getattr_func
37
+
38
+ for cls in (
39
+ "VTFrameProcessorFrame",
40
+ "VTFrameProcessorOpticalFlow",
41
+ "VTFrameRateConversionConfiguration",
42
+ "VTFrameRateConversionParameters",
43
+ "VTMotionBlurConfiguration",
44
+ "VTMotionBlurParameters",
45
+ "VTOpticalFlowConfiguration",
46
+ "VTOpticalFlowParameters",
47
+ ):
48
+ try:
49
+ objc.lookUpClass(cls).__objc_final__ = True
50
+ except objc.error:
51
+ pass
52
+
53
+ for cls, sel in (
54
+ ("VTFrameProcessorFrame", b"init"),
55
+ ("VTFrameProcessorFrame", b"new"),
56
+ ("VTFrameProcessorOpticalFlow", b"init"),
57
+ ("VTFrameProcessorOpticalFlow", b"new"),
58
+ ("VTFrameRateConversionConfiguration", b"init"),
59
+ ("VTFrameRateConversionConfiguration", b"new"),
60
+ ("VTFrameRateConversionParameters", b"init"),
61
+ ("VTFrameRateConversionParameters", b"new"),
62
+ ("VTMotionBlurConfiguration", b"init"),
63
+ ("VTMotionBlurConfiguration", b"new"),
64
+ ("VTMotionBlurParameters", b"init"),
65
+ ("VTMotionBlurParameters", b"new"),
66
+ ("VTOpticalFlowConfiguration", b"init"),
67
+ ("VTOpticalFlowConfiguration", b"new"),
68
+ ("VTOpticalFlowParameters", b"init"),
69
+ ("VTOpticalFlowParameters", b"new"),
70
+ ("VTLowLatencyFrameInterpolationConfiguration", b"init"),
71
+ ("VTLowLatencyFrameInterpolationConfiguration", b"new"),
72
+ ("VTLowLatencyFrameInterpolationParameters", b"init"),
73
+ ("VTLowLatencyFrameInterpolationParameters", b"new"),
74
+ ("VTLowLatencySuperResolutionScalerConfiguration", b"init"),
75
+ ("VTLowLatencySuperResolutionScalerConfiguration", b"new"),
76
+ ("VTLowLatencySuperResolutionScalerParameters", b"init"),
77
+ ("VTLowLatencySuperResolutionScalerParameters", b"new"),
78
+ ("VTSuperResolutionScalerConfiguration", b"init"),
79
+ ("VTSuperResolutionScalerConfiguration", b"new"),
80
+ ("VTSuperResolutionScalerParameters", b"init"),
81
+ ("VTSuperResolutionScalerParameters", b"new"),
82
+ ("VTTemporalNoiseFilterConfiguration", b"init"),
83
+ ("VTTemporalNoiseFilterConfiguration", b"new"),
84
+ ("VTTemporalNoiseFilterParameters", b"init"),
85
+ ("VTTemporalNoiseFilterParameters", b"new"),
86
+ ):
87
+ objc.registerUnavailableMethod(cls, sel)
88
+
89
+ del sys.modules["VideoToolbox._metadata"]
90
+
91
+
92
+ globals().pop("_setup")()