Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/XRDP/vrplayer/   (X11 Server Version 0.10.6.1©)  Datei vom 7.6.2026 mit Größe 1 kB image not shown  

Quelle  ourinterface.h

  Sprache: C
 

#ifndef OURINTERFACE_H
#define OURINTERFACE_H

#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
#include <stdint.h>
#endif

#include <QObject>
#include <QRect>
#include <QDebug> // LK_TODO

#include "xrdpvr.h"
#include "xrdpapi.h"
#include "demuxmedia.h"
#include "playvideo.h"

/* ffmpeg related stuff */
extern "C"
{
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
}

class OurInterface : public QObject
{
        Q_OBJECT

    public:
        explicit OurInterface(QObject *parent = 0);

        /* public methods */
        int  oneTimeInit();
        void oneTimeDeinit();
        int initRemoteClient();
        void deInitRemoteClient();
        int  sendGeometry(QRect rect);
        void setFilename(QString filename);
        void playMedia();
        //PlayVideo *getPlayVideoInstance();
        DemuxMedia *getDemuxMediaInstance();
        void setVcrOp(int op);
        int setVolume(int volume);

    public slots:
        void onGeometryChanged(int x, int y, int width, int height);

    signals:
        void on_ErrorMsg(QString title, QString msg);
        void onMediaDurationInSeconds(int duration);

    private:

        /* private stuff */

        QQueue<MediaPacket *> videoQueue;

        DemuxMedia     *demuxMedia;
        QThread        *demuxMediaThread;
        //PlayVideo      *playVideo;
        QString         filename;
        void           *channel;
        int             stream_id;
        QRect           savedGeometry;

        /* private methods */
        int  openVirtualChannel();
        int  closeVirtualChannel();
        int  sendMetadataFile();
        int  sendVideoFormat();
        int  sendAudioFormat();
};

#endif // INTERFACE_H

Messung V0.5 in Prozent
C=96 H=100 G=97

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-07-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.