diff options
Diffstat (limited to 'mpeglib/lib')
23 files changed, 851 insertions, 3 deletions
diff --git a/mpeglib/lib/CMakeLists.txt b/mpeglib/lib/CMakeLists.txt new file mode 100644 index 00000000..0cb4b49a --- /dev/null +++ b/mpeglib/lib/CMakeLists.txt @@ -0,0 +1,67 @@ +################################################# +# +# (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( decoder ) +add_subdirectory( frame ) +add_subdirectory( input ) +add_subdirectory( mpegplay ) +add_subdirectory( mpgplayer ) +add_subdirectory( oggvorbis ) +add_subdirectory( output ) +add_subdirectory( splay ) +add_subdirectory( tplay ) +add_subdirectory( util ) +add_subdirectory( yuv ) + + +include_directories( + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${ARTS_LIBRARY_DIRS} +) + + +##### mpeg-lib (library) ######################## + +tde_add_library( mpeg SHARED + SOURCES dummy.cpp + RELEASE ${MPEGLIB_VERSION} + EMBED + mpeg_mpgplayer-static + mpeg_mpegplay-static + mpeg_splay-static + mpeg_oggvorbisbase-static + mpeg_tplay-static + mpeg_decoder-static + mpeg_output-static + mpeg_input-static + mpeg_util-static + mpeg_utilabstract-static + mpeg_utilaudio-static + mpeg_utilsimplefile-static + mpeg_utilrender-static + mpeg_utilrenderdither-static + mpeg_utilrenderdither2YUV-static + mpeg_utilrenderx11-static + mpeg_utilmmx-static + mpeg_frame-static + mpeg_yuvPlugin-static + LINK + mcop kmedia2_idl soundserver_idl artsflow_idl artsmodules-shared + X11 ${XEXT_LIBRARIES} m ${XV_LIBRARIES} ${DGA_LIBRARIES} ${XVIDMODE_LIBRARIES} + ${CDPARANOIA_LIBRARIES} ${VORBIS_LIBRARIES} ${VORBISFILE_LIBRARIES} pthread + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/mpeglib/lib/decoder/CMakeLists.txt b/mpeglib/lib/decoder/CMakeLists.txt new file mode 100644 index 00000000..eb1371a9 --- /dev/null +++ b/mpeglib/lib/decoder/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 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### mpeg_decoder (library) #################### + +tde_add_library( mpeg_decoder STATIC_PIC + SOURCES + decoderPlugin.cpp command.cpp + commandPipe.cpp nukePlugin.cpp + vorbisPlugin.cpp cddaPlugin.cpp + splayPlugin.cpp mpegPlugin.cpp + mpgPlugin.cpp tplayPlugin.cpp +) + + +##### other data ################################ + +install( + FILES + decoderPlugin.h command.h + commandPipe.h nukePlugin.h + vorbisPlugin.h cddaPlugin.h + splayPlugin.h mpegPlugin.h + mpgPlugin.h tplayPlugin.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/decoder +) diff --git a/mpeglib/lib/frame/CMakeLists.txt b/mpeglib/lib/frame/CMakeLists.txt new file mode 100644 index 00000000..e8517950 --- /dev/null +++ b/mpeglib/lib/frame/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (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_frame (library) ###################### + +tde_add_library( mpeg_frame STATIC_PIC + SOURCES + pcmFrame.cpp + audioFrame.cpp floatFrame.cpp frame.cpp + frameQueue.cpp IOFrameQueue.cpp + audioFrameQueue.cpp framer.cpp + rawDataBuffer.cpp rawFrame.cpp +) + + +##### other data ################################ + +install( + FILES + pcmFrame.h audioFrame.h + floatFrame.h frameQueue.h frame.h + IOFrameQueue.h audioFrameQueue.h + framer.h rawDataBuffer.h rawFrame.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/frame +) diff --git a/mpeglib/lib/input/CMakeLists.txt b/mpeglib/lib/input/CMakeLists.txt new file mode 100644 index 00000000..37e1f539 --- /dev/null +++ b/mpeglib/lib/input/CMakeLists.txt @@ -0,0 +1,51 @@ +################################################# +# +# (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_input (library) ###################### + +tde_add_library( mpeg_input STATIC_PIC + SOURCES + inputStream.cpp fileInputStream.cpp + inputPlugin.cpp + cdromToc.cpp cdromRawAccess.cpp + cdromInputStream.cpp + bufferInputStream.cpp + simpleRingBuffer.cpp + cdromAccess.cpp inputDetector.cpp + httpInputStream.cpp + threadSafeInputStream.cpp + cddaInputStream.cpp + fileAccessWrapper.cpp +) + + +##### other data ################################ + +install( + FILES + inputStream.h fileInputStream.h + inputPlugin.h + cdromInputStream.h bufferInputStream.h + inputDetector.h httpInputStream.h + threadSafeInputStream.h cddaInputStream.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/input +) diff --git a/mpeglib/lib/input/cdromRawAccess.cpp b/mpeglib/lib/input/cdromRawAccess.cpp index b0df4747..e23158f6 100644 --- a/mpeglib/lib/input/cdromRawAccess.cpp +++ b/mpeglib/lib/input/cdromRawAccess.cpp @@ -55,7 +55,7 @@ int CDRomRawAccess::open(const char* filename) { if (strlen(filename) <= 1) { filename="/dev/cdrom"; } - char* openfile=strchr(filename,'/'); + const char* openfile=strchr(filename,'/'); cout << "openfile:"<<openfile<<endl; cdfile=fopen(openfile, "rb"); lOpen=false; diff --git a/mpeglib/lib/input/inputDetector.cpp b/mpeglib/lib/input/inputDetector.cpp index 28bcad5c..56fae0e2 100644 --- a/mpeglib/lib/input/inputDetector.cpp +++ b/mpeglib/lib/input/inputDetector.cpp @@ -119,7 +119,7 @@ char* InputDetector::getExtension(const char* url) { return NULL; } char* back=NULL; - char* extStart=strrchr(url,'.'); + const char* extStart=strrchr(url,'.'); if (extStart != NULL) { cout << "extStart:"<<extStart<<endl; back=strdup(extStart); @@ -172,7 +172,7 @@ char* InputDetector::getFilename(const char* url) { if (url == NULL) { return NULL; } - char* startSlash=strrchr(url,'/'); + const char* startSlash=strrchr(url,'/'); if (startSlash == NULL) { return NULL; } diff --git a/mpeglib/lib/mpegplay/CMakeLists.txt b/mpeglib/lib/mpegplay/CMakeLists.txt new file mode 100644 index 00000000..2ae612bb --- /dev/null +++ b/mpeglib/lib/mpegplay/CMakeLists.txt @@ -0,0 +1,53 @@ +################################################# +# +# (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_mpegplay (library) ################### + +tde_add_library( mpeg_mpegplay STATIC_PIC + SOURCES + mpegVideoHeader.cpp mpegVideoStream.cpp + globals.cpp jrevdct.cpp + recon.cpp decoderClass.cpp + decoderTables.cpp motionVector.cpp + slice.cpp gop.cpp + mmxidct.cpp + mpegSystemHeader.cpp mpegSystemStream.cpp + picture.cpp mpegExtension.cpp + macroBlock.cpp + mpegVideoLength.cpp + mpegVideoBitWindow.cpp videoDecoder.cpp + copyFunctions_asm.cpp copyFunctions_mmx.cpp + mmxidct_asm.S copyFunctions.cpp + tsSystemStream.cpp psSystemStream.cpp + pesSystemStream.cpp +) + + +##### other data ################################ + +install( + FILES + mpegSystemStream.h mpegVideoLength.h + mpegSystemHeader.h tsSystemStream.h + psSystemStream.h pesSystemStream.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/mpegutil +) diff --git a/mpeglib/lib/mpgplayer/CMakeLists.txt b/mpeglib/lib/mpgplayer/CMakeLists.txt new file mode 100644 index 00000000..4f5db11b --- /dev/null +++ b/mpeglib/lib/mpgplayer/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_mpgplayer (library) ################## + +tde_add_library( mpeg_mpgplayer STATIC_PIC + SOURCES mpegStreamPlayer.cpp +) + + +##### other data ################################ + +install( + FILES mpegStreamPlayer.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/mpegutil +) diff --git a/mpeglib/lib/oggvorbis/CMakeLists.txt b/mpeglib/lib/oggvorbis/CMakeLists.txt new file mode 100644 index 00000000..2921e299 --- /dev/null +++ b/mpeglib/lib/oggvorbis/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (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_oggvorbisbase (library) ############## + +tde_add_library( mpeg_oggvorbisbase STATIC_PIC + SOURCES + ovFramer.cpp vorbisDecoder.cpp + oggFrame.cpp vorbisInfo.cpp +) + + +##### other data ################################ + +install( + FILES + ovFramer.h vorbisDecoder.h oggFrame.h vorbisInfo.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/oggvorbis +) diff --git a/mpeglib/lib/output/CMakeLists.txt b/mpeglib/lib/output/CMakeLists.txt new file mode 100644 index 00000000..4b6fa20f --- /dev/null +++ b/mpeglib/lib/output/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 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### mpeg_output (library) ##################### + +tde_add_library( mpeg_output STATIC_PIC + SOURCES + outPlugin.cpp outputStream.cpp + dspX11OutputStream.cpp + windowOut.cpp + audioTime.cpp + audioData.cpp audioDataArray.cpp + avSyncer.cpp performance.cpp + artsOutputStream.cpp + pluginInfo.cpp yuvDumper.cpp + threadSafeOutputStream.cpp +) + + +##### other data ################################ + +install( + FILES + outputStream.h pluginInfo.h + outPlugin.h dspX11OutputStream.h + artsOutputStream.h audioTime.h + avSyncer.h threadSafeOutputStream.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/output +) diff --git a/mpeglib/lib/splay/CMakeLists.txt b/mpeglib/lib/splay/CMakeLists.txt new file mode 100644 index 00000000..d299cd78 --- /dev/null +++ b/mpeglib/lib/splay/CMakeLists.txt @@ -0,0 +1,50 @@ +################################################# +# +# (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_splay (library) ###################### + +tde_add_library( mpeg_splay STATIC_PIC + SOURCES + mpegAudioHeader.cpp mpegAudioStream.cpp + huffmantable.cpp + mpeglayer1.cpp + mpeglayer2.cpp + mpeglayer3.cpp + mpegtable.cpp + mpegtoraw.cpp + dxHead.cpp + mpegAudioBitWindow.cpp huffmanlookup.cpp + splayDecoder.cpp + dump.cpp synth_filter.cpp + synthesis.cpp synth_Std.cpp synth_Down.cpp + mpegAudioFrame.cpp + mpegAudioInfo.cpp +) + + +##### other data ################################ + +install( + FILES + splayDecoder.h mpegAudioInfo.h mpegAudioFrame.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/splay +) diff --git a/mpeglib/lib/tplay/CMakeLists.txt b/mpeglib/lib/tplay/CMakeLists.txt new file mode 100644 index 00000000..7a7cf2dd --- /dev/null +++ b/mpeglib/lib/tplay/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_tplay (library) ###################### + +tde_add_library( mpeg_tplay STATIC_PIC + SOURCES + au.cpp tplayfunctions.cpp wav.cpp +) 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 +) diff --git a/mpeglib/lib/yuv/CMakeLists.txt b/mpeglib/lib/yuv/CMakeLists.txt new file mode 100644 index 00000000..ba551fc1 --- /dev/null +++ b/mpeglib/lib/yuv/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_yuvPlugin (library) ################## + +tde_add_library( mpeg_yuvPlugin STATIC_PIC + SOURCES yuvPlugin.cpp +) + + +##### other data ################################ + +install( + FILES yuvPlugin.h + DESTINATION ${INCLUDE_INSTALL_DIR}/mpeglib/decoder +) |