Commit c0d991c2 authored by Vincent Pinon's avatar Vincent Pinon

krazy fix: headers

parent be8fed2d
......@@ -20,8 +20,6 @@
#include "renderjob.h"
#include <stdlib.h> // for getenv, posix portable to Windows: http://msdn.microsoft.com/en-us/library/tehxacec(VS.80).aspx
#include <QtDBus>
#include <QFile>
#include <QThread>
......@@ -84,7 +82,7 @@ RenderJob::RenderJob(bool erase, bool usekuiserver, int pid, const QString& rend
connect(m_renderProcess, SIGNAL(stateChanged(QProcess::ProcessState)), this, SLOT(slotCheckProcess(QProcess::ProcessState)));
m_renderProcess->setReadChannel(QProcess::StandardError);
m_enablelog = (getenv("KDENLIVE_RENDER_LOG") != NULL);
m_enablelog = (!qgetenv("KDENLIVE_RENDER_LOG").isEmpty());
if (m_enablelog) {
// Create a log of every render process.
m_logfile.setAutoRemove(false);
......
......@@ -18,6 +18,8 @@
#include "bpoint.h"
#include <QLineF>
BPoint::BPoint() :
h1(QPointF(-1, -1)),
......
......@@ -19,7 +19,7 @@
#ifndef BPOINT_H
#define BPOINT_H
#include <QtCore>
#include <QPointF>
/**
* @brief Represents a point in a cubic Bézier spline.
......
......@@ -17,6 +17,7 @@
***************************************************************************/
#include "cubicbezierspline.h"
#include <QStringList>
#include <KDebug>
/** @brief For sorting a Bezier spline. Whether a is before b. */
......
......@@ -21,7 +21,9 @@
#include "bpoint.h"
#include <QtCore>
#include <QObject>
#include <QString>
#include <QList>
class CubicBezierSpline : public QObject
......
......@@ -8,8 +8,9 @@
* (at your option) any later version. *
***************************************************************************/
#include <math.h>
#include "colortools.h"
#include <math.h>
#include <QColor>
//#define DEBUG_CT
......
/***************************************************************************
* Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org) *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "definitions.h"
QDebug operator << (QDebug qd, const ItemInfo &info)
......
......@@ -28,7 +28,7 @@
#include <QDebug>
#include <QTreeWidgetItem>
#include <QtCore/QString>
#include <QString>
const int MAXCLIPDURATION = 15000;
......
......@@ -19,6 +19,7 @@
#include "doc/kdenlivedoc.h"
#include <config-kdenlive.h>
#include "doc/docclipbase.h"
#include "profilesdialog.h"
#include "kdenlivesettings.h"
......@@ -28,7 +29,6 @@
#include "mainwindow.h"
#include "doc/documentchecker.h"
#include "doc/documentvalidator.h"
#include <config-kdenlive.h>
#include "initeffects.h"
#include "mainwindow.h"
#include "project/projectlist.h"
......
......@@ -17,6 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "parametercontainer.h"
#include "ui_listval_ui.h"
#include "ui_boolval_ui.h"
#include "ui_wipeval_ui.h"
......@@ -42,7 +44,6 @@
#include "profilesdialog.h"
#include "project/projectlist.h"
#include "mainwindow.h"
#include "parametercontainer.h"
#include "../timeline/customtrackview.h"
#include <KUrlRequester>
......
......@@ -15,8 +15,8 @@
* *
***************************************************************************/
#ifndef POSITONEDIT_H
#define POSITONEDIT_H
#ifndef POSITIONEDIT_H
#define POSITIONEDIT_H
#include "timecode.h"
......
......@@ -18,6 +18,10 @@
*/
// Local includes.
#include "kis_curve_widget.h"
// C++ includes.
#include <cmath>
......@@ -45,11 +49,6 @@
#include <kcursor.h>
#include <klocale.h>
// Local includes.
#include "kis_curve_widget.h"
#define bounds(x,a,b) (x<a ? a : (x>b ? b :x))
#define MOUSE_AWAY_THRES 15
#define POINT_AREA 1E-4
......@@ -57,7 +56,6 @@
#include "effectstack/widgets/kis_curve_widget_p.h"
//static bool pointLessThan(const QPointF &a, const QPointF &b);
......
......@@ -28,6 +28,7 @@
class JogShuttleConfig: public QObject
{
Q_OBJECT
public:
static QStringList actionMap(const QString& actionMap);
static QString actionMap(const QStringList& actionMap);
......
......@@ -11,7 +11,7 @@ the Free Software Foundation, either version 3 of the License, or
#ifndef FFTCORRELATION_H
#define FFTCORRELATION_H
#include <inttypes.h>
#include <QtGlobal>
/**
This class provides methods to calculate convolution
......
......@@ -8,13 +8,13 @@
* (at your option) any later version. *
***************************************************************************/
#include "fftTools.h"
#include <math.h>
#include <iostream>
#include <QString>
#include "fftTools.h"
// Uncomment for debugging, like writing a GNU Octave .m file to /tmp
//#define DEBUG_FFTTOOLS
......
......@@ -12,6 +12,9 @@ Redistribution and use in source and binary forms, with or without modification,
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.
*/
#ifndef _KISS_FFT_GUTS_H
#define _KISS_FFT_GUTS_H
/* kiss_fft.h
defines kiss_fft_scalar as either short or a float type
and defines
......@@ -162,3 +165,5 @@ struct kiss_fft_state{
#define KISS_FFT_TMP_ALLOC(nbytes) KISS_FFT_MALLOC(nbytes)
#define KISS_FFT_TMP_FREE(ptr) KISS_FFT_FREE(ptr)
#endif
#endif
#ifndef KISS_FFT_H
#define KISS_FFT_H
/*
Copyright (c) 2003-2010, Mark Borgerding
......@@ -15,6 +12,9 @@ Redistribution and use in source and binary forms, with or without modification,
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.
*/
#ifndef KISS_FFT_H
#define KISS_FFT_H
#include <config-kdenlive.h>
#include <stdlib.h>
......
#include "kfc.h"
/*
Copyright (c) 2003-2004, Mark Borgerding
......@@ -14,6 +12,8 @@ Redistribution and use in source and binary forms, with or without modification,
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 "kfc.h"
typedef struct cached_fft *kfc_cfg;
......
#ifndef KFC_H
#define KFC_H
/*
Copyright (c) 2003-2010, Mark Borgerding
......@@ -15,6 +12,9 @@ Redistribution and use in source and binary forms, with or without modification,
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.
*/
#ifndef KFC_H
#define KFC_H
#include "../kiss_fft.h"
#ifdef __cplusplus
......
/*
Copyright (c) 2003-2004, Mark Borgerding
......
/*
Copyright (c) 2003-2004, Mark Borgerding
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
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.
*/
#ifndef KISS_FFTND_H
#define KISS_FFTND_H
......
#ifndef KISS_NDR_H
#define KISS_NDR_H
/*
Copyright (c) 2003-2004, Mark Borgerding
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
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.
*/
#ifndef KISS_FFTNDR_H
#define KISS_FFTNDR_H
#include "../kiss_fft.h"
#include "kiss_fftr.h"
......
#ifndef KISS_FTR_H
#define KISS_FTR_H
/*
Copyright (c) 2003-2004, Mark Borgerding
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the author nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
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.
*/
#ifndef KISS_FFTR_H
#define KISS_FFTR_H
#include "../kiss_fft.h"
#ifdef __cplusplus
......
/***************************************************************************
* Copyright (C) 2012 Simon A. Eugster <simon.eu@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "qtimerWithTime.h"
void QTimerWithTime::start(int msec)
......
/***************************************************************************
* Copyright (C) 2012 Simon A. Eugster <simon.eu@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#ifndef QTIMERWITHTIME_H
#define QTIMERWITHTIME_H
......
......@@ -34,7 +34,6 @@
#include <QString>
#include <QApplication>
#include <QThread>
#include <QTimer>
#include <cstdlib>
#include <cstdarg>
......
......@@ -2,10 +2,21 @@
* GraphicsGems.h
* Version 1.0 - Andrew Glassner
* from "Graphics Gems", Academic Press, 1990
*
* This code repository predates the concept of Open Source, and predates most licenses along such lines.
* As such, the official license truly is:
*
* EULA: The Graphics Gems code is copyright-protected.
* In other words, you cannot claim the text of the code as your own and resell it.
* Using the code is permitted in any program, product, or library, non-commercial or commercial.
* Giving credit is not required, though is a nice gesture.
* The code comes as-is, and if there are any flaws or problems with any Gems code,
* nobody involved with Gems - authors, editors, publishers, or webmasters - are to be held responsible.
* Basically, don't be a jerk, and remember that anything free comes with no guarantee.
*/
#ifndef GG_H
#define GG_H
#ifndef GRAPHICSGEMS_H
#define GRAPHICSGEMS_H
/*********************/
/* 2d geometry types */
......
/*
Copyright : (C) 1990 Philip J. Schneider (pjs@apple.com)
Solving the Nearest Point-on-Curve Problem
and
A Bezier Curve-Based Root-Finder
by Philip J. Schneider
from "Graphics Gems", Academic Press, 1990
*
* This code repository predates the concept of Open Source, and predates most licenses along such lines.
* As such, the official license truly is:
*
* EULA: The Graphics Gems code is copyright-protected.
* In other words, you cannot claim the text of the code as your own and resell it.
* Using the code is permitted in any program, product, or library, non-commercial or commercial.
* Giving credit is not required, though is a nice gesture.
* The code comes as-is, and if there are any flaws or problems with any Gems code,
* nobody involved with Gems - authors, editors, publishers, or webmasters - are to be held responsible.
* Basically, don't be a jerk, and remember that anything free comes with no guarantee.
*/
/* point_on_curve.c */
#include "nearestpoint.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "nearestpoint.h"
//#define TESTMODE
/*
......
......@@ -4,6 +4,17 @@ and
A Bezier Curve-Based Root-Finder
by Philip J. Schneider
from "Graphics Gems", Academic Press, 1990
*
* This code repository predates the concept of Open Source, and predates most licenses along such lines.
* As such, the official license truly is:
*
* EULA: The Graphics Gems code is copyright-protected.
* In other words, you cannot claim the text of the code as your own and resell it.
* Using the code is permitted in any program, product, or library, non-commercial or commercial.
* Giving credit is not required, though is a nice gesture.
* The code comes as-is, and if there are any flaws or problems with any Gems code,
* nobody involved with Gems - authors, editors, publishers, or webmasters - are to be held responsible.
* Basically, don't be a jerk, and remember that anything free comes with no guarantee.
*/
#ifndef NEARESTPOINT_GGMS_H
......
......@@ -8,12 +8,11 @@
* (at your option) any later version. *
***************************************************************************/
#include "QtCore/qtconcurrentrun.h"
#include "abstractscopewidget.h"
#include "renderer.h"
#include "monitor/monitor.h"
#include <QtCore/qtconcurrentrun.h>
#include <QColor>
#include <QMenu>
#include <QMouseEvent>
......
......@@ -8,10 +8,10 @@
* (at your option) any later version. *
***************************************************************************/
#include "histogram.h"
#include "scopes/colorscopes/histogramgenerator.h"
#include <QMenu>
#include <QTime>
#include "scopes/colorscopes/histogramgenerator.h"
#include "histogram.h"
Histogram::Histogram(QWidget *parent) :
AbstractGfxScopeWidget(false, parent)
......
......@@ -21,6 +21,7 @@ class QSize;
class HistogramGenerator : public QObject
{
Q_OBJECT
public:
explicit HistogramGenerator();
......
......@@ -8,12 +8,12 @@
* (at your option) any later version. *
***************************************************************************/
#include "rgbparade.h"
#include "scopes/colorscopes/rgbparadegenerator.h"
#include <QMenu>
#include <QPainter>
#include <QRect>
#include <QTime>
#include "rgbparade.h"
#include "scopes/colorscopes/rgbparadegenerator.h"
RGBParade::RGBParade(QWidget *parent) :
AbstractGfxScopeWidget(true, parent)
......
......@@ -8,10 +8,10 @@
* (at your option) any later version. *
***************************************************************************/
#include "scopes/colorscopes/rgbparadegenerator.h"
#include <KLocalizedString>
#include <QColor>
#include <QPainter>
#include "scopes/colorscopes/rgbparadegenerator.h"
#define CHOP255(a) ((255) < (a) ? (255) : (a))
#define CHOP1255(a) ((a) < (1) ? (1) : ((a) > (255) ? (255) : (a)))
......
......@@ -18,6 +18,7 @@ class QImage;
class QSize;
class RGBParadeGenerator : public QObject
{
Q_OBJECT
public:
enum PaintMode { PaintMode_RGB, PaintMode_White };
......
......@@ -8,6 +8,10 @@
* (at your option) any later version. *
***************************************************************************/
#include "vectorscope.h"
#include "scopes/colorscopes/colorplaneexport.h"
#include "colortools.h"
#include "scopes/colorscopes/vectorscopegenerator.h"
#include <QAction>
#include <QDebug>
......@@ -16,11 +20,6 @@
#include <QTime>
#include <QMenu>
#include "scopes/colorscopes/colorplaneexport.h"
#include "colortools.h"
#include "vectorscope.h"
#include "scopes/colorscopes/vectorscopegenerator.h"
const float P75 = .75;
const QPointF YUV_R(-.147, .615);
......
......@@ -69,9 +69,9 @@ mRgb2YPbPr = r =
*/
#include "scopes/colorscopes/vectorscopegenerator.h"
#include <math.h>
#include <QImage>
#include "scopes/colorscopes/vectorscopegenerator.h"
// The maximum distance from the center for any RGB color is 0.63, so
// no need to make the circle bigger than required.
......
......@@ -8,16 +8,15 @@
* (at your option) any later version. *
***************************************************************************/
#include <QPainter>
#include <QPoint>
#include <QMenu>
#include "waveform.h"
#include "scopes/colorscopes/waveformgenerator.h"
// For reading out the project resolution
#include "kdenlivesettings.h"
#include "profilesdialog.h"
#include "waveform.h"
#include "scopes/colorscopes/waveformgenerator.h"
#include <QPainter>
#include <QPoint>
#include <QMenu>
const QSize Waveform::m_textWidth(35,0);
......
......@@ -8,6 +8,8 @@
* (at your option) any later version. *
***************************************************************************/
#include "scopes/colorscopes/waveformgenerator.h"
#include <cmath>
#include <QImage>
......@@ -15,8 +17,6 @@
#include <QSize>
#include <QTime>
#include "scopes/colorscopes/waveformgenerator.h"
#define CHOP255(a) ((255) < (a) ? (255) : (a))
WaveformGenerator::WaveformGenerator()
......
......@@ -17,11 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include <KLocalizedString>
#include "capturehandler.h"
#include "kdenlivesettings.h"
#include <KLocalizedString>
CaptureHandler::CaptureHandler(QVBoxLayout *lay, QWidget *parent):
m_layout(lay),
m_parent(parent),
......
......@@ -81,11 +81,11 @@ return frameNumber;
#include "timecode.h"
#include <KDebug>
#include <KLocalizedString>
#include "timecode.h"
Timecode::Timecode(Formats format, double framesPerSecond)
{
setFormat(framesPerSecond, format);
......
......@@ -17,6 +17,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "v4lcapture.h"
#include "kdenlivesettings.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......@@ -32,9 +35,6 @@
#include <KDebug>
#include <KLocalizedString>
#include "v4lcapture.h"
#include "kdenlivesettings.h"
#include <linux/videodev2.h>
#include <sys/ioctl.h>
......
......@@ -30,7 +30,6 @@
#include <QAction>
#include <QToolButton>
#include <QMouseEvent>
#include <QGraphicsView>
#include <KIcon>
......
......@@ -18,6 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include "widgets/videoglwidget.h"
#include <QtGui>
#include <QtOpenGL>
#ifdef Q_WS_MAC
......@@ -25,7 +27,6 @@
#else
#include <GL/glu.h>
#endif
#include "widgets/videoglwidget.h"
#ifndef GL_TEXTURE_RECTANGLE_EXT
#define GL_TEXTURE_RECTANGLE_EXT GL_TEXTURE_RECTANGLE_NV
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment