pyobjc-framework-Cinematic 12.2.2__tar.gz → 13.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.
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/Cinematic/__init__.py +4 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/Cinematic/_metadata.py +109 -4
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/pyobjc_framework_Cinematic.egg-info/PKG-INFO +8 -8
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/pyobjc_framework_Cinematic.egg-info/SOURCES.txt +3 -2
- pyobjc_framework_cinematic-13.0/Lib/pyobjc_framework_Cinematic.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_cinematic-13.0/Lib/pyobjc_framework_Cinematic.egg-info/requires.txt +5 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PKG-INFO +8 -8
- pyobjc_framework_cinematic-13.0/PyObjCTest/test_cnassetinfo.py +72 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cncinematicerror.py +2 -1
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cndetection.py +1 -1
- pyobjc_framework_cinematic-13.0/PyObjCTest/test_cnimagerenderingsession.py +19 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cnrenderingsession.py +1 -1
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cnspatialaudio.py +1 -1
- pyobjc_framework_cinematic-13.0/metadata/Cinematic.fwinfo +19 -0
- pyobjc_framework_cinematic-12.2.2/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_cinematic-13.0/metadata/raw/arm64-27.fwinfo +926 -134
- pyobjc_framework_cinematic-12.2.2/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_cinematic-13.0/metadata/raw/x86_64-27.fwinfo +926 -134
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/pyobjc_setup.py +7 -7
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/setup.py +1 -1
- pyobjc_framework_cinematic-12.2.2/Lib/pyobjc_framework_Cinematic.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_cinematic-12.2.2/Lib/pyobjc_framework_Cinematic.egg-info/requires.txt +0 -5
- pyobjc_framework_cinematic-12.2.2/PyObjCTest/test_cnassetinfo.py +0 -18
- pyobjc_framework_cinematic-12.2.2/metadata/Cinematic.fwinfo +0 -100
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/pyobjc_framework_Cinematic.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/pyobjc_framework_Cinematic.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/pyobjc_framework_Cinematic.egg-info/top_level.txt +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/License.txt +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/MANIFEST.in +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cinematic.py +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cndecision.py +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cndetectiontrack.py +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cnobjecttracker.py +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cnscript.py +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/pyproject.toml +0 -0
- {pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/setup.cfg +0 -0
{pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/Cinematic/__init__.py
RENAMED
|
@@ -57,6 +57,10 @@ def _setup():
|
|
|
57
57
|
("CNRenderingSession", b"new"),
|
|
58
58
|
("CNAssetSpatialAudioInfo", b"init"),
|
|
59
59
|
("CNAssetSpatialAudioInfo", b"new"),
|
|
60
|
+
("CNImageRenderingSessionConfiguration", b"init"),
|
|
61
|
+
("CNImageRenderingSessionConfiguration", b"new"),
|
|
62
|
+
("CNImageRenderingSession", b"init"),
|
|
63
|
+
("CNImageRenderingSession", b"new"),
|
|
60
64
|
):
|
|
61
65
|
objc.registerUnavailableMethod(cls, sel)
|
|
62
66
|
|
{pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/Lib/Cinematic/_metadata.py
RENAMED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sun May 24 11:43:39 2026
|
|
4
|
-
#
|
|
5
3
|
# flake8: noqa
|
|
6
4
|
|
|
7
5
|
import objc, sys
|
|
@@ -31,14 +29,17 @@ else:
|
|
|
31
29
|
|
|
32
30
|
misc = {}
|
|
33
31
|
constants = """$CNCinematicErrorDomain$"""
|
|
34
|
-
enums = """$CNCinematicErrorCodeCancelled@7$CNCinematicErrorCodeIncompatible@6$CNCinematicErrorCodeIncomplete@3$CNCinematicErrorCodeMalformed@4$CNCinematicErrorCodeUnknown@1$CNCinematicErrorCodeUnreadable@2$CNCinematicErrorCodeUnsupported@5$CNDetectionTypeAutoFocus@100$CNDetectionTypeCatBody@4$CNDetectionTypeCatHead@9$CNDetectionTypeCustom@102$CNDetectionTypeDogBody@5$CNDetectionTypeDogHead@10$CNDetectionTypeFixedFocus@101$CNDetectionTypeHumanFace@1$CNDetectionTypeHumanHead@2$CNDetectionTypeHumanTorso@3$CNDetectionTypeSportsBall@11$CNDetectionTypeUnknown@0$CNRenderingQualityExport@2$CNRenderingQualityExportHigh@3$CNRenderingQualityPreview@1$CNRenderingQualityThumbnail@0$CNSpatialAudioContentTypeSpatial@1$CNSpatialAudioContentTypeStereo@0$CNSpatialAudioRenderingStyleCinematic@0$CNSpatialAudioRenderingStyleCinematicBackgroundStem@3$CNSpatialAudioRenderingStyleCinematicForegroundStem@4$CNSpatialAudioRenderingStyleInFrame@2$CNSpatialAudioRenderingStyleInFrameBackgroundStem@9$CNSpatialAudioRenderingStyleInFrameForegroundStem@6$CNSpatialAudioRenderingStyleStandard@7$CNSpatialAudioRenderingStyleStudio@1$CNSpatialAudioRenderingStyleStudioBackgroundStem@8$CNSpatialAudioRenderingStyleStudioForegroundStem@5$"""
|
|
32
|
+
enums = """$CNCinematicCapabilityNeedsPreprocessing@2$CNCinematicCapabilityNone@0$CNCinematicCapabilityRenderable@1$CNCinematicErrorCodeCancelled@7$CNCinematicErrorCodeDownloadFailed@8$CNCinematicErrorCodeIncompatible@6$CNCinematicErrorCodeIncomplete@3$CNCinematicErrorCodeMalformed@4$CNCinematicErrorCodeUnknown@1$CNCinematicErrorCodeUnreadable@2$CNCinematicErrorCodeUnsupported@5$CNCinematicResourceVersion1@1$CNDetectionTypeAutoFocus@100$CNDetectionTypeCatBody@4$CNDetectionTypeCatHead@9$CNDetectionTypeCustom@102$CNDetectionTypeDogBody@5$CNDetectionTypeDogHead@10$CNDetectionTypeFixedFocus@101$CNDetectionTypeHumanFace@1$CNDetectionTypeHumanHead@2$CNDetectionTypeHumanTorso@3$CNDetectionTypeSportsBall@11$CNDetectionTypeUnknown@0$CNRenderingQualityExport@2$CNRenderingQualityExportHigh@3$CNRenderingQualityPreview@1$CNRenderingQualityThumbnail@0$CNResourceStatusNeedsDownloading@1$CNResourceStatusReady@0$CNResourceStatusUnsupportedAsset@3$CNResourceStatusUnsupportedDevice@2$CNSpatialAudioContentTypeSpatial@1$CNSpatialAudioContentTypeStereo@0$CNSpatialAudioRenderingStyleCinematic@0$CNSpatialAudioRenderingStyleCinematicBackgroundStem@3$CNSpatialAudioRenderingStyleCinematicForegroundStem@4$CNSpatialAudioRenderingStyleInFrame@2$CNSpatialAudioRenderingStyleInFrameBackgroundStem@9$CNSpatialAudioRenderingStyleInFrameForegroundStem@6$CNSpatialAudioRenderingStyleStandard@7$CNSpatialAudioRenderingStyleStudio@1$CNSpatialAudioRenderingStyleStudioBackgroundStem@8$CNSpatialAudioRenderingStyleStudioForegroundStem@5$"""
|
|
35
33
|
misc.update(
|
|
36
34
|
{
|
|
37
35
|
"CNDetectionType": NewType("CNDetectionType", int),
|
|
36
|
+
"CNCinematicCapability": NewType("CNCinematicCapability", int),
|
|
38
37
|
"CNRenderingQuality": NewType("CNRenderingQuality", int),
|
|
39
38
|
"CNCinematicErrorCode": NewType("CNCinematicErrorCode", int),
|
|
40
|
-
"
|
|
39
|
+
"CNCinematicResourceVersion": NewType("CNCinematicResourceVersion", int),
|
|
40
|
+
"CNResourceStatus": NewType("CNResourceStatus", int),
|
|
41
41
|
"CNSpatialAudioContentType": NewType("CNSpatialAudioContentType", int),
|
|
42
|
+
"CNSpatialAudioRenderingStyle": NewType("CNSpatialAudioRenderingStyle", int),
|
|
42
43
|
}
|
|
43
44
|
)
|
|
44
45
|
misc.update({})
|
|
@@ -46,6 +47,20 @@ misc.update({})
|
|
|
46
47
|
r = objc.registerMetaDataForSelector
|
|
47
48
|
objc._updatingMetadata(True)
|
|
48
49
|
try:
|
|
50
|
+
r(
|
|
51
|
+
b"CNAssetInfo",
|
|
52
|
+
b"checkCinematicCapabilityForAsset:completionHandler:",
|
|
53
|
+
{
|
|
54
|
+
"arguments": {
|
|
55
|
+
3: {
|
|
56
|
+
"callable": {
|
|
57
|
+
"retval": {"type": b"v"},
|
|
58
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
)
|
|
49
64
|
r(
|
|
50
65
|
b"CNAssetInfo",
|
|
51
66
|
b"checkIfCinematic:completionHandler:",
|
|
@@ -60,6 +75,39 @@ try:
|
|
|
60
75
|
}
|
|
61
76
|
},
|
|
62
77
|
)
|
|
78
|
+
r(
|
|
79
|
+
b"CNAssetInfo",
|
|
80
|
+
b"downloadResourcesForVersions:timeout:completionHandler:",
|
|
81
|
+
{
|
|
82
|
+
"arguments": {
|
|
83
|
+
4: {
|
|
84
|
+
"callable": {
|
|
85
|
+
"retval": {"type": b"v"},
|
|
86
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
)
|
|
92
|
+
r(
|
|
93
|
+
b"CNAssetInfo",
|
|
94
|
+
b"downloadResourcesWithTimeout:completionHandler:",
|
|
95
|
+
{
|
|
96
|
+
"arguments": {
|
|
97
|
+
3: {
|
|
98
|
+
"callable": {
|
|
99
|
+
"retval": {"type": b"v"},
|
|
100
|
+
"arguments": {
|
|
101
|
+
0: {"type": b"^v"},
|
|
102
|
+
1: {"type": b"@"},
|
|
103
|
+
2: {"type": b"@"},
|
|
104
|
+
},
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
)
|
|
110
|
+
r(b"CNAssetInfo", b"isPreprocessed", {"retval": {"type": b"Z"}})
|
|
63
111
|
r(
|
|
64
112
|
b"CNAssetInfo",
|
|
65
113
|
b"loadFromAsset:completionHandler:",
|
|
@@ -78,11 +126,39 @@ try:
|
|
|
78
126
|
}
|
|
79
127
|
},
|
|
80
128
|
)
|
|
129
|
+
r(
|
|
130
|
+
b"CNAssetInfo",
|
|
131
|
+
b"preprocessAssetWithConfiguration:completionHandler:",
|
|
132
|
+
{
|
|
133
|
+
"arguments": {
|
|
134
|
+
3: {
|
|
135
|
+
"callable": {
|
|
136
|
+
"retval": {"type": b"v"},
|
|
137
|
+
"arguments": {
|
|
138
|
+
0: {"type": b"^v"},
|
|
139
|
+
1: {"type": b"@"},
|
|
140
|
+
2: {"type": b"@"},
|
|
141
|
+
},
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
)
|
|
81
147
|
r(
|
|
82
148
|
b"CNAssetInfo",
|
|
83
149
|
b"timeRange",
|
|
84
150
|
{"retval": {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}},
|
|
85
151
|
)
|
|
152
|
+
r(
|
|
153
|
+
b"CNAssetPreprocessConfiguration",
|
|
154
|
+
b"referenceSourceAssetTracks",
|
|
155
|
+
{"retval": {"type": b"Z"}},
|
|
156
|
+
)
|
|
157
|
+
r(
|
|
158
|
+
b"CNAssetPreprocessConfiguration",
|
|
159
|
+
b"setReferenceSourceAssetTracks:",
|
|
160
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
161
|
+
)
|
|
86
162
|
r(
|
|
87
163
|
b"CNAssetSpatialAudioInfo",
|
|
88
164
|
b"checkIfContainsSpatialAudio:completionHandler:",
|
|
@@ -172,6 +248,21 @@ try:
|
|
|
172
248
|
)
|
|
173
249
|
r(b"CNDetectionTrack", b"isDiscrete", {"retval": {"type": b"Z"}})
|
|
174
250
|
r(b"CNDetectionTrack", b"isUserCreated", {"retval": {"type": b"Z"}})
|
|
251
|
+
r(
|
|
252
|
+
b"CNImageRenderingSession",
|
|
253
|
+
b"encodeRenderToCommandBuffer:sourceRGBA:sourceDisparity:destinationRGBA:fNumber:focusDisparity:",
|
|
254
|
+
{"retval": {"type": b"Z"}},
|
|
255
|
+
)
|
|
256
|
+
r(
|
|
257
|
+
b"CNImageRenderingSession",
|
|
258
|
+
b"encodeTileRenderToCommandBuffer:sourceTileRGBA:sourceDisparity:destinationTileRGBA:fNumber:focusDisparity:sourceRGBASize:tileOffset:tileExtendOffset:",
|
|
259
|
+
{"retval": {"type": b"Z"}},
|
|
260
|
+
)
|
|
261
|
+
r(
|
|
262
|
+
b"CNImageRenderingSessionConfiguration",
|
|
263
|
+
b"isRenderingVersionSupported:",
|
|
264
|
+
{"retval": {"type": b"Z"}},
|
|
265
|
+
)
|
|
175
266
|
r(
|
|
176
267
|
b"CNObjectTracker",
|
|
177
268
|
b"continueTrackingAt:sourceImage:sourceDisparity:",
|
|
@@ -312,6 +403,9 @@ finally:
|
|
|
312
403
|
objc._updatingMetadata(False)
|
|
313
404
|
|
|
314
405
|
objc.registerNewKeywordsFromSelector("CNAssetInfo", b"init")
|
|
406
|
+
objc.registerNewKeywordsFromSelector(
|
|
407
|
+
"CNAssetPreprocessConfiguration", b"initWithDestinationAssetURL:"
|
|
408
|
+
)
|
|
315
409
|
objc.registerNewKeywordsFromSelector("CNAssetSpatialAudioInfo", b"init")
|
|
316
410
|
objc.registerNewKeywordsFromSelector(
|
|
317
411
|
"CNCustomDetectionTrack", b"initWithDetections:smooth:"
|
|
@@ -332,6 +426,17 @@ objc.registerNewKeywordsFromSelector(
|
|
|
332
426
|
objc.registerNewKeywordsFromSelector(
|
|
333
427
|
"CNFixedDetectionTrack", b"initWithOriginalDetection:"
|
|
334
428
|
)
|
|
429
|
+
objc.registerNewKeywordsFromSelector("CNImageRenderingSession", b"init")
|
|
430
|
+
objc.registerNewKeywordsFromSelector(
|
|
431
|
+
"CNImageRenderingSession", b"initWithConfiguration:"
|
|
432
|
+
)
|
|
433
|
+
objc.registerNewKeywordsFromSelector("CNImageRenderingSessionConfiguration", b"init")
|
|
434
|
+
objc.registerNewKeywordsFromSelector(
|
|
435
|
+
"CNImageRenderingSessionConfiguration", b"initWithQuality:"
|
|
436
|
+
)
|
|
437
|
+
objc.registerNewKeywordsFromSelector(
|
|
438
|
+
"CNImageRenderingSessionConfiguration", b"initWithQuality:renderingVersion:"
|
|
439
|
+
)
|
|
335
440
|
objc.registerNewKeywordsFromSelector("CNObjectTracker", b"init")
|
|
336
441
|
objc.registerNewKeywordsFromSelector("CNObjectTracker", b"initWithCommandQueue:")
|
|
337
442
|
objc.registerNewKeywordsFromSelector("CNRenderingSession", b"init")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-Cinematic
|
|
3
|
-
Version:
|
|
3
|
+
Version: 13.0
|
|
4
4
|
Summary: Wrappers for the framework Cinematic on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,24 +17,24 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.16
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.11
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
35
|
-
Requires-Dist: pyobjc-framework-AVFoundation>=
|
|
36
|
-
Requires-Dist: pyobjc-framework-CoreMedia>=
|
|
37
|
-
Requires-Dist: pyobjc-framework-Metal>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=13.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=13.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-AVFoundation>=13.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-CoreMedia>=13.0
|
|
37
|
+
Requires-Dist: pyobjc-framework-Metal>=13.0
|
|
38
38
|
Dynamic: author
|
|
39
39
|
Dynamic: author-email
|
|
40
40
|
Dynamic: classifier
|
|
@@ -19,11 +19,12 @@ PyObjCTest/test_cncinematicerror.py
|
|
|
19
19
|
PyObjCTest/test_cndecision.py
|
|
20
20
|
PyObjCTest/test_cndetection.py
|
|
21
21
|
PyObjCTest/test_cndetectiontrack.py
|
|
22
|
+
PyObjCTest/test_cnimagerenderingsession.py
|
|
22
23
|
PyObjCTest/test_cnobjecttracker.py
|
|
23
24
|
PyObjCTest/test_cnrenderingsession.py
|
|
24
25
|
PyObjCTest/test_cnscript.py
|
|
25
26
|
PyObjCTest/test_cnspatialaudio.py
|
|
26
27
|
metadata/Cinematic.fwinfo
|
|
27
28
|
metadata/metadata.ini
|
|
28
|
-
metadata/raw/arm64-
|
|
29
|
-
metadata/raw/x86_64-
|
|
29
|
+
metadata/raw/arm64-27.fwinfo
|
|
30
|
+
metadata/raw/x86_64-27.fwinfo
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-Cinematic
|
|
3
|
-
Version:
|
|
3
|
+
Version: 13.0
|
|
4
4
|
Summary: Wrappers for the framework Cinematic on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,24 +17,24 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.16
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.11
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
35
|
-
Requires-Dist: pyobjc-framework-AVFoundation>=
|
|
36
|
-
Requires-Dist: pyobjc-framework-CoreMedia>=
|
|
37
|
-
Requires-Dist: pyobjc-framework-Metal>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=13.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=13.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-AVFoundation>=13.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-CoreMedia>=13.0
|
|
37
|
+
Requires-Dist: pyobjc-framework-Metal>=13.0
|
|
38
38
|
Dynamic: author
|
|
39
39
|
Dynamic: author-email
|
|
40
40
|
Dynamic: classifier
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
|
|
3
|
+
import Cinematic
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestCNAssetInfo(TestCase):
|
|
7
|
+
def test_constants(self):
|
|
8
|
+
self.assertIsEnumType(Cinematic.CNCinematicResourceVersion)
|
|
9
|
+
self.assertEqual(Cinematic.CNCinematicResourceVersion1, 1)
|
|
10
|
+
|
|
11
|
+
self.assertIsEnumType(Cinematic.CNCinematicCapability)
|
|
12
|
+
self.assertEqual(Cinematic.CNCinematicCapabilityNone, 0)
|
|
13
|
+
self.assertEqual(Cinematic.CNCinematicCapabilityRenderable, 1)
|
|
14
|
+
self.assertEqual(Cinematic.CNCinematicCapabilityNeedsPreprocessing, 2)
|
|
15
|
+
|
|
16
|
+
self.assertIsEnumType(Cinematic.CNResourceStatus)
|
|
17
|
+
self.assertEqual(Cinematic.CNResourceStatusReady, 0)
|
|
18
|
+
self.assertEqual(Cinematic.CNResourceStatusNeedsDownloading, 1)
|
|
19
|
+
self.assertEqual(Cinematic.CNResourceStatusUnsupportedDevice, 2)
|
|
20
|
+
self.assertEqual(Cinematic.CNResourceStatusUnsupportedAsset, 3)
|
|
21
|
+
|
|
22
|
+
def test_methods(self):
|
|
23
|
+
self.assertArgIsBlock(
|
|
24
|
+
Cinematic.CNAssetInfo.loadFromAsset_completionHandler_, 1, b"v@@"
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
self.assertResultIsBOOL(
|
|
28
|
+
Cinematic.CNCompositionInfo.insertTimeRange_ofCinematicAssetInfo_atTime_error_
|
|
29
|
+
)
|
|
30
|
+
self.assertArgIsOut(
|
|
31
|
+
Cinematic.CNCompositionInfo.insertTimeRange_ofCinematicAssetInfo_atTime_error_,
|
|
32
|
+
3,
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
@min_os_level("27.0")
|
|
36
|
+
def test_methods27_0(self):
|
|
37
|
+
self.assertResultIsBOOL(
|
|
38
|
+
Cinematic.CNAssetPreprocessConfiguration.referenceSourceAssetTracks
|
|
39
|
+
)
|
|
40
|
+
self.assertArgIsBOOL(
|
|
41
|
+
Cinematic.CNAssetPreprocessConfiguration.setReferenceSourceAssetTracks_, 0
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
self.assertArgIsBlock(
|
|
45
|
+
Cinematic.CNAssetInfo.checkCinematicCapabilityForAsset_completionHandler_,
|
|
46
|
+
1,
|
|
47
|
+
b"vq",
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
self.assertArgIsBlock(
|
|
51
|
+
Cinematic.CNAssetInfo.checkIfCinematic_completionHandler_, 1, b"vZ"
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
self.assertArgIsBlock(
|
|
55
|
+
Cinematic.CNAssetInfo.downloadResourcesForVersions_timeout_completionHandler_,
|
|
56
|
+
2,
|
|
57
|
+
b"v@",
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
self.assertArgIsBlock(
|
|
61
|
+
Cinematic.CNAssetInfo.downloadResourcesWithTimeout_completionHandler_,
|
|
62
|
+
1,
|
|
63
|
+
b"v@@",
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
self.assertArgIsBlock(
|
|
67
|
+
Cinematic.CNAssetInfo.preprocessAssetWithConfiguration_completionHandler_,
|
|
68
|
+
1,
|
|
69
|
+
b"v@@",
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
self.assertResultIsBOOL(Cinematic.CNAssetInfo.isPreprocessed)
|
|
@@ -4,7 +4,7 @@ import Cinematic
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestCNCinematicError(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(Cinematic.CNCinematicErrorCode)
|
|
9
9
|
self.assertEqual(Cinematic.CNCinematicErrorCodeUnknown, 1)
|
|
10
10
|
self.assertEqual(Cinematic.CNCinematicErrorCodeUnreadable, 2)
|
|
@@ -13,3 +13,4 @@ class TestCNCinematicError(TestCase):
|
|
|
13
13
|
self.assertEqual(Cinematic.CNCinematicErrorCodeUnsupported, 5)
|
|
14
14
|
self.assertEqual(Cinematic.CNCinematicErrorCodeIncompatible, 6)
|
|
15
15
|
self.assertEqual(Cinematic.CNCinematicErrorCodeCancelled, 7)
|
|
16
|
+
self.assertEqual(Cinematic.CNCinematicErrorCodeDownloadFailed, 8)
|
{pyobjc_framework_cinematic-12.2.2 → pyobjc_framework_cinematic-13.0}/PyObjCTest/test_cndetection.py
RENAMED
|
@@ -4,7 +4,7 @@ import Cinematic
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestCNDetection(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(Cinematic.CNDetectionType)
|
|
9
9
|
self.assertEqual(Cinematic.CNDetectionTypeUnknown, 0)
|
|
10
10
|
self.assertEqual(Cinematic.CNDetectionTypeHumanFace, 1)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
|
|
3
|
+
import Cinematic
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestCNImageRenderingSession(TestCase):
|
|
7
|
+
@min_os_level("27.0")
|
|
8
|
+
def test_methods27_0(self):
|
|
9
|
+
self.assertResultIsBOOL(
|
|
10
|
+
Cinematic.CNImageRenderingSessionConfiguration.isRenderingVersionSupported_
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
self.assertResultIsBOOL(
|
|
14
|
+
Cinematic.CNImageRenderingSession.encodeRenderToCommandBuffer_sourceRGBA_sourceDisparity_destinationRGBA_fNumber_focusDisparity_
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
self.assertResultIsBOOL(
|
|
18
|
+
Cinematic.CNImageRenderingSession.encodeTileRenderToCommandBuffer_sourceTileRGBA_sourceDisparity_destinationTileRGBA_fNumber_focusDisparity_sourceRGBASize_tileOffset_tileExtendOffset_
|
|
19
|
+
)
|
|
@@ -4,7 +4,7 @@ import Cinematic
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestCNRenderingSession(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(Cinematic.CNRenderingQuality)
|
|
9
9
|
self.assertEqual(Cinematic.CNRenderingQualityThumbnail, 0)
|
|
10
10
|
self.assertEqual(Cinematic.CNRenderingQualityPreview, 1)
|
|
@@ -4,7 +4,7 @@ import Cinematic
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestCNSpatialAudio(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(Cinematic.CNSpatialAudioRenderingStyle)
|
|
9
9
|
self.assertEqual(Cinematic.CNSpatialAudioRenderingStyleCinematic, 0)
|
|
10
10
|
self.assertEqual(Cinematic.CNSpatialAudioRenderingStyleStudio, 1)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// objective.metadata exceptions file, see its document
|
|
2
|
+
// for information on how to update this file.
|
|
3
|
+
{
|
|
4
|
+
"definitions": {
|
|
5
|
+
"classes": {
|
|
6
|
+
"CNCompositionInfo": {
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"args": {
|
|
10
|
+
"3": { "type_modifier": "o" }
|
|
11
|
+
},
|
|
12
|
+
"class_method": false,
|
|
13
|
+
"selector": "insertTimeRange:ofCinematicAssetInfo:atTime:error:"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|