winrt-Windows.Media.Devices.Core 2.2.0__cp313-cp313-win_arm64.whl

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.
@@ -0,0 +1,245 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
15
+ import winrt.windows.media.mediaproperties as windows_media_mediaproperties
16
+ import winrt.windows.perception.spatial as windows_perception_spatial
17
+
18
+ from winrt.windows.media.devices.core import FrameFlashMode
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class CameraIntrinsics(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> CameraIntrinsics: ...
26
+ def __new__(cls: typing.Type[CameraIntrinsics], focal_length: windows_foundation_numerics.Vector2, principal_point: windows_foundation_numerics.Vector2, radial_distortion: windows_foundation_numerics.Vector3, tangential_distortion: windows_foundation_numerics.Vector2, image_width: winrt.system.UInt32, image_height: winrt.system.UInt32) -> CameraIntrinsics: ...
27
+ def distort_point(self, input: windows_foundation.Point, /) -> windows_foundation.Point: ...
28
+ def distort_points(self, inputs: winrt.system.Array[windows_foundation.Point], results: winrt.system.Array[windows_foundation.Point], /) -> None: ...
29
+ def project_many_onto_frame(self, coordinates: winrt.system.Array[windows_foundation_numerics.Vector3], results: winrt.system.Array[windows_foundation.Point], /) -> None: ...
30
+ def project_onto_frame(self, coordinate: windows_foundation_numerics.Vector3, /) -> windows_foundation.Point: ...
31
+ def undistort_point(self, input: windows_foundation.Point, /) -> windows_foundation.Point: ...
32
+ def undistort_points(self, inputs: winrt.system.Array[windows_foundation.Point], results: winrt.system.Array[windows_foundation.Point], /) -> None: ...
33
+ def unproject_at_unit_depth(self, pixel_coordinate: windows_foundation.Point, /) -> windows_foundation_numerics.Vector2: ...
34
+ def unproject_pixels_at_unit_depth(self, pixel_coordinates: winrt.system.Array[windows_foundation.Point], results: winrt.system.Array[windows_foundation_numerics.Vector2], /) -> None: ...
35
+ @_property
36
+ def focal_length(self) -> windows_foundation_numerics.Vector2: ...
37
+ @_property
38
+ def image_height(self) -> winrt.system.UInt32: ...
39
+ @_property
40
+ def image_width(self) -> winrt.system.UInt32: ...
41
+ @_property
42
+ def principal_point(self) -> windows_foundation_numerics.Vector2: ...
43
+ @_property
44
+ def radial_distortion(self) -> windows_foundation_numerics.Vector3: ...
45
+ @_property
46
+ def tangential_distortion(self) -> windows_foundation_numerics.Vector2: ...
47
+ @_property
48
+ def undistorted_projection_transform(self) -> windows_foundation_numerics.Matrix4x4: ...
49
+
50
+ @typing.final
51
+ class DepthCorrelatedCoordinateMapper(winrt.system.Object):
52
+ def __enter__(self: Self) -> Self: ...
53
+ def __exit__(self, *args) -> None: ...
54
+ @staticmethod
55
+ def _from(obj: winrt.system.Object, /) -> DepthCorrelatedCoordinateMapper: ...
56
+ def close(self) -> None: ...
57
+ def map_point(self, source_point: windows_foundation.Point, target_coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], target_camera_intrinsics: typing.Optional[CameraIntrinsics], /) -> windows_foundation.Point: ...
58
+ def map_points(self, source_points: winrt.system.Array[windows_foundation.Point], target_coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], target_camera_intrinsics: typing.Optional[CameraIntrinsics], results: winrt.system.Array[windows_foundation.Point], /) -> None: ...
59
+ def unproject_point(self, source_point: windows_foundation.Point, target_coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], /) -> windows_foundation_numerics.Vector3: ...
60
+ def unproject_points(self, source_points: winrt.system.Array[windows_foundation.Point], target_coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], results: winrt.system.Array[windows_foundation_numerics.Vector3], /) -> None: ...
61
+
62
+ @typing.final
63
+ class FrameControlCapabilities(winrt.system.Object):
64
+ @staticmethod
65
+ def _from(obj: winrt.system.Object, /) -> FrameControlCapabilities: ...
66
+ @_property
67
+ def exposure(self) -> typing.Optional[FrameExposureCapabilities]: ...
68
+ @_property
69
+ def exposure_compensation(self) -> typing.Optional[FrameExposureCompensationCapabilities]: ...
70
+ @_property
71
+ def focus(self) -> typing.Optional[FrameFocusCapabilities]: ...
72
+ @_property
73
+ def iso_speed(self) -> typing.Optional[FrameIsoSpeedCapabilities]: ...
74
+ @_property
75
+ def photo_confirmation_supported(self) -> bool: ...
76
+ @_property
77
+ def flash(self) -> typing.Optional[FrameFlashCapabilities]: ...
78
+
79
+ @typing.final
80
+ class FrameController(winrt.system.Object):
81
+ @staticmethod
82
+ def _from(obj: winrt.system.Object, /) -> FrameController: ...
83
+ def __new__(cls: typing.Type[FrameController]) -> FrameController: ...
84
+ @_property
85
+ def photo_confirmation_enabled(self) -> typing.Optional[typing.Optional[bool]]: ...
86
+ @photo_confirmation_enabled.setter
87
+ def photo_confirmation_enabled(self, value: typing.Optional[typing.Optional[bool]]) -> None: ...
88
+ @_property
89
+ def exposure_compensation_control(self) -> typing.Optional[FrameExposureCompensationControl]: ...
90
+ @_property
91
+ def exposure_control(self) -> typing.Optional[FrameExposureControl]: ...
92
+ @_property
93
+ def focus_control(self) -> typing.Optional[FrameFocusControl]: ...
94
+ @_property
95
+ def iso_speed_control(self) -> typing.Optional[FrameIsoSpeedControl]: ...
96
+ @_property
97
+ def flash_control(self) -> typing.Optional[FrameFlashControl]: ...
98
+
99
+ @typing.final
100
+ class FrameExposureCapabilities(winrt.system.Object):
101
+ @staticmethod
102
+ def _from(obj: winrt.system.Object, /) -> FrameExposureCapabilities: ...
103
+ @_property
104
+ def max(self) -> datetime.timedelta: ...
105
+ @_property
106
+ def min(self) -> datetime.timedelta: ...
107
+ @_property
108
+ def step(self) -> datetime.timedelta: ...
109
+ @_property
110
+ def supported(self) -> bool: ...
111
+
112
+ @typing.final
113
+ class FrameExposureCompensationCapabilities(winrt.system.Object):
114
+ @staticmethod
115
+ def _from(obj: winrt.system.Object, /) -> FrameExposureCompensationCapabilities: ...
116
+ @_property
117
+ def max(self) -> winrt.system.Single: ...
118
+ @_property
119
+ def min(self) -> winrt.system.Single: ...
120
+ @_property
121
+ def step(self) -> winrt.system.Single: ...
122
+ @_property
123
+ def supported(self) -> bool: ...
124
+
125
+ @typing.final
126
+ class FrameExposureCompensationControl(winrt.system.Object):
127
+ @staticmethod
128
+ def _from(obj: winrt.system.Object, /) -> FrameExposureCompensationControl: ...
129
+ @_property
130
+ def value(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
131
+ @value.setter
132
+ def value(self, value: typing.Optional[typing.Optional[winrt.system.Single]]) -> None: ...
133
+
134
+ @typing.final
135
+ class FrameExposureControl(winrt.system.Object):
136
+ @staticmethod
137
+ def _from(obj: winrt.system.Object, /) -> FrameExposureControl: ...
138
+ @_property
139
+ def value(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
140
+ @value.setter
141
+ def value(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
142
+ @_property
143
+ def auto(self) -> bool: ...
144
+ @auto.setter
145
+ def auto(self, value: bool) -> None: ...
146
+
147
+ @typing.final
148
+ class FrameFlashCapabilities(winrt.system.Object):
149
+ @staticmethod
150
+ def _from(obj: winrt.system.Object, /) -> FrameFlashCapabilities: ...
151
+ @_property
152
+ def power_supported(self) -> bool: ...
153
+ @_property
154
+ def red_eye_reduction_supported(self) -> bool: ...
155
+ @_property
156
+ def supported(self) -> bool: ...
157
+
158
+ @typing.final
159
+ class FrameFlashControl(winrt.system.Object):
160
+ @staticmethod
161
+ def _from(obj: winrt.system.Object, /) -> FrameFlashControl: ...
162
+ @_property
163
+ def red_eye_reduction(self) -> bool: ...
164
+ @red_eye_reduction.setter
165
+ def red_eye_reduction(self, value: bool) -> None: ...
166
+ @_property
167
+ def power_percent(self) -> winrt.system.Single: ...
168
+ @power_percent.setter
169
+ def power_percent(self, value: winrt.system.Single) -> None: ...
170
+ @_property
171
+ def mode(self) -> FrameFlashMode: ...
172
+ @mode.setter
173
+ def mode(self, value: FrameFlashMode) -> None: ...
174
+ @_property
175
+ def auto(self) -> bool: ...
176
+ @auto.setter
177
+ def auto(self, value: bool) -> None: ...
178
+
179
+ @typing.final
180
+ class FrameFocusCapabilities(winrt.system.Object):
181
+ @staticmethod
182
+ def _from(obj: winrt.system.Object, /) -> FrameFocusCapabilities: ...
183
+ @_property
184
+ def max(self) -> winrt.system.UInt32: ...
185
+ @_property
186
+ def min(self) -> winrt.system.UInt32: ...
187
+ @_property
188
+ def step(self) -> winrt.system.UInt32: ...
189
+ @_property
190
+ def supported(self) -> bool: ...
191
+
192
+ @typing.final
193
+ class FrameFocusControl(winrt.system.Object):
194
+ @staticmethod
195
+ def _from(obj: winrt.system.Object, /) -> FrameFocusControl: ...
196
+ @_property
197
+ def value(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
198
+ @value.setter
199
+ def value(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
200
+
201
+ @typing.final
202
+ class FrameIsoSpeedCapabilities(winrt.system.Object):
203
+ @staticmethod
204
+ def _from(obj: winrt.system.Object, /) -> FrameIsoSpeedCapabilities: ...
205
+ @_property
206
+ def max(self) -> winrt.system.UInt32: ...
207
+ @_property
208
+ def min(self) -> winrt.system.UInt32: ...
209
+ @_property
210
+ def step(self) -> winrt.system.UInt32: ...
211
+ @_property
212
+ def supported(self) -> bool: ...
213
+
214
+ @typing.final
215
+ class FrameIsoSpeedControl(winrt.system.Object):
216
+ @staticmethod
217
+ def _from(obj: winrt.system.Object, /) -> FrameIsoSpeedControl: ...
218
+ @_property
219
+ def value(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
220
+ @value.setter
221
+ def value(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
222
+ @_property
223
+ def auto(self) -> bool: ...
224
+ @auto.setter
225
+ def auto(self, value: bool) -> None: ...
226
+
227
+ @typing.final
228
+ class VariablePhotoSequenceController(winrt.system.Object):
229
+ @staticmethod
230
+ def _from(obj: winrt.system.Object, /) -> VariablePhotoSequenceController: ...
231
+ def get_current_frame_rate(self) -> typing.Optional[windows_media_mediaproperties.MediaRatio]: ...
232
+ def get_highest_concurrent_frame_rate(self, capture_properties: typing.Optional[windows_media_mediaproperties.IMediaEncodingProperties], /) -> typing.Optional[windows_media_mediaproperties.MediaRatio]: ...
233
+ @_property
234
+ def photos_per_second_limit(self) -> winrt.system.Single: ...
235
+ @photos_per_second_limit.setter
236
+ def photos_per_second_limit(self, value: winrt.system.Single) -> None: ...
237
+ @_property
238
+ def desired_frame_controllers(self) -> typing.Optional[windows_foundation_collections.IVector[FrameController]]: ...
239
+ @_property
240
+ def frame_capabilities(self) -> typing.Optional[FrameControlCapabilities]: ...
241
+ @_property
242
+ def max_photos_per_second(self) -> winrt.system.Single: ...
243
+ @_property
244
+ def supported(self) -> bool: ...
245
+
@@ -0,0 +1,46 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_media_devices_core
7
+
8
+ __all__ = [
9
+ "FrameFlashMode",
10
+ "CameraIntrinsics",
11
+ "DepthCorrelatedCoordinateMapper",
12
+ "FrameControlCapabilities",
13
+ "FrameController",
14
+ "FrameExposureCapabilities",
15
+ "FrameExposureCompensationCapabilities",
16
+ "FrameExposureCompensationControl",
17
+ "FrameExposureControl",
18
+ "FrameFlashCapabilities",
19
+ "FrameFlashControl",
20
+ "FrameFocusCapabilities",
21
+ "FrameFocusControl",
22
+ "FrameIsoSpeedCapabilities",
23
+ "FrameIsoSpeedControl",
24
+ "VariablePhotoSequenceController",
25
+ ]
26
+
27
+ class FrameFlashMode(enum.IntEnum):
28
+ DISABLE = 0
29
+ ENABLE = 1
30
+ GLOBAL = 2
31
+
32
+ CameraIntrinsics = _winrt_windows_media_devices_core.CameraIntrinsics
33
+ DepthCorrelatedCoordinateMapper = _winrt_windows_media_devices_core.DepthCorrelatedCoordinateMapper
34
+ FrameControlCapabilities = _winrt_windows_media_devices_core.FrameControlCapabilities
35
+ FrameController = _winrt_windows_media_devices_core.FrameController
36
+ FrameExposureCapabilities = _winrt_windows_media_devices_core.FrameExposureCapabilities
37
+ FrameExposureCompensationCapabilities = _winrt_windows_media_devices_core.FrameExposureCompensationCapabilities
38
+ FrameExposureCompensationControl = _winrt_windows_media_devices_core.FrameExposureCompensationControl
39
+ FrameExposureControl = _winrt_windows_media_devices_core.FrameExposureControl
40
+ FrameFlashCapabilities = _winrt_windows_media_devices_core.FrameFlashCapabilities
41
+ FrameFlashControl = _winrt_windows_media_devices_core.FrameFlashControl
42
+ FrameFocusCapabilities = _winrt_windows_media_devices_core.FrameFocusCapabilities
43
+ FrameFocusControl = _winrt_windows_media_devices_core.FrameFocusControl
44
+ FrameIsoSpeedCapabilities = _winrt_windows_media_devices_core.FrameIsoSpeedCapabilities
45
+ FrameIsoSpeedControl = _winrt_windows_media_devices_core.FrameIsoSpeedControl
46
+ VariablePhotoSequenceController = _winrt_windows_media_devices_core.VariablePhotoSequenceController
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Media.Devices.Core
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Numerics[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Perception.Spatial[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Media.Devices.Core
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Media.Devices.Core` namespace.
28
+
29
+ This package provides the `winrt.windows.media.devices.core` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_media_devices_core.cp313-win_arm64.pyd,sha256=Qzv46k90N4WhabPH8anB-EkK8cAQEi2N-RyxnwFy_QU,200704
2
+ winrt/_winrt_windows_media_devices_core.pyi,sha256=TfyCpH6YtUHgNi7SazRwqm2BMCZxitKxKlnxgfCOK7c,11294
3
+ winrt/windows/media/devices/core/__init__.py,sha256=_O72zmf0m5uq1AoBttCgq5_ZkEPHXLVsWBCEkT9J1Q4,2039
4
+ winrt/windows/media/devices/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Media.Devices.Core-2.2.0.dist-info/METADATA,sha256=E2uwxyKAinIgwB_Z9pURBiQxsM_ftBg5lZ5O6vpABIA,1379
6
+ winrt_Windows.Media.Devices.Core-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.Media.Devices.Core-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Media.Devices.Core-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+