+macro_optional_find_package(Nepomuk)
+macro_optional_find_package(QJSON)
+
+add_subdirectory(audioscopes)
add_subdirectory(beziercurve)
+add_subdirectory(blackmagic)
add_subdirectory(colorcorrection)
+add_subdirectory(colorscopes)
+add_subdirectory(commands)
+add_subdirectory(databackup)
add_subdirectory(kiss_fft)
add_subdirectory(mimetypes)
add_subdirectory(onmonitoritems)
-add_subdirectory(rotoscoping)
-add_subdirectory(widgets)
-add_subdirectory(databackup)
-add_subdirectory(commands)
+add_subdirectory(simplekeyframes)
+add_subdirectory(stopmotion)
-macro_optional_find_package(Nepomuk)
-macro_optional_find_package(QJSON)
+if(QJSON_FOUND)
+ add_subdirectory(rotoscoping)
+ add_subdirectory(onmonitoritems/rotoscoping)
+ include_directories(QJSON_INCLUDE_DIR)
+ set(optional_libs ${optional_libs} ${QJSON_LIBRARIES})
+ add_definitions(-DQJSON)
+else(QJSON_FOUND)
+ message(STATUS "Install QJson to use the rotoscoping filter")
+endif(QJSON_FOUND)
+
+if(NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD")
+ add_subdirectory(v4l)
+endif(NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD")
include_directories(
${KDE4_INCLUDE_DIR}
${LIBMLT_INCLUDE_DIR}
${LIBMLTPLUS_INCLUDE_DIR}
${QDBUS_INCLUDE_DIRS}
- ${CMAKE_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/src/audioscopes
- ${CMAKE_SOURCE_DIR}/src/beziercurve
- ${CMAKE_SOURCE_DIR}/src/colorcorrection
- ${CMAKE_SOURCE_DIR}/src/kiss_fft
- ${CMAKE_SOURCE_DIR}/src/onmonitoritems
- ${CMAKE_SOURCE_DIR}/src/onmonitoritems/rotoscoping
- ${CMAKE_SOURCE_DIR}/src/widgets
)
-
if(Nepomuk_FOUND)
include_directories(NEPOMUK_INCLUDES)
- set(optional_libs ${NEPOMUK_LIBRARIES})
+ set(optional_libs ${optional_libs} ${NEPOMUK_LIBRARIES})
add_definitions(-DNEPOMUK)
endif(Nepomuk_FOUND)
-if(QJSON_FOUND)
- include_directories(QJSON_INCLUDE_DIR)
- set(optional_libs ${optional_libs} ${QJSON_LIBRARIES})
- add_definitions(-DQJSON)
-else(QJSON_FOUND)
- message(STATUS "Install QJson to use the rotoscoping filter")
-endif(QJSON_FOUND)
-
if(Q_WS_X11)
include_directories(${X11_Xlib_INCLUDE_PATH})
endif(Q_WS_X11)
timecodedisplay.cpp
tracksconfigdialog.cpp
abstractscopewidget.cpp
- audioscopes/abstractaudioscopewidget.cpp
- audioscopes/audiospectrum.cpp
- audioscopes/spectrogram.cpp
- audioscopes/ffttools.cpp
- colorscopes/abstractgfxscopewidget.cpp
- colorscopes/histogram.cpp
- colorscopes/rgbparade.cpp
- colorscopes/vectorscope.cpp
- colorscopes/waveform.cpp
colorplaneexport.cpp
colortools.cpp
- colorcorrection/histogramgenerator.cpp
- colorcorrection/rgbparadegenerator.cpp
- colorcorrection/vectorscopegenerator.cpp
- colorcorrection/waveformgenerator.cpp
colorpickerwidget.cpp
choosecolorwidget.cpp
monitorscene.cpp
geometrywidget.cpp
doubleparameterwidget.cpp
audiosignal.cpp
- blackmagic/include/DeckLinkAPIDispatch.cpp
- stopmotion/stopmotion.cpp
- blackmagic/devices.cpp
- onmonitoritems/onmonitorrectitem.cpp
- onmonitoritems/onmonitorcornersitem.cpp
cornerswidget.cpp
- kiss_fft/_kiss_fft_guts.h
- kiss_fft/kiss_fft.c
- kiss_fft/tools/kiss_fftr.c
- beziercurve/beziersplineeditor.cpp
- beziercurve/beziersplinewidget.cpp
- beziercurve/bpoint.cpp
- beziercurve/cubicbezierspline.cpp
dragvalue.cpp
monitoreditwidget.cpp
- simplekeyframes/simpletimelinewidget.cpp
- simplekeyframes/simplekeyframewidget.cpp
noteswidget.cpp
archivewidget.cpp
mltdevicecapture.cpp
set(kdenlive_SRCS videoglwidget.cpp ${kdenlive_SRCS})
endif(APPLE OR OPENGL_FOUND)
-if(NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD")
- set(kdenlive_SRCS
- ${kdenlive_SRCS}
- v4l/v4lcapture.cpp
- v4l/src.c
- )
-endif(NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD")
-
-if(QJSON_FOUND)
- set(kdenlive_SRCS
- ${kdenlive_SRCS}
- onmonitoritems/rotoscoping/bpointitem.cpp
- onmonitoritems/rotoscoping/nearestpoint.cpp
- onmonitoritems/rotoscoping/splineitem.cpp
- rotoscoping/rotowidget.cpp
- )
-endif(QJSON_FOUND)
-
# Add libdl
find_library(DL_LIB NAMES ${CMAKE_DL_LIBS})
message(STATUS "using dl library: ${DL_LIB}")
* (at your option) any later version. *
***************************************************************************/
-#include "qtconcurrentrun.h"
-
#include "abstractscopewidget.h"
#include "renderer.h"
#include "monitor.h"
+#include <QtConcurrentRun>
#include <QFuture>
#include <QColor>
#include <QMenu>
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ audioscopes/abstractaudioscopewidget.cpp
+ audioscopes/audiospectrum.cpp
+ audioscopes/ffttools.cpp
+ audioscopes/spectrogram.cpp
+ PARENT_SCOPE
+)
* (at your option) any later version. *
***************************************************************************/
-#include "qtconcurrentrun.h"
-
#include "abstractaudioscopewidget.h"
#include "renderer.h"
#include "monitor.h"
+#include <QtConcurrentRun>
#include <QFuture>
#include <QColor>
#include <QMenu>
#include "audiospectrum.h"
#include "ffttools.h"
-#include "tools/kiss_fftr.h"
+#include "kiss_fft/tools/kiss_fftr.h"
#include <QMenu>
#include <QPainter>
#include "abstractaudioscopewidget.h"
#include "ui_audiospectrum_ui.h"
-#include "tools/kiss_fftr.h"
+#include "kiss_fft/tools/kiss_fftr.h"
#include "ffttools.h"
class AudioSpectrum_UI;
#include <QVector>
#include <QHash>
-#include <tools/kiss_fftr.h>
+#include "kiss_fft/tools/kiss_fftr.h"
class FFTTools
{
***************************************************************************/
#include "audiosignal.h"
-#include "math.h"
#include <KLocale>
#include <QDebug>
#include <QList>
+#include <math.h>
AudioSignal::AudioSignal(QWidget *parent): QWidget(parent)
{
-
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ beziercurve/beziersplineeditor.cpp
+ beziercurve/beziersplinewidget.cpp
+ beziercurve/bpoint.cpp
+ beziercurve/cubicbezierspline.cpp
+ PARENT_SCOPE
+)
--- /dev/null
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ blackmagic/devices.cpp
+ blackmagic/include/DeckLinkAPIDispatch.cpp
+ PARENT_SCOPE
+)
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ colorcorrection/histogramgenerator.cpp
+ colorcorrection/rgbparadegenerator.cpp
+ colorcorrection/vectorscopegenerator.cpp
+ colorcorrection/waveformgenerator.cpp
+ PARENT_SCOPE
+)
--- /dev/null
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ colorscopes/abstractgfxscopewidget.cpp
+ colorscopes/histogram.cpp
+ colorscopes/rgbparade.cpp
+ colorscopes/vectorscope.cpp
+ colorscopes/waveform.cpp
+ PARENT_SCOPE
+)
* (at your option) any later version. *
***************************************************************************/
-#include "qtconcurrentrun.h"
-
#include "abstractgfxscopewidget.h"
#include "renderer.h"
#include "monitormanager.h"
+#include <QtConcurrentRun>
#include <QFuture>
#include <QColor>
#include <QMenu>
#include <QMenu>
#include <QTime>
-#include "histogramgenerator.h"
+#include "colorcorrection/histogramgenerator.h"
#include "histogram.h"
#include "renderer.h"
#include <QTime>
#include "renderer.h"
#include "rgbparade.h"
-#include "rgbparadegenerator.h"
+#include "colorcorrection/rgbparadegenerator.h"
RGBParade::RGBParade(MonitorManager *manager, QWidget *parent) :
AbstractGfxScopeWidget(manager, true, parent)
#include "colortools.h"
#include "renderer.h"
#include "vectorscope.h"
-#include "vectorscopegenerator.h"
+#include "colorcorrection/vectorscopegenerator.h"
const float P75 = .75;
const unsigned char DEFAULT_Y = 255;
#include "renderer.h"
#include "waveform.h"
-#include "waveformgenerator.h"
+#include "colorcorrection/waveformgenerator.h"
const QSize Waveform::m_textWidth(35,0);
***************************************************************************/
-#include "commands/addclipcommand.h"
+#include "addclipcommand.h"
#include "kdenlivedoc.h"
#include <KLocale>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
-#include "commands/addclipcutcommand.h"
+#include "addclipcutcommand.h"
#include "projectlist.h"
#include <KLocale>
***************************************************************************/
-#include "commands/addeffectcommand.h"
+#include "addeffectcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/addfoldercommand.h"
+#include "addfoldercommand.h"
#include "projectlist.h"
#include <KLocale>
***************************************************************************/
-#include "commands/addmarkercommand.h"
+#include "addmarkercommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/addtimelineclipcommand.h"
+#include "addtimelineclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/addtrackcommand.h"
+#include "addtrackcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/addtransitioncommand.h"
+#include "addtransitioncommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/changecliptypecommand.h"
+#include "changecliptypecommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/changespeedcommand.h"
+#include "changespeedcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/configtrackscommand.h"
+#include "configtrackscommand.h"
#include "customtrackview.h"
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
-#include "commands/editclipcommand.h"
+#include "editclipcommand.h"
#include "projectlist.h"
#include <KLocale>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
-#include "commands/editclipcutcommand.h"
+#include "editclipcutcommand.h"
#include "projectlist.h"
#include <KLocale>
***************************************************************************/
-#include "commands/editeffectcommand.h"
+#include "editeffectcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/editfoldercommand.h"
+#include "editfoldercommand.h"
#include "projectlist.h"
#include <KLocale>
***************************************************************************/
-#include "commands/editguidecommand.h"
+#include "editguidecommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/editkeyframecommand.h"
+#include "editkeyframecommand.h"
#include "customtrackview.h"
#include <KLocale>
* *
***************************************************************************/
-#include "commands/edittransitioncommand.h"
+#include "edittransitioncommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/groupclipscommand.h"
+#include "groupclipscommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/insertspacecommand.h"
+#include "insertspacecommand.h"
#include "customtrackview.h"
#include <KLocale>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
-#include "commands/locktrackcommand.h"
+#include "locktrackcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/moveclipcommand.h"
+#include "moveclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/moveeffectcommand.h"
+#include "moveeffectcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/movegroupcommand.h"
+#include "movegroupcommand.h"
#include "customtrackview.h"
#include <KLocale>
* *
***************************************************************************/
-#include "commands/movetransitioncommand.h"
+#include "movetransitioncommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/razorclipcommand.h"
+#include "razorclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/razorgroupcommand.h"
+#include "razorgroupcommand.h"
#include "customtrackview.h"
RazorGroupCommand::RazorGroupCommand(CustomTrackView *view, QList <ItemInfo> clips1, QList <ItemInfo> transitions1, QList <ItemInfo> clipsCut, QList <ItemInfo> transitionsCut, QList <ItemInfo> clips2, QList <ItemInfo> transitions2, GenTime cutPos, QUndoCommand * parent) :
***************************************************************************/
-#include "commands/rebuildgroupcommand.h"
+#include "rebuildgroupcommand.h"
#include "customtrackview.h"
RebuildGroupCommand::RebuildGroupCommand(CustomTrackView* view, int childTrack, GenTime childPos, QUndoCommand* parent) :
***************************************************************************/
-#include "commands/resizeclipcommand.h"
+#include "resizeclipcommand.h"
#include "customtrackview.h"
#include <KLocale>
***************************************************************************/
-#include "commands/splitaudiocommand.h"
+#include "splitaudiocommand.h"
#include "customtrackview.h"
#include <KLocale>
-add_subdirectory(tools)
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ kiss_fft/_kiss_fft_guts.h
+ kiss_fft/kiss_fft.c
+ kiss_fft/tools/kiss_fftr.c
+ PARENT_SCOPE
+)
#include <string.h>
#include <unistd.h>
-#include "kiss_fft.h"
+#include "../kiss_fft.h"
#include "kiss_fftndr.h"
static
#ifndef KFC_H
#define KFC_H
-#include "kiss_fft.h"
+#include "../kiss_fft.h"
#ifdef __cplusplus
extern "C" {
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "_kiss_fft_guts.h"
+#include "../_kiss_fft_guts.h"
/*
*/
#include "kiss_fftnd.h"
-#include "_kiss_fft_guts.h"
+#include "../_kiss_fft_guts.h"
struct kiss_fftnd_state{
int dimprod; /* dimsum would be mighty tasty right now */
#ifndef KISS_FFTND_H
#define KISS_FFTND_H
-#include "kiss_fft.h"
+#include "../kiss_fft.h"
#ifdef __cplusplus
extern "C" {
*/
#include "kiss_fftndr.h"
-#include "_kiss_fft_guts.h"
+#include "../_kiss_fft_guts.h"
#define MAX(x,y) ( ( (x)<(y) )?(y):(x) )
struct kiss_fftndr_state
#ifndef KISS_NDR_H
#define KISS_NDR_H
-#include "kiss_fft.h"
+#include "../kiss_fft.h"
#include "kiss_fftr.h"
#include "kiss_fftnd.h"
*/
#include "kiss_fftr.h"
-#include "_kiss_fft_guts.h"
+#include "../_kiss_fft_guts.h"
struct kiss_fftr_state{
kiss_fft_cfg substate;
#ifndef KISS_FTR_H
#define KISS_FTR_H
-#include "kiss_fft.h"
+#include "../kiss_fft.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <unistd.h>
#include <png.h>
-#include "kiss_fft.h"
+#include "../kiss_fft.h"
#include "kiss_fftr.h"
int nfft=1024;
#include "colorscopes/waveform.h"
#include "colorscopes/rgbparade.h"
#include "colorscopes/histogram.h"
-#include "audiospectrum.h"
-#include "spectrogram.h"
+#include "audioscopes/audiospectrum.h"
+#include "audioscopes/spectrogram.h"
#include "archivewidget.h"
#include "databackup/backupwidget.h"
#include "gentime.h"
#include "definitions.h"
#include "abstractmonitor.h"
-#include "mlt/framework/mlt_types.h"
+
+#include <mlt/framework/mlt_types.h>
#include <QtConcurrentRun>
-add_subdirectory(rotoscoping)
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ onmonitoritems/onmonitorcornersitem.cpp
+ onmonitoritems/onmonitorrectitem.cpp
+ PARENT_SCOPE
+)
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ onmonitoritems/rotoscoping/bpointitem.cpp
+ onmonitoritems/rotoscoping/nearestpoint.cpp
+ onmonitoritems/rotoscoping/splineitem.cpp
+ PARENT_SCOPE
+)
#ifndef BPOINTITEM_H
#define BPOINTITEM_H
-#include "bpoint.h"
+#include "beziercurve/bpoint.h"
#include <QtCore>
#include <QAbstractGraphicsShapeItem>
#include "gentime.h"
#include "definitions.h"
#include "abstractmonitor.h"
-#include "mlt/framework/mlt_types.h"
+
+#include <mlt/framework/mlt_types.h>
#include <kurl.h>
-
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ rotoscoping/rotowidget.cpp
+ PARENT_SCOPE
+)
#define ROTOWIDGET_H
#include "definitions.h"
-#include "bpoint.h"
+#include "beziercurve/bpoint.h"
#include "timecode.h"
#include <QWidget>
-
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ simplekeyframes/simpletimelinewidget.cpp
+ simplekeyframes/simplekeyframewidget.cpp
+ PARENT_SCOPE
+)
* along with Kdenlive. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
-#include "simplekeyframes/simplekeyframewidget.h"
+#include "simplekeyframewidget.h"
#include "simpletimelinewidget.h"
#include "timecodedisplay.h"
--- /dev/null
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ stopmotion/stopmotion.cpp
+ PARENT_SCOPE
+)
***************************************************************************/
#include "stopmotion.h"
-#include "../blackmagic/devices.h"
+#include "blackmagic/devices.h"
#if !defined(Q_OS_FREEBSD) && !defined(Q_OS_KFREEBSD)
-#include "../v4l/v4lcapture.h"
+#include "v4l/v4lcapture.h"
#endif
-#include "../slideshowclip.h"
-#include "../profilesdialog.h"
-#include "../mltdevicecapture.h"
-#include "../recmonitor.h"
-#include "../monitormanager.h"
+#include "slideshowclip.h"
+#include "profilesdialog.h"
+#include "mltdevicecapture.h"
+#include "recmonitor.h"
+#include "monitormanager.h"
#include "ui_smconfig_ui.h"
#include "kdenlivesettings.h"
-
#include <KDebug>
#include <KGlobalSettings>
#include <KFileDialog>
--- /dev/null
+set(kdenlive_SRCS
+ ${kdenlive_SRCS}
+ v4l/v4lcapture.cpp
+ v4l/src.c
+ PARENT_SCOPE
+)