1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/widget/netcamview.h
Tux3 / Mlkj / !Lev.uXFMLA 3fde891b91 EXPERIMENTAL video call reception
Can not send video in calls, just receive and play it

Known bug : The video isn't converted perfectly to RGB, there are some visible errors
2014-06-30 04:40:18 +02:00

30 lines
444 B
C++

#ifndef NETCAMVIEW_H
#define NETCAMVIEW_H
#include <QWidget>
#include <QHBoxLayout>
#include <QTimer>
#include <QLabel>
#include <vpx/vpx_image.h>
class QCloseEvent;
class QShowEvent;
class QPainter;
class NetCamView : public QWidget
{
Q_OBJECT
public:
NetCamView(QWidget *parent=0);
public slots:
void updateDisplay(vpx_image frame);
private:
QLabel *displayLabel;
QHBoxLayout* mainLayout;
};
#endif // NETCAMVIEW_H