winrt-Windows.Media.Effects 3.0.0__tar.gz → 3.2.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.
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/PKG-INFO +17 -17
- winrt_windows_media_effects-3.2.0/all-requirements.txt +15 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/py.Windows.Media.Effects.cpp +1 -224
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/pyproject.toml +2 -2
- winrt_windows_media_effects-3.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/requirements.txt +2 -2
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/setup.py +2 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt/_winrt_windows_media_effects.pyi +1 -17
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt/windows/media/effects/__init__.py +1 -3
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt_Windows.Media.Effects.egg-info/PKG-INFO +17 -17
- winrt_windows_media_effects-3.2.0/winrt_Windows.Media.Effects.egg-info/requires.txt +16 -0
- winrt_windows_media_effects-3.0.0/all-requirements.txt +0 -15
- winrt_windows_media_effects-3.0.0/pywinrt-version.txt +0 -1
- winrt_windows_media_effects-3.0.0/winrt_Windows.Media.Effects.egg-info/requires.txt +0 -16
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/README.md +0 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/setup.cfg +0 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt/windows/media/effects/py.typed +0 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt_Windows.Media.Effects.egg-info/SOURCES.txt +0 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt_Windows.Media.Effects.egg-info/dependency_links.txt +0 -0
- {winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/winrt_Windows.Media.Effects.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.Media.Effects
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -12,21 +12,21 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==3.
|
|
15
|
+
Requires-Dist: winrt-runtime==3.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==3.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==3.
|
|
20
|
-
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.
|
|
21
|
-
Requires-Dist: winrt-Windows.Media[all]==3.
|
|
22
|
-
Requires-Dist: winrt-Windows.Media.Capture[all]==3.
|
|
23
|
-
Requires-Dist: winrt-Windows.Media.Editing[all]==3.
|
|
24
|
-
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==3.
|
|
25
|
-
Requires-Dist: winrt-Windows.Media.Playback[all]==3.
|
|
26
|
-
Requires-Dist: winrt-Windows.Media.Render[all]==3.
|
|
27
|
-
Requires-Dist: winrt-Windows.Media.Transcoding[all]==3.
|
|
28
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.
|
|
29
|
-
Requires-Dist: winrt-Windows.UI[all]==3.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==3.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Media[all]==3.2.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Media.Capture[all]==3.2.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Media.Editing[all]==3.2.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==3.2.0; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Media.Playback[all]==3.2.0; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.Media.Render[all]==3.2.0; extra == "all"
|
|
27
|
+
Requires-Dist: winrt-Windows.Media.Transcoding[all]==3.2.0; extra == "all"
|
|
28
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.2.0; extra == "all"
|
|
29
|
+
Requires-Dist: winrt-Windows.UI[all]==3.2.0; extra == "all"
|
|
30
30
|
|
|
31
31
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
32
32
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==3.2.0
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==3.2.0
|
|
5
|
+
winrt-Windows.Foundation.Numerics[all]==3.2.0
|
|
6
|
+
winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.2.0
|
|
7
|
+
winrt-Windows.Media[all]==3.2.0
|
|
8
|
+
winrt-Windows.Media.Capture[all]==3.2.0
|
|
9
|
+
winrt-Windows.Media.Editing[all]==3.2.0
|
|
10
|
+
winrt-Windows.Media.MediaProperties[all]==3.2.0
|
|
11
|
+
winrt-Windows.Media.Playback[all]==3.2.0
|
|
12
|
+
winrt-Windows.Media.Render[all]==3.2.0
|
|
13
|
+
winrt-Windows.Media.Transcoding[all]==3.2.0
|
|
14
|
+
winrt-Windows.Storage.Streams[all]==3.2.0
|
|
15
|
+
winrt-Windows.UI[all]==3.2.0
|
{winrt_windows_media_effects-3.0.0 → winrt_windows_media_effects-3.2.0}/py.Windows.Media.Effects.cpp
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Media.Effects.h"
|
|
4
4
|
|
|
@@ -1629,223 +1629,6 @@ namespace py::cpp::Windows::Media::Effects
|
|
|
1629
1629
|
Py_TPFLAGS_DEFAULT,
|
|
1630
1630
|
_type_slots_ProcessVideoFrameContext};
|
|
1631
1631
|
|
|
1632
|
-
// ----- SlowMotionEffectDefinition class --------------------
|
|
1633
|
-
|
|
1634
|
-
static PyObject* _new_SlowMotionEffectDefinition(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
1635
|
-
{
|
|
1636
|
-
if (kwds)
|
|
1637
|
-
{
|
|
1638
|
-
py::set_invalid_kwd_args_error();
|
|
1639
|
-
return nullptr;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
auto arg_count = PyTuple_GET_SIZE(args);
|
|
1643
|
-
if (arg_count == 0)
|
|
1644
|
-
{
|
|
1645
|
-
try
|
|
1646
|
-
{
|
|
1647
|
-
winrt::Windows::Media::Effects::SlowMotionEffectDefinition instance{};
|
|
1648
|
-
return py::wrap(instance, type);
|
|
1649
|
-
}
|
|
1650
|
-
catch (...)
|
|
1651
|
-
{
|
|
1652
|
-
py::to_PyErr();
|
|
1653
|
-
return nullptr;
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
else
|
|
1657
|
-
{
|
|
1658
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
1659
|
-
return nullptr;
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
static void _dealloc_SlowMotionEffectDefinition(py::wrapper::Windows::Media::Effects::SlowMotionEffectDefinition* self) noexcept
|
|
1664
|
-
{
|
|
1665
|
-
auto tp = Py_TYPE(self);
|
|
1666
|
-
std::destroy_at(&self->obj);
|
|
1667
|
-
tp->tp_free(self);
|
|
1668
|
-
Py_DECREF(tp);
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
static PyObject* SlowMotionEffectDefinition_get_TimeStretchRate(py::wrapper::Windows::Media::Effects::SlowMotionEffectDefinition* self, void* /*unused*/) noexcept
|
|
1672
|
-
{
|
|
1673
|
-
try
|
|
1674
|
-
{
|
|
1675
|
-
static std::optional<bool> is_property_present{};
|
|
1676
|
-
|
|
1677
|
-
if (!is_property_present.has_value())
|
|
1678
|
-
{
|
|
1679
|
-
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.SlowMotionEffectDefinition", L"TimeStretchRate");
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
if (!is_property_present.value())
|
|
1683
|
-
{
|
|
1684
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1685
|
-
return nullptr;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
return py::convert([&]()
|
|
1689
|
-
{
|
|
1690
|
-
auto _gil = release_gil();
|
|
1691
|
-
return self->obj.TimeStretchRate();
|
|
1692
|
-
}());
|
|
1693
|
-
}
|
|
1694
|
-
catch (...)
|
|
1695
|
-
{
|
|
1696
|
-
py::to_PyErr();
|
|
1697
|
-
return nullptr;
|
|
1698
|
-
}
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
static int SlowMotionEffectDefinition_put_TimeStretchRate(py::wrapper::Windows::Media::Effects::SlowMotionEffectDefinition* self, PyObject* arg, void* /*unused*/) noexcept
|
|
1702
|
-
{
|
|
1703
|
-
if (!arg)
|
|
1704
|
-
{
|
|
1705
|
-
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
1706
|
-
return -1;
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
try
|
|
1710
|
-
{
|
|
1711
|
-
static std::optional<bool> is_property_present{};
|
|
1712
|
-
|
|
1713
|
-
if (!is_property_present.has_value())
|
|
1714
|
-
{
|
|
1715
|
-
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.SlowMotionEffectDefinition", L"TimeStretchRate");
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
if (!is_property_present.value())
|
|
1719
|
-
{
|
|
1720
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1721
|
-
return -1;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
auto param0 = py::convert_to<double>(arg);
|
|
1725
|
-
|
|
1726
|
-
{
|
|
1727
|
-
auto _gil = release_gil();
|
|
1728
|
-
self->obj.TimeStretchRate(param0);
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
return 0;
|
|
1732
|
-
}
|
|
1733
|
-
catch (...)
|
|
1734
|
-
{
|
|
1735
|
-
py::to_PyErr();
|
|
1736
|
-
return -1;
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
|
|
1740
|
-
static PyObject* SlowMotionEffectDefinition_get_ActivatableClassId(py::wrapper::Windows::Media::Effects::SlowMotionEffectDefinition* self, void* /*unused*/) noexcept
|
|
1741
|
-
{
|
|
1742
|
-
try
|
|
1743
|
-
{
|
|
1744
|
-
static std::optional<bool> is_property_present{};
|
|
1745
|
-
|
|
1746
|
-
if (!is_property_present.has_value())
|
|
1747
|
-
{
|
|
1748
|
-
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.SlowMotionEffectDefinition", L"ActivatableClassId");
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
if (!is_property_present.value())
|
|
1752
|
-
{
|
|
1753
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1754
|
-
return nullptr;
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
return py::convert([&]()
|
|
1758
|
-
{
|
|
1759
|
-
auto _gil = release_gil();
|
|
1760
|
-
return self->obj.ActivatableClassId();
|
|
1761
|
-
}());
|
|
1762
|
-
}
|
|
1763
|
-
catch (...)
|
|
1764
|
-
{
|
|
1765
|
-
py::to_PyErr();
|
|
1766
|
-
return nullptr;
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
static PyObject* SlowMotionEffectDefinition_get_Properties(py::wrapper::Windows::Media::Effects::SlowMotionEffectDefinition* self, void* /*unused*/) noexcept
|
|
1771
|
-
{
|
|
1772
|
-
try
|
|
1773
|
-
{
|
|
1774
|
-
static std::optional<bool> is_property_present{};
|
|
1775
|
-
|
|
1776
|
-
if (!is_property_present.has_value())
|
|
1777
|
-
{
|
|
1778
|
-
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.SlowMotionEffectDefinition", L"Properties");
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
if (!is_property_present.value())
|
|
1782
|
-
{
|
|
1783
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1784
|
-
return nullptr;
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
return py::convert([&]()
|
|
1788
|
-
{
|
|
1789
|
-
auto _gil = release_gil();
|
|
1790
|
-
return self->obj.Properties();
|
|
1791
|
-
}());
|
|
1792
|
-
}
|
|
1793
|
-
catch (...)
|
|
1794
|
-
{
|
|
1795
|
-
py::to_PyErr();
|
|
1796
|
-
return nullptr;
|
|
1797
|
-
}
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
static PyObject* _assign_array_SlowMotionEffectDefinition(PyObject* /*unused*/, PyObject* arg) noexcept
|
|
1801
|
-
{
|
|
1802
|
-
auto array = std::make_unique<py::ComArray<winrt::Windows::Media::Effects::SlowMotionEffectDefinition>>();
|
|
1803
|
-
if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
|
|
1804
|
-
{
|
|
1805
|
-
return nullptr;
|
|
1806
|
-
}
|
|
1807
|
-
Py_RETURN_NONE;
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
static PyObject* _from_SlowMotionEffectDefinition(PyObject* /*unused*/, PyObject* arg) noexcept
|
|
1811
|
-
{
|
|
1812
|
-
try
|
|
1813
|
-
{
|
|
1814
|
-
auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
|
|
1815
|
-
return py::convert(return_value.as<winrt::Windows::Media::Effects::SlowMotionEffectDefinition>());
|
|
1816
|
-
}
|
|
1817
|
-
catch (...)
|
|
1818
|
-
{
|
|
1819
|
-
py::to_PyErr();
|
|
1820
|
-
return nullptr;
|
|
1821
|
-
}
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
static PyMethodDef _methods_SlowMotionEffectDefinition[] = {
|
|
1825
|
-
{ "_assign_array_", _assign_array_SlowMotionEffectDefinition, METH_O | METH_STATIC, nullptr },
|
|
1826
|
-
{ "_from", reinterpret_cast<PyCFunction>(_from_SlowMotionEffectDefinition), METH_O | METH_STATIC, nullptr },
|
|
1827
|
-
{ }};
|
|
1828
|
-
|
|
1829
|
-
static PyGetSetDef _getset_SlowMotionEffectDefinition[] = {
|
|
1830
|
-
{ "time_stretch_rate", reinterpret_cast<getter>(SlowMotionEffectDefinition_get_TimeStretchRate), reinterpret_cast<setter>(SlowMotionEffectDefinition_put_TimeStretchRate), nullptr, nullptr },
|
|
1831
|
-
{ "activatable_class_id", reinterpret_cast<getter>(SlowMotionEffectDefinition_get_ActivatableClassId), nullptr, nullptr, nullptr },
|
|
1832
|
-
{ "properties", reinterpret_cast<getter>(SlowMotionEffectDefinition_get_Properties), nullptr, nullptr, nullptr },
|
|
1833
|
-
{ }};
|
|
1834
|
-
|
|
1835
|
-
static PyType_Slot _type_slots_SlowMotionEffectDefinition[] = {
|
|
1836
|
-
{ Py_tp_new, reinterpret_cast<void*>(_new_SlowMotionEffectDefinition) },
|
|
1837
|
-
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_SlowMotionEffectDefinition) },
|
|
1838
|
-
{ Py_tp_methods, reinterpret_cast<void*>(_methods_SlowMotionEffectDefinition) },
|
|
1839
|
-
{ Py_tp_getset, reinterpret_cast<void*>(_getset_SlowMotionEffectDefinition) },
|
|
1840
|
-
{ }};
|
|
1841
|
-
|
|
1842
|
-
static PyType_Spec type_spec_SlowMotionEffectDefinition = {
|
|
1843
|
-
"winrt._winrt_windows_media_effects.SlowMotionEffectDefinition",
|
|
1844
|
-
sizeof(py::wrapper::Windows::Media::Effects::SlowMotionEffectDefinition),
|
|
1845
|
-
0,
|
|
1846
|
-
Py_TPFLAGS_DEFAULT,
|
|
1847
|
-
_type_slots_SlowMotionEffectDefinition};
|
|
1848
|
-
|
|
1849
1632
|
// ----- VideoCompositorDefinition class --------------------
|
|
1850
1633
|
|
|
1851
1634
|
static PyObject* _new_VideoCompositorDefinition(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
@@ -5889,12 +5672,6 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_effects(void) noexcept
|
|
|
5889
5672
|
return nullptr;
|
|
5890
5673
|
}
|
|
5891
5674
|
|
|
5892
|
-
py::pytype_handle SlowMotionEffectDefinition_type{py::register_python_type(module.get(), &type_spec_SlowMotionEffectDefinition, object_bases.get(), inspectable_meta_type)};
|
|
5893
|
-
if (!SlowMotionEffectDefinition_type)
|
|
5894
|
-
{
|
|
5895
|
-
return nullptr;
|
|
5896
|
-
}
|
|
5897
|
-
|
|
5898
5675
|
py::pytype_handle VideoCompositorDefinition_type{py::register_python_type(module.get(), &type_spec_VideoCompositorDefinition, object_bases.get(), inspectable_meta_type)};
|
|
5899
5676
|
if (!VideoCompositorDefinition_type)
|
|
5900
5677
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.Media.Effects"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==3.
|
|
3
|
+
winrt-runtime==3.2.0
|
|
@@ -11,6 +11,8 @@ class build_ext_ex(build_ext):
|
|
|
11
11
|
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
12
|
elif self.compiler.compiler_type == "mingw32":
|
|
13
13
|
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
# GCC 15 complains about some things that it didn't in the past
|
|
15
|
+
ext.extra_compile_args += ["-Wno-strict-aliasing", "-Wno-template-body"]
|
|
14
16
|
ext.extra_link_args = ["-loleaut32"]
|
|
15
17
|
else:
|
|
16
18
|
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -137,22 +137,6 @@ class ProcessVideoFrameContext(winrt.system.Object):
|
|
|
137
137
|
@_property
|
|
138
138
|
def output_frame(self) -> windows_media.VideoFrame: ...
|
|
139
139
|
|
|
140
|
-
@typing.final
|
|
141
|
-
class SlowMotionEffectDefinition(winrt.system.Object, IVideoEffectDefinition):
|
|
142
|
-
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
143
|
-
# System.Double Windows.Media.Effects.SlowMotionEffectDefinition::get_TimeStretchRate()
|
|
144
|
-
@_property
|
|
145
|
-
def time_stretch_rate(self) -> winrt.system.Double: ...
|
|
146
|
-
# System.Void Windows.Media.Effects.SlowMotionEffectDefinition::put_TimeStretchRate(System.Double)
|
|
147
|
-
@time_stretch_rate.setter
|
|
148
|
-
def time_stretch_rate(self, value: winrt.system.Double) -> None: ...
|
|
149
|
-
# System.String Windows.Media.Effects.SlowMotionEffectDefinition::get_ActivatableClassId()
|
|
150
|
-
@_property
|
|
151
|
-
def activatable_class_id(self) -> str: ...
|
|
152
|
-
# Windows.Foundation.Collections.IPropertySet Windows.Media.Effects.SlowMotionEffectDefinition::get_Properties()
|
|
153
|
-
@_property
|
|
154
|
-
def properties(self) -> windows_foundation_collections.IPropertySet: ...
|
|
155
|
-
|
|
156
140
|
@typing.final
|
|
157
141
|
class VideoCompositorDefinition(winrt.system.Object, IVideoCompositorDefinition):
|
|
158
142
|
@typing.overload
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
@@ -13,7 +13,6 @@ from winrt._winrt_windows_media_effects import (
|
|
|
13
13
|
CompositeVideoFrameContext,
|
|
14
14
|
ProcessAudioFrameContext,
|
|
15
15
|
ProcessVideoFrameContext,
|
|
16
|
-
SlowMotionEffectDefinition,
|
|
17
16
|
VideoCompositorDefinition,
|
|
18
17
|
VideoEffectDefinition,
|
|
19
18
|
VideoTransformEffectDefinition,
|
|
@@ -46,7 +45,6 @@ __all__ = [
|
|
|
46
45
|
"CompositeVideoFrameContext",
|
|
47
46
|
"ProcessAudioFrameContext",
|
|
48
47
|
"ProcessVideoFrameContext",
|
|
49
|
-
"SlowMotionEffectDefinition",
|
|
50
48
|
"VideoCompositorDefinition",
|
|
51
49
|
"VideoEffectDefinition",
|
|
52
50
|
"VideoTransformEffectDefinition",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.Media.Effects
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -12,21 +12,21 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==3.
|
|
15
|
+
Requires-Dist: winrt-runtime==3.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==3.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==3.
|
|
20
|
-
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.
|
|
21
|
-
Requires-Dist: winrt-Windows.Media[all]==3.
|
|
22
|
-
Requires-Dist: winrt-Windows.Media.Capture[all]==3.
|
|
23
|
-
Requires-Dist: winrt-Windows.Media.Editing[all]==3.
|
|
24
|
-
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==3.
|
|
25
|
-
Requires-Dist: winrt-Windows.Media.Playback[all]==3.
|
|
26
|
-
Requires-Dist: winrt-Windows.Media.Render[all]==3.
|
|
27
|
-
Requires-Dist: winrt-Windows.Media.Transcoding[all]==3.
|
|
28
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.
|
|
29
|
-
Requires-Dist: winrt-Windows.UI[all]==3.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==3.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Media[all]==3.2.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Media.Capture[all]==3.2.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Media.Editing[all]==3.2.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==3.2.0; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Media.Playback[all]==3.2.0; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.Media.Render[all]==3.2.0; extra == "all"
|
|
27
|
+
Requires-Dist: winrt-Windows.Media.Transcoding[all]==3.2.0; extra == "all"
|
|
28
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==3.2.0; extra == "all"
|
|
29
|
+
Requires-Dist: winrt-Windows.UI[all]==3.2.0; extra == "all"
|
|
30
30
|
|
|
31
31
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
32
32
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
winrt-runtime==3.2.0
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==3.2.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==3.2.0
|
|
6
|
+
winrt-Windows.Foundation.Numerics[all]==3.2.0
|
|
7
|
+
winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.2.0
|
|
8
|
+
winrt-Windows.Media[all]==3.2.0
|
|
9
|
+
winrt-Windows.Media.Capture[all]==3.2.0
|
|
10
|
+
winrt-Windows.Media.Editing[all]==3.2.0
|
|
11
|
+
winrt-Windows.Media.MediaProperties[all]==3.2.0
|
|
12
|
+
winrt-Windows.Media.Playback[all]==3.2.0
|
|
13
|
+
winrt-Windows.Media.Render[all]==3.2.0
|
|
14
|
+
winrt-Windows.Media.Transcoding[all]==3.2.0
|
|
15
|
+
winrt-Windows.Storage.Streams[all]==3.2.0
|
|
16
|
+
winrt-Windows.UI[all]==3.2.0
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==3.0.0
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==3.0.0
|
|
5
|
-
winrt-Windows.Foundation.Numerics[all]==3.0.0
|
|
6
|
-
winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.0.0
|
|
7
|
-
winrt-Windows.Media[all]==3.0.0
|
|
8
|
-
winrt-Windows.Media.Capture[all]==3.0.0
|
|
9
|
-
winrt-Windows.Media.Editing[all]==3.0.0
|
|
10
|
-
winrt-Windows.Media.MediaProperties[all]==3.0.0
|
|
11
|
-
winrt-Windows.Media.Playback[all]==3.0.0
|
|
12
|
-
winrt-Windows.Media.Render[all]==3.0.0
|
|
13
|
-
winrt-Windows.Media.Transcoding[all]==3.0.0
|
|
14
|
-
winrt-Windows.Storage.Streams[all]==3.0.0
|
|
15
|
-
winrt-Windows.UI[all]==3.0.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.0.0
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
winrt-runtime==3.0.0
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==3.0.0
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==3.0.0
|
|
6
|
-
winrt-Windows.Foundation.Numerics[all]==3.0.0
|
|
7
|
-
winrt-Windows.Graphics.DirectX.Direct3D11[all]==3.0.0
|
|
8
|
-
winrt-Windows.Media[all]==3.0.0
|
|
9
|
-
winrt-Windows.Media.Capture[all]==3.0.0
|
|
10
|
-
winrt-Windows.Media.Editing[all]==3.0.0
|
|
11
|
-
winrt-Windows.Media.MediaProperties[all]==3.0.0
|
|
12
|
-
winrt-Windows.Media.Playback[all]==3.0.0
|
|
13
|
-
winrt-Windows.Media.Render[all]==3.0.0
|
|
14
|
-
winrt-Windows.Media.Transcoding[all]==3.0.0
|
|
15
|
-
winrt-Windows.Storage.Streams[all]==3.0.0
|
|
16
|
-
winrt-Windows.UI[all]==3.0.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|