multimedia/client/qt_gl_/yuvgl/main.cpp

48 lines
911 B
C++

#include "mainwindow.h"
#include <QApplication>
#include "cplaywidget.h"
#include <QTimer>
#include "CameraCapture.h"
#include "mainwindow.h"
#include <qlibrary.h>
#include <qsysinfo.h>
#include <qt_windows.h>
#include "media/screen_capture.h"
#include "media/DXGICapture.h"
#include <QVector>
#include <stdio.h>
#include <tchar.h>
#include <shlobj.h>
#include <D3D9.h>
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
#ifdef __MINGW32__
#include <Tlhelp32.h>
#include "winuser.h"
#endif
int RegiesterOwnType(){
return 0;
}
int main(int argc, char *argv[])
{
setbuf(stdout, NULL);//让printf立即输出
ScreenCapture p;
p.EnumScreen();
Direct3D9TakeScreenshots(0,4);
QssEventFilter filter;
QApplication app(argc, argv);
MainWindow main;
main.setWindowTitle("流媒体测试工具");
main.setFixedSize(1920,1080);
main.show();
return app.exec();
}