/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.15.3
 *
 * Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt5.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtMultimedia.h"

#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtMultimedia/qvideoencodersettingscontrol.sip"
#include <qvideoencodersettingscontrol.h>
#line 29 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"

#line 28 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 57 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtMultimedia/qmediaencodersettings.sip"
#include <qmediaencodersettings.h>
#line 36 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 27 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 36 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 42 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 751 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 45 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 38 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 51 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 56 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 59 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 252 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 240 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 71 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 38 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 74 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 30 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 77 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 149 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 80 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 83 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 86 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 89 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 92 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 95 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.11/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 98 "/build/pyqt5/src/PyQt5-5.15.11/build/QtMultimedia/sipQtMultimediaQVideoEncoderSettingsControl.cpp"


class sipQVideoEncoderSettingsControl : public ::QVideoEncoderSettingsControl
{
public:
    sipQVideoEncoderSettingsControl(::QObject*);
    virtual ~sipQVideoEncoderSettingsControl();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setVideoSettings(const ::QVideoEncoderSettings&) SIP_OVERRIDE;
    ::QVideoEncoderSettings videoSettings() const SIP_OVERRIDE;
    ::QString videoCodecDescription(const ::QString&) const SIP_OVERRIDE;
    ::QStringList supportedVideoCodecs() const SIP_OVERRIDE;
    ::QList< ::qreal> supportedFrameRates(const ::QVideoEncoderSettings&, bool*) const SIP_OVERRIDE;
    QList< ::QSize> supportedResolutions(const ::QVideoEncoderSettings&, bool*) const SIP_OVERRIDE;
    void disconnectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent(::QEvent*) SIP_OVERRIDE;
    void childEvent(::QChildEvent*) SIP_OVERRIDE;
    void timerEvent(::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter(::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event(::QEvent*) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQVideoEncoderSettingsControl(const sipQVideoEncoderSettingsControl &);
    sipQVideoEncoderSettingsControl &operator = (const sipQVideoEncoderSettingsControl &);

    char sipPyMethods[13];
};

sipQVideoEncoderSettingsControl::sipQVideoEncoderSettingsControl(::QObject*a0): ::QVideoEncoderSettingsControl(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQVideoEncoderSettingsControl::~sipQVideoEncoderSettingsControl()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQVideoEncoderSettingsControl::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf, sipType_QVideoEncoderSettingsControl);

    return ::QVideoEncoderSettingsControl::metaObject();
}

int sipQVideoEncoderSettingsControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ::QVideoEncoderSettingsControl::qt_metacall(_c, _id, _a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtMultimedia_qt_metacall(sipPySelf, sipType_QVideoEncoderSettingsControl, _c, _id, _a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQVideoEncoderSettingsControl::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QVideoEncoderSettingsControl, _clname, &sipCpp) ? sipCpp : ::QVideoEncoderSettingsControl::qt_metacast(_clname));
}

void sipQVideoEncoderSettingsControl::setVideoSettings(const ::QVideoEncoderSettings& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, sipName_QVideoEncoderSettingsControl, sipName_setVideoSettings);

    if (!sipMeth)
        return;

    extern void sipVH_QtMultimedia_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QVideoEncoderSettings&);

    sipVH_QtMultimedia_139(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QVideoEncoderSettings sipQVideoEncoderSettingsControl::videoSettings() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[1]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QVideoEncoderSettingsControl, sipName_videoSettings);

    if (!sipMeth)
        return ::QVideoEncoderSettings();

    extern ::QVideoEncoderSettings sipVH_QtMultimedia_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_138(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

::QString sipQVideoEncoderSettingsControl::videoCodecDescription(const ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[2]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QVideoEncoderSettingsControl, sipName_videoCodecDescription);

    if (!sipMeth)
        return ::QString();

    extern ::QString sipVH_QtMultimedia_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QString&);

    return sipVH_QtMultimedia_31(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QStringList sipQVideoEncoderSettingsControl::supportedVideoCodecs() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[3]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QVideoEncoderSettingsControl, sipName_supportedVideoCodecs);

    if (!sipMeth)
        return ::QStringList();

    extern ::QStringList sipVH_QtMultimedia_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtMultimedia_30(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

::QList< ::qreal> sipQVideoEncoderSettingsControl::supportedFrameRates(const ::QVideoEncoderSettings& a0, bool*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[4]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QVideoEncoderSettingsControl, sipName_supportedFrameRates);

    if (!sipMeth)
        return ::QList< ::qreal>();

    extern ::QList< ::qreal> sipVH_QtMultimedia_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QVideoEncoderSettings&, bool*);

    return sipVH_QtMultimedia_137(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

QList< ::QSize> sipQVideoEncoderSettingsControl::supportedResolutions(const ::QVideoEncoderSettings& a0, bool*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[5]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QVideoEncoderSettingsControl, sipName_supportedResolutions);

    if (!sipMeth)
        return QList< ::QSize>();

    extern QList< ::QSize> sipVH_QtMultimedia_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QVideoEncoderSettings&, bool*);

    return sipVH_QtMultimedia_136(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQVideoEncoderSettingsControl::disconnectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
        ::QVideoEncoderSettingsControl::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVideoEncoderSettingsControl::connectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
        ::QVideoEncoderSettingsControl::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);

    sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVideoEncoderSettingsControl::customEvent(::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[8], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
        ::QVideoEncoderSettingsControl::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);

    sipVH_QtMultimedia_6(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVideoEncoderSettingsControl::childEvent(::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
        ::QVideoEncoderSettingsControl::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QChildEvent*);

    sipVH_QtMultimedia_7(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQVideoEncoderSettingsControl::timerEvent(::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[10], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
        ::QVideoEncoderSettingsControl::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QTimerEvent*);

    sipVH_QtMultimedia_8(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQVideoEncoderSettingsControl::eventFilter(::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[11], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return ::QVideoEncoderSettingsControl::eventFilter(a0, a1);

    extern bool sipVH_QtMultimedia_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_9(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQVideoEncoderSettingsControl::event(::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[12], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return ::QVideoEncoderSettingsControl::event(a0);

    extern bool sipVH_QtMultimedia_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);

    return sipVH_QtMultimedia_10(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QVideoEncoderSettingsControl_supportedResolutions, "supportedResolutions(self, settings: QVideoEncoderSettings) -> (list[QSize], bool)");

extern "C" {static PyObject *meth_QVideoEncoderSettingsControl_supportedResolutions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettingsControl_supportedResolutions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const ::QVideoEncoderSettings* a0;
        bool a1;
        const ::QVideoEncoderSettingsControl *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_QVideoEncoderSettingsControl, &sipCpp, sipType_QVideoEncoderSettings, &a0))
        {
            QList< ::QSize>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoEncoderSettingsControl, sipName_supportedResolutions);
                return SIP_NULLPTR;
            }

            sipRes = new QList< ::QSize>(sipCpp->supportedResolutions(*a0, &a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes, sipType_QList_0100QSize, SIP_NULLPTR);
            return sipBuildResult(0, "(Rb)", sipResObj, a1);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettingsControl, sipName_supportedResolutions, doc_QVideoEncoderSettingsControl_supportedResolutions);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVideoEncoderSettingsControl_supportedFrameRates, "supportedFrameRates(self, settings: QVideoEncoderSettings) -> (list[float], bool)");

extern "C" {static PyObject *meth_QVideoEncoderSettingsControl_supportedFrameRates(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettingsControl_supportedFrameRates(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const ::QVideoEncoderSettings* a0;
        bool a1;
        const ::QVideoEncoderSettingsControl *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_QVideoEncoderSettingsControl, &sipCpp, sipType_QVideoEncoderSettings, &a0))
        {
            ::QList< ::qreal>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoEncoderSettingsControl, sipName_supportedFrameRates);
                return SIP_NULLPTR;
            }

            sipRes = new ::QList< ::qreal>(sipCpp->supportedFrameRates(*a0, &a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes, sipType_QList_2400, SIP_NULLPTR);
            return sipBuildResult(0, "(Rb)", sipResObj, a1);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettingsControl, sipName_supportedFrameRates, doc_QVideoEncoderSettingsControl_supportedFrameRates);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVideoEncoderSettingsControl_supportedVideoCodecs, "supportedVideoCodecs(self) -> list[str]");

extern "C" {static PyObject *meth_QVideoEncoderSettingsControl_supportedVideoCodecs(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettingsControl_supportedVideoCodecs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const ::QVideoEncoderSettingsControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettingsControl, &sipCpp))
        {
            ::QStringList*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoEncoderSettingsControl, sipName_supportedVideoCodecs);
                return SIP_NULLPTR;
            }

            sipRes = new ::QStringList(sipCpp->supportedVideoCodecs());

            return sipConvertFromNewType(sipRes, sipType_QStringList, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettingsControl, sipName_supportedVideoCodecs, doc_QVideoEncoderSettingsControl_supportedVideoCodecs);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVideoEncoderSettingsControl_videoCodecDescription, "videoCodecDescription(self, codec: str|None) -> str");

extern "C" {static PyObject *meth_QVideoEncoderSettingsControl_videoCodecDescription(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettingsControl_videoCodecDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const ::QString* a0;
        int a0State = 0;
        const ::QVideoEncoderSettingsControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QVideoEncoderSettingsControl, &sipCpp, sipType_QString, &a0, &a0State))
        {
            ::QString*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoEncoderSettingsControl, sipName_videoCodecDescription);
                return SIP_NULLPTR;
            }

            sipRes = new ::QString(sipCpp->videoCodecDescription(*a0));
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettingsControl, sipName_videoCodecDescription, doc_QVideoEncoderSettingsControl_videoCodecDescription);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVideoEncoderSettingsControl_videoSettings, "videoSettings(self) -> QVideoEncoderSettings");

extern "C" {static PyObject *meth_QVideoEncoderSettingsControl_videoSettings(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettingsControl_videoSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const ::QVideoEncoderSettingsControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QVideoEncoderSettingsControl, &sipCpp))
        {
            ::QVideoEncoderSettings*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoEncoderSettingsControl, sipName_videoSettings);
                return SIP_NULLPTR;
            }

            sipRes = new ::QVideoEncoderSettings(sipCpp->videoSettings());

            return sipConvertFromNewType(sipRes, sipType_QVideoEncoderSettings, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettingsControl, sipName_videoSettings, doc_QVideoEncoderSettingsControl_videoSettings);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QVideoEncoderSettingsControl_setVideoSettings, "setVideoSettings(self, settings: QVideoEncoderSettings)");

extern "C" {static PyObject *meth_QVideoEncoderSettingsControl_setVideoSettings(PyObject *, PyObject *);}
static PyObject *meth_QVideoEncoderSettingsControl_setVideoSettings(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const ::QVideoEncoderSettings* a0;
        ::QVideoEncoderSettingsControl *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QVideoEncoderSettingsControl, &sipCpp, sipType_QVideoEncoderSettings, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QVideoEncoderSettingsControl, sipName_setVideoSettings);
                return SIP_NULLPTR;
            }

            sipCpp->setVideoSettings(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QVideoEncoderSettingsControl, sipName_setVideoSettings, doc_QVideoEncoderSettingsControl_setVideoSettings);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QVideoEncoderSettingsControl(void *, const sipTypeDef *);}
static void *cast_QVideoEncoderSettingsControl(void *sipCppV, const sipTypeDef *targetType)
{
    ::QVideoEncoderSettingsControl *sipCpp = reinterpret_cast< ::QVideoEncoderSettingsControl *>(sipCppV);

    if (targetType == sipType_QVideoEncoderSettingsControl)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QMediaControl)->ctd_cast(static_cast< ::QMediaControl *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVideoEncoderSettingsControl(void *, int);}
static void release_QVideoEncoderSettingsControl(void *sipCppV, int)
{
    ::QVideoEncoderSettingsControl *sipCpp = reinterpret_cast< ::QVideoEncoderSettingsControl *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QVideoEncoderSettingsControl(sipSimpleWrapper *);}
static void dealloc_QVideoEncoderSettingsControl(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQVideoEncoderSettingsControl *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QVideoEncoderSettingsControl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QVideoEncoderSettingsControl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVideoEncoderSettingsControl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQVideoEncoderSettingsControl *sipCpp = SIP_NULLPTR;

    {
        ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQVideoEncoderSettingsControl(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QVideoEncoderSettingsControl[] = {{104, 255, 1}};


static PyMethodDef methods_QVideoEncoderSettingsControl[] = {
    {sipName_setVideoSettings, meth_QVideoEncoderSettingsControl_setVideoSettings, METH_VARARGS, doc_QVideoEncoderSettingsControl_setVideoSettings},
    {sipName_supportedFrameRates, SIP_MLMETH_CAST(meth_QVideoEncoderSettingsControl_supportedFrameRates), METH_VARARGS|METH_KEYWORDS, doc_QVideoEncoderSettingsControl_supportedFrameRates},
    {sipName_supportedResolutions, SIP_MLMETH_CAST(meth_QVideoEncoderSettingsControl_supportedResolutions), METH_VARARGS|METH_KEYWORDS, doc_QVideoEncoderSettingsControl_supportedResolutions},
    {sipName_supportedVideoCodecs, meth_QVideoEncoderSettingsControl_supportedVideoCodecs, METH_VARARGS, doc_QVideoEncoderSettingsControl_supportedVideoCodecs},
    {sipName_videoCodecDescription, meth_QVideoEncoderSettingsControl_videoCodecDescription, METH_VARARGS, doc_QVideoEncoderSettingsControl_videoCodecDescription},
    {sipName_videoSettings, meth_QVideoEncoderSettingsControl_videoSettings, METH_VARARGS, doc_QVideoEncoderSettingsControl_videoSettings}
};

PyDoc_STRVAR(doc_QVideoEncoderSettingsControl, "\1QVideoEncoderSettingsControl(parent: QObject|None = None)");


static pyqt5ClassPluginDef plugin_QVideoEncoderSettingsControl = {
    &::QVideoEncoderSettingsControl::staticMetaObject,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtMultimedia_QVideoEncoderSettingsControl = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QVideoEncoderSettingsControl,
        SIP_NULLPTR,
        &plugin_QVideoEncoderSettingsControl,
    },
    {
        sipNameNr_QVideoEncoderSettingsControl,
        {0, 0, 1},
        6, methods_QVideoEncoderSettingsControl,
        0, SIP_NULLPTR,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QVideoEncoderSettingsControl,
    -1,
    -1,
    supers_QVideoEncoderSettingsControl,
    SIP_NULLPTR,
    init_type_QVideoEncoderSettingsControl,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QVideoEncoderSettingsControl,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QVideoEncoderSettingsControl,
    cast_QVideoEncoderSettingsControl,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof (::QVideoEncoderSettingsControl),
};
