blob: 556f4b609a6912c46f7e15791d6be68797cc46db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?xml version="1.0"?>
<typesystem package="PySide.QtMultimedia">
<load-typesystem name="typesystem_gui.xml" generate="no" />
<rejection class="" function-name="qobject_cast<QAudioEngineFactoryInterface*>"/>
<rejection class="" function-name="qobject_interface_iid<QAudioEngineFactoryInterface*>"/>
<namespace-type name="QAudio"/>
<enum-type name="QAudio::Error"/>
<enum-type name="QAudio::Mode"/>
<enum-type name="QAudio::State"/>
<enum-type name="QAbstractVideoBuffer::HandleType"/>
<enum-type name="QAbstractVideoBuffer::MapMode"/>
<enum-type name="QAbstractVideoSurface::Error"/>
<enum-type name="QAudioFormat::Endian"/>
<enum-type name="QAudioFormat::SampleType"/>
<enum-type name="QVideoFrame::FieldType"/>
<enum-type name="QVideoFrame::PixelFormat"/>
<enum-type name="QVideoSurfaceFormat::Direction"/>
<enum-type name="QVideoSurfaceFormat::YCbCrColorSpace"/>
<object-type name="QAbstractVideoBuffer">
<modify-function signature="map(QAbstractVideoBuffer::MapMode, int*, int*)">
<modify-argument index="0">
<replace-type modified-type="PyObject *"/>
</modify-argument>
<modify-argument index="2">
<remove-argument/>
</modify-argument>
<modify-argument index="3">
<remove-argument/>
</modify-argument>
<inject-code class="target" position="beginning">
<insert-template name="fix_arg,int*,int*"/>
</inject-code>
</modify-function>
</object-type>
<object-type name="QVideoSurfaceFormat"/>
<object-type name="QAbstractVideoSurface">
<modify-function signature="nearestFormat(const QVideoSurfaceFormat&)const" remove="all"/>
<modify-function signature="surfaceFormat()const" remove="all"/>
</object-type>
<object-type name="QAudioDeviceInfo">
<modify-function signature="defaultInputDevice()" remove="all"/>
<modify-function signature="defaultOutputDevice()" remove="all"/>
<modify-function signature="nearestFormat(const QAudioFormat&)const" remove="all"/>
<modify-function signature="preferredFormat()const" remove="all"/>
<modify-function signature="availableDevices(QAudio::Mode)" remove="all"/>
</object-type>
<value-type name="QAudioFormat"/>
<!-- TODO TESTCASE start() check reference-count -->
<object-type name="QAudioInput">
<modify-function signature="format()const" remove="all"/>
</object-type>
<!-- TODO TESTCASE start() check reference-count -->
<object-type name="QAudioOutput">
<modify-function signature="format()const" remove="all"/>
</object-type>
<!-- TODO TESTCASE don't increment the reference count of the video buffer -->
<object-type name="QVideoFrame"/>
</typesystem>
|