Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

ffmpegsinkwidget.h Example File
ffmpeg/ffmpegsinkwidget.h

    /****************************************************************************
    **
    ** This file is part of the Qt Extended Commercial Package.
    **
    ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef __FFMPEG_SINKWIDGET_H
    #define __FFMPEG_SINKWIDGET_H

    #include <QWidget>

    class QVideoFrame;
    class QVideoSurface;

    namespace ffmpeg
    {

    class SinkWidget
    {
    public:
        virtual ~SinkWidget();

        virtual QVideoSurface *videoSurface() = 0;

        virtual void setVideoSize(int width, int height) = 0;

        virtual int windowId() const = 0;
        virtual void paint( const QVideoFrame& ) = 0;
    };

    }   // ns ffmpeg

    #endif  // __FFMPEG_SINKWIDGET_H


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3