2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
51 lines
934 B
C++
51 lines
934 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QTimer>
|
|
#include <QBoxLayout>
|
|
|
|
#include "gdvlcmodule.h"
|
|
|
|
#include "OpenGLView.h"
|
|
|
|
|
|
//#define USE_WINDOW_HAND
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
~MainWindow();
|
|
|
|
private:
|
|
void InitStyle();
|
|
|
|
static void VideoDataCallback(unsigned char* pFrame, long lFrameWidth, long lFrameHeight, long lFrameSize, VideoDataFormat eType, void* pUser);
|
|
|
|
void ProcessVideoDataCallback(unsigned char* pFrame, long lFrameWidth, long lFrameHeight, long lFrameSize, VideoDataFormat eType);
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
|
|
OpenGLView* m_pVideoOpenGLView;
|
|
GdVlcModule* m_pVlcModule;
|
|
|
|
|
|
int m_nImageWidth;
|
|
int m_nImageHeight;
|
|
|
|
|
|
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|