pyside6_qtmultimedia_python.h 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. // Copyright (C) 2022 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. #ifndef SBK_QTMULTIMEDIA_PYTHON_H
  4. #define SBK_QTMULTIMEDIA_PYTHON_H
  5. #include <sbkpython.h>
  6. #include <sbkmodule.h>
  7. #include <sbkconverter.h>
  8. // Module Includes
  9. #include <pyside6_qtcore_python.h>
  10. #include <pyside6_qtgui_python.h>
  11. #include <pyside6_qtnetwork_python.h>
  12. // Bound library includes
  13. #include <QtMultimedia/qabstractvideobuffer.h>
  14. #include <QtMultimedia/qaudio.h>
  15. #include <QtMultimedia/qaudiodecoder.h>
  16. #include <QtMultimedia/qaudiodevice.h>
  17. #include <QtMultimedia/qaudioformat.h>
  18. #include <QtMultimedia/qcamera.h>
  19. #include <QtMultimedia/qcameradevice.h>
  20. #include <QtMultimedia/qimagecapture.h>
  21. #include <QtMultimedia/qmediaformat.h>
  22. #include <QtMultimedia/qmediametadata.h>
  23. #include <QtMultimedia/qmediaplayer.h>
  24. #include <QtMultimedia/qmediarecorder.h>
  25. #include <QtMultimedia/qmediatimerange.h>
  26. #include <QtMultimedia/qplaybackoptions.h>
  27. #include <QtMultimedia/qscreencapture.h>
  28. #include <QtMultimedia/qsoundeffect.h>
  29. #include <QtMultimedia/qtvideo.h>
  30. #include <QtMultimedia/qvideoframe.h>
  31. #include <QtMultimedia/qvideoframeformat.h>
  32. #include <QtMultimedia/qwavedecoder.h>
  33. #include <QtMultimedia/qwindowcapture.h>
  34. QT_BEGIN_NAMESPACE
  35. class QAudioBuffer;
  36. class QAudioBufferInput;
  37. class QAudioBufferOutput;
  38. class QAudioInput;
  39. class QAudioOutput;
  40. class QAudioSink;
  41. class QAudioSource;
  42. class QCameraFormat;
  43. class QCapturableWindow;
  44. class QMediaCaptureSession;
  45. class QMediaDevices;
  46. class QVideoFrameInput;
  47. class QVideoSink;
  48. QT_END_NAMESPACE
  49. // Type indices
  50. enum [[deprecated]] : int {
  51. SBK_QABSTRACTVIDEOBUFFER_IDX = 0,
  52. SBK_QABSTRACTVIDEOBUFFER_MAPDATA_IDX = 2,
  53. SBK_QAUDIO_ERROR_IDX = 6,
  54. SBK_QAUDIO_STATE_IDX = 8,
  55. SBK_QAUDIO_VOLUMESCALE_IDX = 10,
  56. SBK_QTMULTIMEDIAQAUDIO_IDX = 4,
  57. SBK_QAUDIOBUFFER_IDX = 12,
  58. SBK_QAUDIOBUFFERINPUT_IDX = 14,
  59. SBK_QAUDIOBUFFEROUTPUT_IDX = 16,
  60. SBK_QAUDIODECODER_ERROR_IDX = 20,
  61. SBK_QAUDIODECODER_IDX = 18,
  62. SBK_QAUDIODEVICE_MODE_IDX = 24,
  63. SBK_QAUDIODEVICE_IDX = 22,
  64. SBK_QAUDIOFORMAT_SAMPLEFORMAT_IDX = 32,
  65. SBK_QAUDIOFORMAT_AUDIOCHANNELPOSITION_IDX = 28,
  66. SBK_QAUDIOFORMAT_CHANNELCONFIG_IDX = 30,
  67. SBK_QAUDIOFORMAT_IDX = 26,
  68. SBK_QAUDIOINPUT_IDX = 34,
  69. SBK_QAUDIOOUTPUT_IDX = 36,
  70. SBK_QAUDIOSINK_IDX = 38,
  71. SBK_QAUDIOSOURCE_IDX = 40,
  72. SBK_QCAMERA_ERROR_IDX = 44,
  73. SBK_QCAMERA_FOCUSMODE_IDX = 52,
  74. SBK_QCAMERA_FLASHMODE_IDX = 50,
  75. SBK_QCAMERA_TORCHMODE_IDX = 54,
  76. SBK_QCAMERA_EXPOSUREMODE_IDX = 46,
  77. SBK_QCAMERA_WHITEBALANCEMODE_IDX = 56,
  78. SBK_QCAMERA_FEATURE_IDX = 48,
  79. SBK_QFLAGS_QCAMERA_FEATURE_IDX = 66,
  80. SBK_QCAMERA_IDX = 42,
  81. SBK_QCAMERADEVICE_POSITION_IDX = 60,
  82. SBK_QCAMERADEVICE_IDX = 58,
  83. SBK_QCAMERAFORMAT_IDX = 62,
  84. SBK_QCAPTURABLEWINDOW_IDX = 64,
  85. SBK_QIMAGECAPTURE_ERROR_IDX = 72,
  86. SBK_QIMAGECAPTURE_QUALITY_IDX = 76,
  87. SBK_QIMAGECAPTURE_FILEFORMAT_IDX = 74,
  88. SBK_QIMAGECAPTURE_IDX = 70,
  89. SBK_QMEDIACAPTURESESSION_IDX = 78,
  90. SBK_QMEDIADEVICES_IDX = 80,
  91. SBK_QMEDIAFORMAT_FILEFORMAT_IDX = 88,
  92. SBK_QMEDIAFORMAT_AUDIOCODEC_IDX = 84,
  93. SBK_QMEDIAFORMAT_VIDEOCODEC_IDX = 92,
  94. SBK_QMEDIAFORMAT_CONVERSIONMODE_IDX = 86,
  95. SBK_QMEDIAFORMAT_RESOLVEFLAGS_IDX = 90,
  96. SBK_QMEDIAFORMAT_IDX = 82,
  97. SBK_QMEDIAMETADATA_KEY_IDX = 96,
  98. SBK_QMEDIAMETADATA_IDX = 94,
  99. SBK_QMEDIAPLAYER_PLAYBACKSTATE_IDX = 108,
  100. SBK_QMEDIAPLAYER_MEDIASTATUS_IDX = 104,
  101. SBK_QMEDIAPLAYER_ERROR_IDX = 100,
  102. SBK_QMEDIAPLAYER_LOOPS_IDX = 102,
  103. SBK_QMEDIAPLAYER_PITCHCOMPENSATIONAVAILABILITY_IDX = 106,
  104. SBK_QMEDIAPLAYER_IDX = 98,
  105. SBK_QMEDIARECORDER_QUALITY_IDX = 116,
  106. SBK_QMEDIARECORDER_ENCODINGMODE_IDX = 112,
  107. SBK_QMEDIARECORDER_RECORDERSTATE_IDX = 118,
  108. SBK_QMEDIARECORDER_ERROR_IDX = 114,
  109. SBK_QMEDIARECORDER_IDX = 110,
  110. SBK_QMEDIATIMERANGE_IDX = 120,
  111. SBK_QMEDIATIMERANGE_INTERVAL_IDX = 122,
  112. SBK_QPLAYBACKOPTIONS_PLAYBACKINTENT_IDX = 126,
  113. SBK_QPLAYBACKOPTIONS_IDX = 124,
  114. SBK_QSCREENCAPTURE_ERROR_IDX = 130,
  115. SBK_QSCREENCAPTURE_IDX = 128,
  116. SBK_QSOUNDEFFECT_LOOP_IDX = 134,
  117. SBK_QSOUNDEFFECT_STATUS_IDX = 136,
  118. SBK_QSOUNDEFFECT_IDX = 132,
  119. SBK_QVIDEOFRAME_HANDLETYPE_IDX = 140,
  120. SBK_QVIDEOFRAME_MAPMODE_IDX = 142,
  121. SBK_QVIDEOFRAME_ROTATIONANGLE_IDX = 148,
  122. SBK_QVIDEOFRAME_IDX = 138,
  123. SBK_QVIDEOFRAME_PAINTOPTIONS_PAINTFLAG_IDX = 146,
  124. SBK_QFLAGS_QVIDEOFRAME_PAINTOPTIONS_PAINTFLAG_IDX = 68,
  125. SBK_QVIDEOFRAME_PAINTOPTIONS_IDX = 144,
  126. SBK_QVIDEOFRAMEFORMAT_PIXELFORMAT_IDX = 160,
  127. SBK_QVIDEOFRAMEFORMAT_DIRECTION_IDX = 158,
  128. SBK_QVIDEOFRAMEFORMAT_YCBCRCOLORSPACE_IDX = 162,
  129. SBK_QVIDEOFRAMEFORMAT_COLORSPACE_IDX = 154,
  130. SBK_QVIDEOFRAMEFORMAT_COLORTRANSFER_IDX = 156,
  131. SBK_QVIDEOFRAMEFORMAT_COLORRANGE_IDX = 152,
  132. SBK_QVIDEOFRAMEFORMAT_IDX = 150,
  133. SBK_QVIDEOFRAMEINPUT_IDX = 164,
  134. SBK_QVIDEOSINK_IDX = 166,
  135. SBK_QWAVEDECODER_IDX = 168,
  136. SBK_QWINDOWCAPTURE_ERROR_IDX = 172,
  137. SBK_QWINDOWCAPTURE_IDX = 170,
  138. SBK_QTAUDIO_ERROR_IDX = 176,
  139. SBK_QTAUDIO_STATE_IDX = 178,
  140. SBK_QTAUDIO_VOLUMESCALE_IDX = 180,
  141. SBK_QTMULTIMEDIAQTAUDIO_IDX = 174,
  142. SBK_QTVIDEO_ROTATION_IDX = 184,
  143. SBK_QTMULTIMEDIAQTVIDEO_IDX = 182,
  144. SBK_QTMULTIMEDIA_IDX_COUNT = 186,
  145. };
  146. // Type indices
  147. enum : int {
  148. SBK_QAbstractVideoBuffer_IDX = 0,
  149. SBK_QAbstractVideoBuffer_MapData_IDX = 1,
  150. SBK_QAudio_Error_IDX = 3,
  151. SBK_QAudio_State_IDX = 4,
  152. SBK_QAudio_VolumeScale_IDX = 5,
  153. SBK_QtMultimediaQAudio_IDX = 2,
  154. SBK_QAudioBuffer_IDX = 6,
  155. SBK_QAudioBufferInput_IDX = 7,
  156. SBK_QAudioBufferOutput_IDX = 8,
  157. SBK_QAudioDecoder_Error_IDX = 10,
  158. SBK_QAudioDecoder_IDX = 9,
  159. SBK_QAudioDevice_Mode_IDX = 12,
  160. SBK_QAudioDevice_IDX = 11,
  161. SBK_QAudioFormat_SampleFormat_IDX = 16,
  162. SBK_QAudioFormat_AudioChannelPosition_IDX = 14,
  163. SBK_QAudioFormat_ChannelConfig_IDX = 15,
  164. SBK_QAudioFormat_IDX = 13,
  165. SBK_QAudioInput_IDX = 17,
  166. SBK_QAudioOutput_IDX = 18,
  167. SBK_QAudioSink_IDX = 19,
  168. SBK_QAudioSource_IDX = 20,
  169. SBK_QCamera_Error_IDX = 22,
  170. SBK_QCamera_FocusMode_IDX = 26,
  171. SBK_QCamera_FlashMode_IDX = 25,
  172. SBK_QCamera_TorchMode_IDX = 27,
  173. SBK_QCamera_ExposureMode_IDX = 23,
  174. SBK_QCamera_WhiteBalanceMode_IDX = 28,
  175. SBK_QCamera_Feature_IDX = 24,
  176. SBK_QFlags_QCamera_Feature_IDX = 33,
  177. SBK_QCamera_IDX = 21,
  178. SBK_QCameraDevice_Position_IDX = 30,
  179. SBK_QCameraDevice_IDX = 29,
  180. SBK_QCameraFormat_IDX = 31,
  181. SBK_QCapturableWindow_IDX = 32,
  182. SBK_QImageCapture_Error_IDX = 36,
  183. SBK_QImageCapture_Quality_IDX = 38,
  184. SBK_QImageCapture_FileFormat_IDX = 37,
  185. SBK_QImageCapture_IDX = 35,
  186. SBK_QMediaCaptureSession_IDX = 39,
  187. SBK_QMediaDevices_IDX = 40,
  188. SBK_QMediaFormat_FileFormat_IDX = 44,
  189. SBK_QMediaFormat_AudioCodec_IDX = 42,
  190. SBK_QMediaFormat_VideoCodec_IDX = 46,
  191. SBK_QMediaFormat_ConversionMode_IDX = 43,
  192. SBK_QMediaFormat_ResolveFlags_IDX = 45,
  193. SBK_QMediaFormat_IDX = 41,
  194. SBK_QMediaMetaData_Key_IDX = 48,
  195. SBK_QMediaMetaData_IDX = 47,
  196. SBK_QMediaPlayer_PlaybackState_IDX = 54,
  197. SBK_QMediaPlayer_MediaStatus_IDX = 52,
  198. SBK_QMediaPlayer_Error_IDX = 50,
  199. SBK_QMediaPlayer_Loops_IDX = 51,
  200. SBK_QMediaPlayer_PitchCompensationAvailability_IDX = 53,
  201. SBK_QMediaPlayer_IDX = 49,
  202. SBK_QMediaRecorder_Quality_IDX = 58,
  203. SBK_QMediaRecorder_EncodingMode_IDX = 56,
  204. SBK_QMediaRecorder_RecorderState_IDX = 59,
  205. SBK_QMediaRecorder_Error_IDX = 57,
  206. SBK_QMediaRecorder_IDX = 55,
  207. SBK_QMediaTimeRange_IDX = 60,
  208. SBK_QMediaTimeRange_Interval_IDX = 61,
  209. SBK_QPlaybackOptions_PlaybackIntent_IDX = 63,
  210. SBK_QPlaybackOptions_IDX = 62,
  211. SBK_QScreenCapture_Error_IDX = 65,
  212. SBK_QScreenCapture_IDX = 64,
  213. SBK_QSoundEffect_Loop_IDX = 67,
  214. SBK_QSoundEffect_Status_IDX = 68,
  215. SBK_QSoundEffect_IDX = 66,
  216. SBK_QVideoFrame_HandleType_IDX = 70,
  217. SBK_QVideoFrame_MapMode_IDX = 71,
  218. SBK_QVideoFrame_RotationAngle_IDX = 74,
  219. SBK_QVideoFrame_IDX = 69,
  220. SBK_QVideoFrame_PaintOptions_PaintFlag_IDX = 73,
  221. SBK_QFlags_QVideoFrame_PaintOptions_PaintFlag_IDX = 34,
  222. SBK_QVideoFrame_PaintOptions_IDX = 72,
  223. SBK_QVideoFrameFormat_PixelFormat_IDX = 80,
  224. SBK_QVideoFrameFormat_Direction_IDX = 79,
  225. SBK_QVideoFrameFormat_YCbCrColorSpace_IDX = 81,
  226. SBK_QVideoFrameFormat_ColorSpace_IDX = 77,
  227. SBK_QVideoFrameFormat_ColorTransfer_IDX = 78,
  228. SBK_QVideoFrameFormat_ColorRange_IDX = 76,
  229. SBK_QVideoFrameFormat_IDX = 75,
  230. SBK_QVideoFrameInput_IDX = 82,
  231. SBK_QVideoSink_IDX = 83,
  232. SBK_QWaveDecoder_IDX = 84,
  233. SBK_QWindowCapture_Error_IDX = 86,
  234. SBK_QWindowCapture_IDX = 85,
  235. SBK_QtAudio_Error_IDX = 88,
  236. SBK_QtAudio_State_IDX = 89,
  237. SBK_QtAudio_VolumeScale_IDX = 90,
  238. SBK_QtMultimediaQtAudio_IDX = 87,
  239. SBK_QtVideo_Rotation_IDX = 92,
  240. SBK_QtMultimediaQtVideo_IDX = 91,
  241. SBK_QtMultimedia_IDX_COUNT = 93,
  242. };
  243. // This variable stores all Python types exported by this module.
  244. extern Shiboken::Module::TypeInitStruct *SbkPySide6_QtMultimediaTypeStructs;
  245. // This variable stores all Python types exported by this module in a backwards compatible way with identical indexing.
  246. [[deprecated]] extern PyTypeObject **SbkPySide6_QtMultimediaTypes;
  247. // This variable stores the Python module object exported by this module.
  248. extern PyObject *SbkPySide6_QtMultimediaModuleObject;
  249. // This variable stores all type converters exported by this module.
  250. extern SbkConverter **SbkPySide6_QtMultimediaTypeConverters;
  251. // Converter indices
  252. enum [[deprecated]] : int {
  253. SBK_QTMULTIMEDIA_QLIST_INT_IDX = 0, // QList<int>
  254. SBK_QTMULTIMEDIA_QLIST_QMEDIATIMERANGE_INTERVAL_IDX = 1, // QList<QMediaTimeRange::Interval>
  255. SBK_QTMULTIMEDIA_QLIST_QMEDIAMETADATA_KEY_IDX = 2, // QList<QMediaMetaData::Key>
  256. SBK_QTMULTIMEDIA_QHASH_QMEDIAMETADATA_KEY_QVARIANT_IDX = 3, // QHash<QMediaMetaData::Key,QVariant>
  257. SBK_QTMULTIMEDIA_QLIST_QMEDIAFORMAT_AUDIOCODEC_IDX = 4, // QList<QMediaFormat::AudioCodec>
  258. SBK_QTMULTIMEDIA_QLIST_QMEDIAFORMAT_FILEFORMAT_IDX = 5, // QList<QMediaFormat::FileFormat>
  259. SBK_QTMULTIMEDIA_QLIST_QMEDIAFORMAT_VIDEOCODEC_IDX = 6, // QList<QMediaFormat::VideoCodec>
  260. SBK_QTMULTIMEDIA_QLIST_QSIZE_IDX = 7, // QList<QSize>
  261. SBK_QTMULTIMEDIA_QLIST_QCAMERAFORMAT_IDX = 8, // QList<QCameraFormat>
  262. SBK_QTMULTIMEDIA_QLIST_QAUDIOFORMAT_SAMPLEFORMAT_IDX = 9, // QList<QAudioFormat::SampleFormat>
  263. SBK_QTMULTIMEDIA_QLIST_QCAPTURABLEWINDOW_IDX = 10, // QList<QCapturableWindow>
  264. SBK_QTMULTIMEDIA_QLIST_QAUDIODEVICE_IDX = 11, // QList<QAudioDevice>
  265. SBK_QTMULTIMEDIA_QLIST_QCAMERADEVICE_IDX = 12, // QList<QCameraDevice>
  266. SBK_QTMULTIMEDIA_QLIST_QIMAGECAPTURE_FILEFORMAT_IDX = 13, // QList<QImageCapture::FileFormat>
  267. SBK_QTMULTIMEDIA_QLIST_QMEDIAMETADATA_IDX = 14, // QList<QMediaMetaData>
  268. SBK_QTMULTIMEDIA_QLIST_QVARIANT_IDX = 15, // QList<QVariant>
  269. SBK_QTMULTIMEDIA_QLIST_QSTRING_IDX = 16, // QList<QString>
  270. SBK_QTMULTIMEDIA_QMAP_QSTRING_QVARIANT_IDX = 17, // QMap<QString,QVariant>
  271. SBK_QTMULTIMEDIA_CONVERTERS_IDX_COUNT = 18,
  272. };
  273. // Converter indices
  274. enum : int {
  275. SBK_QtMultimedia_QList_int_IDX = 0, // QList<int>
  276. SBK_QtMultimedia_QList_QMediaTimeRange_Interval_IDX = 1, // QList<QMediaTimeRange::Interval>
  277. SBK_QtMultimedia_QList_QMediaMetaData_Key_IDX = 2, // QList<QMediaMetaData::Key>
  278. SBK_QtMultimedia_QHash_QMediaMetaData_Key_QVariant_IDX = 3, // QHash<QMediaMetaData::Key,QVariant>
  279. SBK_QtMultimedia_QList_QMediaFormat_AudioCodec_IDX = 4, // QList<QMediaFormat::AudioCodec>
  280. SBK_QtMultimedia_QList_QMediaFormat_FileFormat_IDX = 5, // QList<QMediaFormat::FileFormat>
  281. SBK_QtMultimedia_QList_QMediaFormat_VideoCodec_IDX = 6, // QList<QMediaFormat::VideoCodec>
  282. SBK_QtMultimedia_QList_QSize_IDX = 7, // QList<QSize>
  283. SBK_QtMultimedia_QList_QCameraFormat_IDX = 8, // QList<QCameraFormat>
  284. SBK_QtMultimedia_QList_QAudioFormat_SampleFormat_IDX = 9, // QList<QAudioFormat::SampleFormat>
  285. SBK_QtMultimedia_QList_QCapturableWindow_IDX = 10, // QList<QCapturableWindow>
  286. SBK_QtMultimedia_QList_QAudioDevice_IDX = 11, // QList<QAudioDevice>
  287. SBK_QtMultimedia_QList_QCameraDevice_IDX = 12, // QList<QCameraDevice>
  288. SBK_QtMultimedia_QList_QImageCapture_FileFormat_IDX = 13, // QList<QImageCapture::FileFormat>
  289. SBK_QtMultimedia_QList_QMediaMetaData_IDX = 14, // QList<QMediaMetaData>
  290. SBK_QtMultimedia_QList_QVariant_IDX = 15, // QList<QVariant>
  291. SBK_QtMultimedia_QList_QString_IDX = 16, // QList<QString>
  292. SBK_QtMultimedia_QMap_QString_QVariant_IDX = 17, // QMap<QString,QVariant>
  293. SBK_QtMultimedia_CONVERTERS_IDX_COUNT = 18,
  294. };
  295. // Macros for type check
  296. QT_WARNING_PUSH
  297. QT_WARNING_DISABLE_DEPRECATED
  298. namespace Shiboken
  299. {
  300. // PyType functions, to get the PyObjectType for a type T
  301. template<> inline PyTypeObject *SbkType< ::QAbstractVideoBuffer >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAbstractVideoBuffer_IDX]); }
  302. template<> inline PyTypeObject *SbkType< ::QAbstractVideoBuffer::MapData >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAbstractVideoBuffer_MapData_IDX]); }
  303. template<> inline PyTypeObject *SbkType< ::QAudioBuffer >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioBuffer_IDX]); }
  304. template<> inline PyTypeObject *SbkType< ::QAudioBufferInput >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioBufferInput_IDX]); }
  305. template<> inline PyTypeObject *SbkType< ::QAudioBufferOutput >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioBufferOutput_IDX]); }
  306. template<> inline PyTypeObject *SbkType< ::QAudioDecoder::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioDecoder_Error_IDX]); }
  307. template<> inline PyTypeObject *SbkType< ::QAudioDecoder >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioDecoder_IDX]); }
  308. template<> inline PyTypeObject *SbkType< ::QAudioDevice::Mode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioDevice_Mode_IDX]); }
  309. template<> inline PyTypeObject *SbkType< ::QAudioDevice >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioDevice_IDX]); }
  310. template<> inline PyTypeObject *SbkType< ::QAudioFormat::SampleFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioFormat_SampleFormat_IDX]); }
  311. template<> inline PyTypeObject *SbkType< ::QAudioFormat::AudioChannelPosition >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioFormat_AudioChannelPosition_IDX]); }
  312. template<> inline PyTypeObject *SbkType< ::QAudioFormat::ChannelConfig >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioFormat_ChannelConfig_IDX]); }
  313. template<> inline PyTypeObject *SbkType< ::QAudioFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioFormat_IDX]); }
  314. template<> inline PyTypeObject *SbkType< ::QAudioInput >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioInput_IDX]); }
  315. template<> inline PyTypeObject *SbkType< ::QAudioOutput >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioOutput_IDX]); }
  316. template<> inline PyTypeObject *SbkType< ::QAudioSink >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioSink_IDX]); }
  317. template<> inline PyTypeObject *SbkType< ::QAudioSource >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QAudioSource_IDX]); }
  318. template<> inline PyTypeObject *SbkType< ::QCamera::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_Error_IDX]); }
  319. template<> inline PyTypeObject *SbkType< ::QCamera::FocusMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_FocusMode_IDX]); }
  320. template<> inline PyTypeObject *SbkType< ::QCamera::FlashMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_FlashMode_IDX]); }
  321. template<> inline PyTypeObject *SbkType< ::QCamera::TorchMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_TorchMode_IDX]); }
  322. template<> inline PyTypeObject *SbkType< ::QCamera::ExposureMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_ExposureMode_IDX]); }
  323. template<> inline PyTypeObject *SbkType< ::QCamera::WhiteBalanceMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_WhiteBalanceMode_IDX]); }
  324. template<> inline PyTypeObject *SbkType< ::QCamera::Feature >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_Feature_IDX]); }
  325. template<> inline PyTypeObject *SbkType< ::QFlags<QCamera::Feature> >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QFlags_QCamera_Feature_IDX]); }
  326. template<> inline PyTypeObject *SbkType< ::QCamera >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCamera_IDX]); }
  327. template<> inline PyTypeObject *SbkType< ::QCameraDevice::Position >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCameraDevice_Position_IDX]); }
  328. template<> inline PyTypeObject *SbkType< ::QCameraDevice >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCameraDevice_IDX]); }
  329. template<> inline PyTypeObject *SbkType< ::QCameraFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCameraFormat_IDX]); }
  330. template<> inline PyTypeObject *SbkType< ::QCapturableWindow >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QCapturableWindow_IDX]); }
  331. template<> inline PyTypeObject *SbkType< ::QImageCapture::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QImageCapture_Error_IDX]); }
  332. template<> inline PyTypeObject *SbkType< ::QImageCapture::Quality >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QImageCapture_Quality_IDX]); }
  333. template<> inline PyTypeObject *SbkType< ::QImageCapture::FileFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QImageCapture_FileFormat_IDX]); }
  334. template<> inline PyTypeObject *SbkType< ::QImageCapture >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QImageCapture_IDX]); }
  335. template<> inline PyTypeObject *SbkType< ::QMediaCaptureSession >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaCaptureSession_IDX]); }
  336. template<> inline PyTypeObject *SbkType< ::QMediaDevices >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaDevices_IDX]); }
  337. template<> inline PyTypeObject *SbkType< ::QMediaFormat::FileFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaFormat_FileFormat_IDX]); }
  338. template<> inline PyTypeObject *SbkType< ::QMediaFormat::AudioCodec >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaFormat_AudioCodec_IDX]); }
  339. template<> inline PyTypeObject *SbkType< ::QMediaFormat::VideoCodec >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaFormat_VideoCodec_IDX]); }
  340. template<> inline PyTypeObject *SbkType< ::QMediaFormat::ConversionMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaFormat_ConversionMode_IDX]); }
  341. template<> inline PyTypeObject *SbkType< ::QMediaFormat::ResolveFlags >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaFormat_ResolveFlags_IDX]); }
  342. template<> inline PyTypeObject *SbkType< ::QMediaFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaFormat_IDX]); }
  343. template<> inline PyTypeObject *SbkType< ::QMediaMetaData::Key >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaMetaData_Key_IDX]); }
  344. template<> inline PyTypeObject *SbkType< ::QMediaMetaData >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaMetaData_IDX]); }
  345. template<> inline PyTypeObject *SbkType< ::QMediaPlayer::PlaybackState >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaPlayer_PlaybackState_IDX]); }
  346. template<> inline PyTypeObject *SbkType< ::QMediaPlayer::MediaStatus >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaPlayer_MediaStatus_IDX]); }
  347. template<> inline PyTypeObject *SbkType< ::QMediaPlayer::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaPlayer_Error_IDX]); }
  348. template<> inline PyTypeObject *SbkType< ::QMediaPlayer::Loops >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaPlayer_Loops_IDX]); }
  349. template<> inline PyTypeObject *SbkType< ::QMediaPlayer::PitchCompensationAvailability >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaPlayer_PitchCompensationAvailability_IDX]); }
  350. template<> inline PyTypeObject *SbkType< ::QMediaPlayer >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaPlayer_IDX]); }
  351. template<> inline PyTypeObject *SbkType< ::QMediaRecorder::Quality >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaRecorder_Quality_IDX]); }
  352. template<> inline PyTypeObject *SbkType< ::QMediaRecorder::EncodingMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaRecorder_EncodingMode_IDX]); }
  353. template<> inline PyTypeObject *SbkType< ::QMediaRecorder::RecorderState >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaRecorder_RecorderState_IDX]); }
  354. template<> inline PyTypeObject *SbkType< ::QMediaRecorder::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaRecorder_Error_IDX]); }
  355. template<> inline PyTypeObject *SbkType< ::QMediaRecorder >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaRecorder_IDX]); }
  356. template<> inline PyTypeObject *SbkType< ::QMediaTimeRange >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaTimeRange_IDX]); }
  357. template<> inline PyTypeObject *SbkType< ::QMediaTimeRange::Interval >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QMediaTimeRange_Interval_IDX]); }
  358. template<> inline PyTypeObject *SbkType< ::QPlaybackOptions::PlaybackIntent >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QPlaybackOptions_PlaybackIntent_IDX]); }
  359. template<> inline PyTypeObject *SbkType< ::QPlaybackOptions >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QPlaybackOptions_IDX]); }
  360. template<> inline PyTypeObject *SbkType< ::QScreenCapture::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QScreenCapture_Error_IDX]); }
  361. template<> inline PyTypeObject *SbkType< ::QScreenCapture >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QScreenCapture_IDX]); }
  362. template<> inline PyTypeObject *SbkType< ::QSoundEffect::Loop >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QSoundEffect_Loop_IDX]); }
  363. template<> inline PyTypeObject *SbkType< ::QSoundEffect::Status >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QSoundEffect_Status_IDX]); }
  364. template<> inline PyTypeObject *SbkType< ::QSoundEffect >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QSoundEffect_IDX]); }
  365. template<> inline PyTypeObject *SbkType< ::QVideoFrame::HandleType >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrame_HandleType_IDX]); }
  366. template<> inline PyTypeObject *SbkType< ::QVideoFrame::MapMode >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrame_MapMode_IDX]); }
  367. template<> inline PyTypeObject *SbkType< ::QVideoFrame::RotationAngle >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrame_RotationAngle_IDX]); }
  368. template<> inline PyTypeObject *SbkType< ::QVideoFrame >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrame_IDX]); }
  369. template<> inline PyTypeObject *SbkType< ::QVideoFrame::PaintOptions::PaintFlag >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrame_PaintOptions_PaintFlag_IDX]); }
  370. template<> inline PyTypeObject *SbkType< ::QFlags<QVideoFrame::PaintOptions::PaintFlag> >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QFlags_QVideoFrame_PaintOptions_PaintFlag_IDX]); }
  371. template<> inline PyTypeObject *SbkType< ::QVideoFrame::PaintOptions >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrame_PaintOptions_IDX]); }
  372. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat::PixelFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_PixelFormat_IDX]); }
  373. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat::Direction >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_Direction_IDX]); }
  374. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat::YCbCrColorSpace >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_YCbCrColorSpace_IDX]); }
  375. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat::ColorSpace >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_ColorSpace_IDX]); }
  376. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat::ColorTransfer >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_ColorTransfer_IDX]); }
  377. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat::ColorRange >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_ColorRange_IDX]); }
  378. template<> inline PyTypeObject *SbkType< ::QVideoFrameFormat >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameFormat_IDX]); }
  379. template<> inline PyTypeObject *SbkType< ::QVideoFrameInput >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoFrameInput_IDX]); }
  380. template<> inline PyTypeObject *SbkType< ::QVideoSink >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QVideoSink_IDX]); }
  381. template<> inline PyTypeObject *SbkType< ::QWaveDecoder >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QWaveDecoder_IDX]); }
  382. template<> inline PyTypeObject *SbkType< ::QWindowCapture::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QWindowCapture_Error_IDX]); }
  383. template<> inline PyTypeObject *SbkType< ::QWindowCapture >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QWindowCapture_IDX]); }
  384. template<> inline PyTypeObject *SbkType< ::QtAudio::Error >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QtAudio_Error_IDX]); }
  385. template<> inline PyTypeObject *SbkType< ::QtAudio::State >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QtAudio_State_IDX]); }
  386. template<> inline PyTypeObject *SbkType< ::QtAudio::VolumeScale >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QtAudio_VolumeScale_IDX]); }
  387. template<> inline PyTypeObject *SbkType< ::QtVideo::Rotation >() { return Shiboken::Module::get(SbkPySide6_QtMultimediaTypeStructs[SBK_QtVideo_Rotation_IDX]); }
  388. } // namespace Shiboken
  389. QT_WARNING_POP
  390. #endif // SBK_QTMULTIMEDIA_PYTHON_H