diff options
Diffstat (limited to 'mpeglib/lib/util')
-rw-r--r-- | mpeglib/lib/util/CMakeLists.txt | 48 | ||||
-rw-r--r-- | mpeglib/lib/util/abstract/CMakeLists.txt | 37 | ||||
-rw-r--r-- | mpeglib/lib/util/audio/CMakeLists.txt | 28 | ||||
-rw-r--r-- | mpeglib/lib/util/file/CMakeLists.txt | 35 | ||||
-rw-r--r-- | mpeglib/lib/util/mmx/CMakeLists.txt | 40 | ||||
-rw-r--r-- | mpeglib/lib/util/render/CMakeLists.txt | 45 | ||||
-rw-r--r-- | mpeglib/lib/util/render/dither/CMakeLists.txt | 33 | ||||
-rw-r--r-- | mpeglib/lib/util/render/dither2YUV/CMakeLists.txt | 29 | ||||
-rw-r--r-- | mpeglib/lib/util/render/sdl/CMakeLists.txt | 28 | ||||
-rw-r--r-- | mpeglib/lib/util/render/x11/CMakeLists.txt | 31 |
10 files changed, 354 insertions, 0 deletions
diff --git a/mpeglib/lib/util/CMakeLists.txt b/mpeglib/lib/util/CMakeLists.txt new file mode 100644 index 00000000..877688c1 --- /dev/null +++ b/mpeglib/lib/util/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (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( abstract ) +add_subdirectory( audio ) +add_subdirectory( file ) +add_subdirectory( mmx ) +add_subdirectory( render ) + + +include_directories( + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### mpeg_util (library) ####################### + +tde_add_library( mpeg_util STATIC_PIC + SOURCES + timeStamp.cpp + timeStampArray.cpp + dynBuffer.cpp syncClock.cpp + syncClockMPEG.cpp timeWrapper.cpp +) + + +##### other data ################################ + +install( + FILES + timeStamp.h dynBuffer.h + timeStampArray.h syncClock.h timeWrapper.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/util +) diff --git a/mpeglib/lib/util/abstract/CMakeLists.txt b/mpeglib/lib/util/abstract/CMakeLists.txt new file mode 100644 index 00000000..38cdd152 --- /dev/null +++ b/mpeglib/lib/util/abstract/CMakeLists.txt @@ -0,0 +1,37 @@ +################################################# +# +# (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_utilabstract (library) ############### + +tde_add_library( mpeg_utilabstract STATIC_PIC + SOURCES + abs_thread_sdl.cpp threadQueue.cpp +) + + +##### other data ################################ + +install( + FILES + abs_thread.h threadQueue.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/util/abstract +) diff --git a/mpeglib/lib/util/audio/CMakeLists.txt b/mpeglib/lib/util/audio/CMakeLists.txt new file mode 100644 index 00000000..829e37f6 --- /dev/null +++ b/mpeglib/lib/util/audio/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_utilaudio (library) ################## + +tde_add_library( mpeg_utilaudio STATIC_PIC + SOURCES + audioIO.cpp dspWrapper.cpp +) diff --git a/mpeglib/lib/util/file/CMakeLists.txt b/mpeglib/lib/util/file/CMakeLists.txt new file mode 100644 index 00000000..3253cb9d --- /dev/null +++ b/mpeglib/lib/util/file/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (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_utilsimplefile (library) ############# + +tde_add_library( mpeg_utilsimplefile STATIC_PIC + SOURCES fileAccess.cpp +) + + +##### other data ################################ + +install( + FILES fileAccess.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/util/file +) diff --git a/mpeglib/lib/util/mmx/CMakeLists.txt b/mpeglib/lib/util/mmx/CMakeLists.txt new file mode 100644 index 00000000..1d3e5011 --- /dev/null +++ b/mpeglib/lib/util/mmx/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (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_utilmmx (library) #################### + +tde_add_library( mpeg_utilmmx STATIC_PIC + SOURCES + cpu_accel.c mmx.c +) + +set_property( TARGET mpeg_utilmmx-static + APPEND PROPERTY COMPILE_DEFINITIONS PIC ) + + +##### other data ################################ + +install( + FILES + mmx.h mmx_asm.h mm_accel.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/util/mmx +) 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 +) |