summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/util/render
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib/lib/util/render')
-rw-r--r--mpeglib/lib/util/render/CMakeLists.txt45
-rw-r--r--mpeglib/lib/util/render/dither/CMakeLists.txt33
-rw-r--r--mpeglib/lib/util/render/dither2YUV/CMakeLists.txt29
-rw-r--r--mpeglib/lib/util/render/sdl/CMakeLists.txt28
-rw-r--r--mpeglib/lib/util/render/x11/CMakeLists.txt31
5 files changed, 166 insertions, 0 deletions
diff --git a/mpeglib/lib/util/render/CMakeLists.txt b/mpeglib/lib/util/render/CMakeLists.txt
new file mode 100644
index 00000000..2ed3b971
--- /dev/null
+++ b/mpeglib/lib/util/render/CMakeLists.txt
@@ -0,0 +1,45 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( dither )
+add_subdirectory( dither2YUV )
+add_subdirectory( sdl )
+add_subdirectory( x11 )
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### mpeg_utilrender (library) #################
+
+tde_add_library( mpeg_utilrender STATIC_PIC
+ SOURCES
+ yuvPicture.cpp imageBase.cpp
+ renderMachine.cpp surface.cpp
+ pictureArray.cpp
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ yuvPicture.h pictureArray.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/util/render
+)
diff --git a/mpeglib/lib/util/render/dither/CMakeLists.txt b/mpeglib/lib/util/render/dither/CMakeLists.txt
new file mode 100644
index 00000000..e2520de1
--- /dev/null
+++ b/mpeglib/lib/util/render/dither/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### mpeg_utilrenderdither (library) ###########
+
+tde_add_library( mpeg_utilrenderdither STATIC_PIC
+ SOURCES
+ ditherWrapper.cpp
+ dither8Bit.cpp
+ colorTable8Bit.cpp colorTableHighBit.cpp
+ dither16Bit.cpp dither32Bit.cpp
+ ditherRGB_flipped.cpp ditherRGB.cpp
+ ditherer_mmx16.cpp dither32mmx.cpp
+)
diff --git a/mpeglib/lib/util/render/dither2YUV/CMakeLists.txt b/mpeglib/lib/util/render/dither2YUV/CMakeLists.txt
new file mode 100644
index 00000000..ea6ad820
--- /dev/null
+++ b/mpeglib/lib/util/render/dither2YUV/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/..
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### mpeg_utilrenderdither2YUV (library) #######
+
+tde_add_library( mpeg_utilrenderdither2YUV STATIC_PIC
+ SOURCES
+ dither2YUV.cpp rgb2yuv16.cpp rgb2yuv32.cpp
+)
diff --git a/mpeglib/lib/util/render/sdl/CMakeLists.txt b/mpeglib/lib/util/render/sdl/CMakeLists.txt
new file mode 100644
index 00000000..a6bfc4d0
--- /dev/null
+++ b/mpeglib/lib/util/render/sdl/CMakeLists.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### mpeg_utilrendersdl (library) ##############
+
+tde_add_library( mpeg_utilrendersdl STATIC_PIC
+ SOURCES
+ imageDeskSDL.cpp sdlSurface.cpp
+)
diff --git a/mpeglib/lib/util/render/x11/CMakeLists.txt b/mpeglib/lib/util/render/x11/CMakeLists.txt
new file mode 100644
index 00000000..7c36e325
--- /dev/null
+++ b/mpeglib/lib/util/render/x11/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### mpeg_utilrenderx11 (library) ##############
+
+tde_add_library( mpeg_utilrenderx11 STATIC_PIC
+ SOURCES
+ initDisplay.cpp
+ imageDeskX11.cpp
+ imageDGAFull.cpp imageXVDesk.cpp
+ x11Surface.cpp
+)