forked from IENT/YUView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYUView.pro
297 lines (270 loc) · 8.54 KB
/
YUView.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
QT += gui opengl xml concurrent network
TARGET = YUView
TEMPLATE = app
CONFIG += c++11
# Please keep the project file lists sorted by name.
SOURCES += \
source/bitstreamAnalysisWidget.cpp \
source/decoderBase.cpp \
source/decoderDav1d.cpp \
source/decoderFFmpeg.cpp \
source/decoderHM.cpp \
source/decoderLibde265.cpp \
source/FFMpegLibrariesHandling.cpp \
source/fileInfoWidget.cpp \
source/fileSource.cpp \
source/fileSourceAnnexBFile.cpp \
source/fileSourceFFmpegFile.cpp \
source/frameHandler.cpp \
source/mainwindow.cpp \
source/parserAnnexB.cpp \
source/parserAnnexBAVC.cpp \
source/parserAnnexBHEVC.cpp \
source/parserAnnexBMpeg2.cpp \
source/parserAV1OBU.cpp \
source/parserAVFormat.cpp \
source/parserBase.cpp \
source/parserCommon.cpp \
source/playbackController.cpp \
source/playlistItem.cpp \
source/playlistItemCompressedVideo.cpp \
source/playlistItemContainer.cpp \
source/playlistItemDifference.cpp \
source/playlistItemImageFile.cpp \
source/playlistItemImageFileSequence.cpp \
source/playlistItemOverlay.cpp \
source/playlistItemRawFile.cpp \
source/playlistItems.cpp \
source/playlistItemStatisticsFile.cpp \
source/playlistItemStatisticsCSVFile.cpp \
source/playlistItemStatisticsVTMBMSFile.cpp \
source/playlistItemText.cpp \
source/playlistItemWithVideo.cpp \
source/playlistTreeWidget.cpp \
source/propertiesWidget.cpp \
source/separateWindow.cpp \
source/settingsDialog.cpp \
source/showColorFrame.cpp \
source/singleInstanceHandler.cpp \
source/splitViewWidget.cpp \
source/statisticHandler.cpp \
source/statisticsExtensions.cpp \
source/statisticsstylecontrol.cpp \
source/statisticsStyleControl_ColorMapEditor.cpp \
source/typedef.cpp \
source/updateHandler.cpp \
source/videoCache.cpp \
source/videoCacheInfoWidget.cpp \
source/videoHandler.cpp \
source/videoHandlerDifference.cpp \
source/videoHandlerRGB.cpp \
source/videoHandlerYUV.cpp \
source/viewStateHandler.cpp \
source/yuviewapp.cpp
HEADERS += \
source/bitstreamAnalysisWidget.h \
source/decoderBase.h \
source/decoderDav1d.h \
source/decoderFFmpeg.h \
source/decoderHM.h \
source/decoderLibde265.h \
source/FFMpegLibrariesHandling.h \
source/FFMpegLibrariesTypes.h \
source/fileInfoWidget.h \
source/fileSource.h \
source/fileSourceAnnexBFile.h \
source/fileSourceFFmpegFile.h \
source/frameHandler.h \
source/labelElided.h \
source/mainwindow.h \
source/mainwindow_performanceTestDialog.h \
source/parserAnnexB.h \
source/parserAnnexBAVC.h \
source/parserAnnexBHEVC.h \
source/parserAnnexBMpeg2.h \
source/parserAV1OBU.h \
source/parserAVFormat.h \
source/parserBase.h \
source/parserCommon.h \
source/parserCommonMacros.h \
source/playbackController.h \
source/playlistItem.h \
source/playlistItemCompressedVideo.h \
source/playlistItemContainer.h \
source/playlistItemDifference.h \
source/playlistItemImageFile.h \
source/playlistItemImageFileSequence.h \
source/playlistItemOverlay.h \
source/playlistItemRawFile.h \
source/playlistItems.h \
source/playlistItemStatisticsFile.h \
source/playlistItemStatisticsCSVFile.h \
source/playlistItemStatisticsVTMBMSFile.h \
source/playlistItemText.h \
source/playlistItemWithVideo.h \
source/playlistTreeWidget.h \
source/propertiesWidget.h \
source/separateWindow.h \
source/settingsDialog.h \
source/showColorFrame.h \
source/splitViewWidget.h \
source/singleInstanceHandler.h \
source/statisticHandler.h \
source/statisticsExtensions.h \
source/statisticsstylecontrol.h \
source/statisticsStyleControl_ColorMapEditor.h \
source/typedef.h \
source/updateHandler.h \
source/videoCache.h \
source/videoCacheInfoWidget.h \
source/videoHandler.h \
source/videoHandlerDifference.h \
source/videoHandlerRGB.h \
source/videoHandlerYUV.h \
source/viewStateHandler.h \
source/yuviewapp.h \
decoder/libde265/de265.h \
decoder/libde265/de265_internals.h \
decoder/libde265/de265-version.h \
decoder/dav1d/common.h \
decoder/dav1d/data.h \
decoder/dav1d/dav1d.h \
decoder/dav1d/headers.h \
decoder/dav1d/picture.h
FORMS += \
ui/bitstreamAnalysisWidget.ui \
ui/frameHandler.ui \
ui/mainwindow.ui \
ui/mainwindow_performanceTestDialog.ui \
ui/playbackController.ui \
ui/playlistItem.ui \
ui/playlistItemCompressedFile.ui \
ui/playlistItemCompressedFile_logDialog.ui \
ui/playlistItemOverlay.ui \
ui/playlistItemText.ui \
ui/playlistItemHEVCFile.ui \
ui/settingsDialog.ui \
ui/splitViewWidgetControls.ui \
ui/statisticHandler.ui \
ui/updateDialog.ui \
ui/videoHandlerDifference.ui \
ui/videoHandlerRGB.ui \
ui/videoHandlerRGB_CustomFormatDialog.ui \
ui/videoHandlerYUV.ui \
ui/videoHandlerYUV_CustomFormatDialog.ui \
ui/statisticsstylecontrol.ui \
ui/statisticsStyleControl_ColorMapEditor.ui
RESOURCES += \
images/images.qrc \
docs/resources.qrc
INCLUDEPATH += \
decoder/libde265 \
decoder/dav1d \
source/
OTHER_FILES += \
HACKING.md \
README.md \
docs/about.html \
docs/help.html
unix:!mac {
isEmpty(PREFIX) {
PREFIX = /usr/local
}
isEmpty(BINDIR) {
BINDIR = bin
}
target.path = $$PREFIX/$$BINDIR/
metainfo.files = packaging/linux/de.rwth_aachen.ient.YUView.appdata.xml
metainfo.path = $$PREFIX/share/metainfo
desktop.files = packaging/linux/de.rwth_aachen.ient.YUView.desktop
desktop.path = $$PREFIX/share/applications
mime.files = packaging/linux/de.rwth_aachen.ient.YUView.xml
mime.path = $$PREFIX/share/mime/packages
icon32.files = packaging/linux/icons/32x32/de.rwth_aachen.ient.YUView.png
icon64.files = packaging/linux/icons/64x64/de.rwth_aachen.ient.YUView.png
icon128.files = packaging/linux/icons/128x128/de.rwth_aachen.ient.YUView.png
icon256.files = packaging/linux/icons/256x256/de.rwth_aachen.ient.YUView.png
icon512.files = packaging/linux/icons/512x512/de.rwth_aachen.ient.YUView.png
icon32.path = $$PREFIX/share/icons/hicolor/32x32/apps
icon64.path = $$PREFIX/share/icons/hicolor/64x64/apps
icon128.path = $$PREFIX/share/icons/hicolor/128x128/apps
icon256.path = $$PREFIX/share/icons/hicolor/256x256/apps
icon512.path = $$PREFIX/share/icons/hicolor/512x512/apps
INSTALLS += target metainfo desktop mime icon32 icon64 icon128 icon256 icon512
}
contains(QT_ARCH, x86_32|i386) {
warning("You are building for a 32 bit system. This is untested!")
}
macx {
CONFIG(debug, debug|release) {
DESTDIR = build/debug
} else {
DESTDIR = build/release
}
OBJECTS_DIR = $$DESTDIR/.obj
MOC_DIR = $$DESTDIR/.moc
RCC_DIR = $$DESTDIR/.qrc
UI_DIR = $$DESTDIR/.ui
QMAKE_MAC_SDK = macosx
ICON = images/YUView.icns
QMAKE_INFO_PLIST = Info.plist
SVNN = $$system("git describe --tags")
}
linux {
CONFIG(debug, debug|release) {
DESTDIR = build/debug
} else {
DESTDIR = build/release
}
OBJECTS_DIR = $$DESTDIR/.obj
MOC_DIR = $$DESTDIR/.moc
RCC_DIR = $$DESTDIR/.qrc
UI_DIR = $$DESTDIR/.ui
SVNN = $$system("git describe --tags")
}
win32-msvc* {
message("MSVC Compiler detected.")
}
win32-g++ {
message("MinGW Compiler detected.")
QMAKE_FLAGS_RELEASE += -O3 -Ofast -msse4.1 -mssse3 -msse3 -msse2 -msse -mfpmath=sse
QMAKE_CXXFLAGS_RELEASE += -O3 -Ofast -msse4.1 -mssse3 -msse3 -msse2 -msse -mfpmath=sse
}
win32 {
CONFIG(debug, debug|release) {
DESTDIR = build/debug
} else {
DESTDIR = build/release
}
OBJECTS_DIR = $$DESTDIR/.obj
MOC_DIR = $$DESTDIR/.moc
RCC_DIR = $$DESTDIR/.qrc
UI_DIR = $$DESTDIR/.ui
#QMAKE_LFLAGS_DEBUG = /INCREMENTAL:NO
RC_FILE += images/WindowsAppIcon.rc
SVNN = $$system("git describe --tags")
DEFINES += NOMINMAX
}
LASTHASH = $$system("git rev-parse HEAD")
isEmpty(LASTHASH) {
LASTHASH = 0
}
win32-msvc* {
HASHSTRING = '\\"$${LASTHASH}\\"'
DEFINES += YUVIEW_HASH=$${HASHSTRING}
}
win32-g++ | linux | macx {
HASHSTRING = '\\"$${LASTHASH}\\"'
DEFINES += YUVIEW_HASH=\"$${HASHSTRING}\"
}
isEmpty(SVNN) {
SVNN = 0
}
win32-msvc* {
VERSTR = '\\"$${SVNN}\\"'
DEFINES += YUVIEW_VERSION=$${VERSTR}
}
win32-g++ | linux | macx {
VERSTR = '\\"$${SVNN}\\"'
DEFINES += YUVIEW_VERSION=\"$${VERSTR}\"
}