From 6bccd0c6607af6d3a135f0db84915a64e98a08f0 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 16 Feb 2019 02:18:32 -0800 Subject: [PATCH] minor cleanup and documentation of render functions --- Doxyfile | 3 +- docs/html/aboutdialog_8h_source.html | 2 +- docs/html/actionsearch_8h_source.html | 6 +- docs/html/advancedvideodialog_8h_source.html | 4 +- docs/html/annotated.html | 267 ++++++------ docs/html/audio_8h_source.html | 4 +- docs/html/audiomonitor_8h_source.html | 2 +- docs/html/audionoiseeffect_8h_source.html | 10 +- docs/html/cacher_8h_source.html | 4 +- docs/html/checkboxex_8h_source.html | 2 +- docs/html/class_clickable_label.html | 10 +- docs/html/class_graph_view-members.html | 11 +- docs/html/class_graph_view.html | 21 +- .../class_preferences_dialog-members.html | 69 ++-- docs/html/class_preferences_dialog.html | 3 + docs/html/class_timeline-members.html | 74 ++-- docs/html/class_timeline.html | 18 +- docs/html/classes.html | 98 +++-- docs/html/clickablelabel_8h_source.html | 2 +- docs/html/clip_8h_source.html | 18 +- docs/html/clipboard_8h_source.html | 2 +- docs/html/collapsiblewidget_8h_source.html | 6 +- docs/html/colorbutton_8h_source.html | 4 +- docs/html/comboboxex_8h_source.html | 2 +- docs/html/config_8h_source.html | 4 +- docs/html/cornerpineffect_8h_source.html | 14 +- .../crossdissolvetransition_8h_source.html | 10 +- docs/html/crossplatformlib_8h_source.html | 2 +- docs/html/cubetransition_8h_source.html | 10 +- docs/html/cursors_8h_source.html | 2 +- docs/html/debug_8h_source.html | 2 +- docs/html/debugdialog_8h_source.html | 2 +- docs/html/demonotice_8h_source.html | 2 +- docs/html/effect_8h_source.html | 18 +- docs/html/effectcontrols_8h_source.html | 14 +- docs/html/effectfield_8h_source.html | 6 +- docs/html/effectgizmo_8h_source.html | 4 +- docs/html/effectloaders_8h_source.html | 2 +- docs/html/effectrow_8h_source.html | 12 +- docs/html/embeddedfilechooser_8h_source.html | 2 +- .../exponentialfadetransition_8h_source.html | 8 +- docs/html/exportdialog_8h_source.html | 8 +- docs/html/exportthread_8h_source.html | 8 +- docs/html/files.html | 195 +++++---- docs/html/fillleftrighteffect_8h_source.html | 10 +- docs/html/focusfilter_8h_source.html | 54 +-- docs/html/fontcombobox_8h_source.html | 4 +- docs/html/footage_8h_source.html | 12 +- docs/html/frei0reffect_8h_source.html | 8 +- docs/html/functions.html | 55 +++ docs/html/functions_vars.html | 51 +++ docs/html/grapheditor_8h_source.html | 12 +- docs/html/graphview_8h_source.html | 6 +- docs/html/hierarchy.html | 367 +++++++++-------- docs/html/keyframe_8h_source.html | 4 +- docs/html/keyframedrawing_8h_source.html | 2 +- docs/html/keyframenavigator_8h_source.html | 2 +- docs/html/keyframeview_8h_source.html | 12 +- docs/html/labelslider_8h_source.html | 34 +- docs/html/linearfadetransition_8h_source.html | 8 +- docs/html/loaddialog_8h_source.html | 10 +- docs/html/loadthread_8h_source.html | 16 +- .../logarithmicfadetransition_8h_source.html | 8 +- docs/html/mainwindow_8h_source.html | 46 +-- docs/html/marker_8h_source.html | 4 +- docs/html/math_8h_source.html | 2 +- docs/html/md__i_s_s_u_e__t_e_m_p_l_a_t_e.html | 94 +++++ docs/html/media_8h_source.html | 8 +- .../html/mediapropertiesdialog_8h_source.html | 6 +- docs/html/menudata.js | 1 + docs/html/menuhelper_8h_source.html | 28 +- docs/html/newsequencedialog_8h_source.html | 8 +- docs/html/oliveglobal_8h_source.html | 62 +-- docs/html/pages.html | 3 +- docs/html/paneffect_8h_source.html | 10 +- docs/html/panels_8h_source.html | 10 +- docs/html/path_8h_source.html | 2 +- docs/html/playback_8h_source.html | 4 +- docs/html/preferencesdialog_8h_source.html | 4 +- docs/html/previewgenerator_8h_source.html | 8 +- docs/html/project_8h_source.html | 28 +- docs/html/projectelements_8h_source.html | 2 +- docs/html/projectfilter_8h_source.html | 2 +- docs/html/projectmodel_8h_source.html | 4 +- docs/html/proxydialog_8h_source.html | 4 +- docs/html/proxygenerator_8h_source.html | 6 +- docs/html/qpainterwrapper_8h_source.html | 2 +- docs/html/rectangleselect_8h_source.html | 2 +- docs/html/renderfunctions_8h_source.html | 27 +- docs/html/renderthread_8h_source.html | 6 +- .../replaceclipmediadialog_8h_source.html | 6 +- docs/html/resizablescrollbar_8h_source.html | 2 +- docs/html/scrollarea_8h_source.html | 2 +- docs/html/search/all_10.js | 65 +-- docs/html/search/all_11.js | 69 +++- docs/html/search/all_12.js | 21 +- docs/html/search/all_13.js | 18 +- docs/html/search/all_14.js | 15 +- docs/html/search/all_15.js | 3 +- docs/html/search/all_16.html | 30 ++ docs/html/search/all_16.js | 5 + docs/html/search/all_2.js | 35 +- docs/html/search/all_3.js | 40 +- docs/html/search/all_4.js | 29 +- docs/html/search/all_5.js | 29 +- docs/html/search/all_6.js | 21 +- docs/html/search/all_7.js | 15 +- docs/html/search/all_8.js | 9 +- docs/html/search/all_9.js | 14 +- docs/html/search/all_a.js | 27 +- docs/html/search/all_b.js | 24 +- docs/html/search/all_c.js | 20 +- docs/html/search/all_d.js | 34 +- docs/html/search/all_e.js | 22 +- docs/html/search/all_f.js | 14 +- docs/html/search/classes_2.js | 1 - docs/html/search/pages_0.js | 2 +- docs/html/search/pages_1.html | 30 ++ docs/html/search/pages_1.js | 4 + docs/html/search/searchdata.js | 6 +- docs/html/search/variables_1.js | 6 +- docs/html/search/variables_2.js | 2 +- docs/html/search/variables_3.js | 2 +- docs/html/search/variables_4.js | 2 +- docs/html/search/variables_5.js | 2 +- docs/html/search/variables_6.html | 30 ++ docs/html/search/variables_6.js | 5 + docs/html/search/variables_7.html | 30 ++ docs/html/search/variables_7.js | 4 + docs/html/search/variables_8.html | 30 ++ docs/html/search/variables_8.js | 4 + docs/html/search/variables_9.html | 30 ++ docs/html/search/variables_9.js | 6 + docs/html/search/variables_a.html | 30 ++ docs/html/search/variables_a.js | 6 + docs/html/search/variables_b.html | 30 ++ docs/html/search/variables_b.js | 4 + docs/html/search/variables_c.html | 30 ++ docs/html/search/variables_c.js | 5 + docs/html/selection_8h_source.html | 2 +- docs/html/sequence_8h_source.html | 8 +- docs/html/shakeeffect_8h_source.html | 12 +- docs/html/solideffect_8h_source.html | 10 +- docs/html/sourceiconview_8h_source.html | 4 +- docs/html/sourcescommon_8h_source.html | 8 +- docs/html/sourcetable_8h_source.html | 6 +- docs/html/speeddialog_8h_source.html | 6 +- docs/html/stabilizerdialog_8h_source.html | 4 +- ...truct_compose_sequence_params-members.html | 35 +- docs/html/struct_compose_sequence_params.html | 382 ++++++++++++++++-- docs/html/struct_config-members.html | 91 ++--- docs/html/struct_config.html | 3 + docs/html/texteditdialog_8h_source.html | 2 +- docs/html/texteditex_8h_source.html | 2 +- docs/html/texteffect_8h_source.html | 10 +- docs/html/timecodeeffect_8h_source.html | 10 +- docs/html/timeline_8h_source.html | 36 +- docs/html/timelineheader_8h_source.html | 4 +- docs/html/timelinetools_8h_source.html | 2 +- docs/html/timelinewidget_8h_source.html | 14 +- docs/html/toneeffect_8h_source.html | 10 +- docs/html/transformeffect_8h_source.html | 14 +- docs/html/transition_8h_source.html | 10 +- docs/html/undo_8h_source.html | 130 +++--- docs/html/viewer_8h_source.html | 18 +- docs/html/viewercontainer_8h_source.html | 6 +- docs/html/viewerwidget_8h_source.html | 20 +- docs/html/viewerwindow_8h_source.html | 2 +- docs/html/voideffect_8h_source.html | 8 +- docs/html/volumeeffect_8h_source.html | 10 +- docs/html/vsthost_8h_source.html | 10 +- io/exportthread.cpp | 11 +- ui/renderfunctions.cpp | 36 +- ui/renderfunctions.h | 207 +++++++++- ui/renderthread.cpp | 5 +- ui/timelinewidget.cpp | 8 +- ui/viewerwidget.cpp | 8 +- 177 files changed, 2562 insertions(+), 1497 deletions(-) create mode 100644 docs/html/md__i_s_s_u_e__t_e_m_p_l_a_t_e.html create mode 100644 docs/html/search/all_16.html create mode 100644 docs/html/search/all_16.js create mode 100644 docs/html/search/pages_1.html create mode 100644 docs/html/search/pages_1.js create mode 100644 docs/html/search/variables_6.html create mode 100644 docs/html/search/variables_6.js create mode 100644 docs/html/search/variables_7.html create mode 100644 docs/html/search/variables_7.js create mode 100644 docs/html/search/variables_8.html create mode 100644 docs/html/search/variables_8.js create mode 100644 docs/html/search/variables_9.html create mode 100644 docs/html/search/variables_9.js create mode 100644 docs/html/search/variables_a.html create mode 100644 docs/html/search/variables_a.js create mode 100644 docs/html/search/variables_b.html create mode 100644 docs/html/search/variables_b.js create mode 100644 docs/html/search/variables_c.html create mode 100644 docs/html/search/variables_c.js diff --git a/Doxyfile b/Doxyfile index 132db714e..bddbd4e1c 100644 --- a/Doxyfile +++ b/Doxyfile @@ -897,7 +897,8 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = docs\ + .git # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded diff --git a/docs/html/aboutdialog_8h_source.html b/docs/html/aboutdialog_8h_source.html index 9fb075a5f..1311a3b4b 100644 --- a/docs/html/aboutdialog_8h_source.html +++ b/docs/html/aboutdialog_8h_source.html @@ -69,7 +69,7 @@ $(function() {
aboutdialog.h
-
1 #ifndef ABOUTDIALOG_H
2 #define ABOUTDIALOG_H
3 
4 #include <QDialog>
5 
6 class AboutDialog : public QDialog
7 {
8  Q_OBJECT
9 
10 public:
11  explicit AboutDialog(QWidget *parent = 0);
12 };
13 
14 #endif // ABOUTDIALOG_H
Definition: aboutdialog.h:6
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef ABOUTDIALOG_H
22 #define ABOUTDIALOG_H
23 
24 #include <QDialog>
25 
26 class AboutDialog : public QDialog
27 {
28  Q_OBJECT
29 
30 public:
31  explicit AboutDialog(QWidget *parent = 0);
32 };
33 
34 #endif // ABOUTDIALOG_H
Definition: aboutdialog.h:26
-
1 #ifndef ACTIONSEARCH_H
2 #define ACTIONSEARCH_H
3 
4 #include <QDialog>
5 #include <QLineEdit>
6 #include <QListWidget>
7 
8 class QListWidget;
9 class QMenu;
10 
11 class ActionSearchList : public QListWidget {
12  Q_OBJECT
13 public:
14  ActionSearchList(QWidget* parent);
15 protected:
16  void mouseDoubleClickEvent(QMouseEvent *event);
17 signals:
18  void dbl_click();
19 };
20 
21 class ActionSearch : public QDialog
22 {
23  Q_OBJECT
24 public:
25  ActionSearch(QWidget* parent = nullptr);
26 private slots:
27  void search_update(const QString& s, const QString &p = nullptr, QMenu *parent = nullptr);
28  void perform_action();
29  void move_selection_up();
30  void move_selection_down();
31 private:
32  ActionSearchList* list_widget;
33 };
34 
35 class ActionSearchEntry : public QLineEdit {
36  Q_OBJECT
37 public:
38  ActionSearchEntry(QWidget* parent);
39 protected:
40  void keyPressEvent(QKeyEvent * event);
41 signals:
42  void moveSelectionUp();
43  void moveSelectionDown();
44 };
45 
46 #endif // ACTIONSEARCH_H
Definition: actionsearch.h:11
-
Definition: actionsearch.h:21
-
Definition: actionsearch.h:35
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef ACTIONSEARCH_H
22 #define ACTIONSEARCH_H
23 
24 #include <QDialog>
25 #include <QLineEdit>
26 #include <QListWidget>
27 
28 class QListWidget;
29 class QMenu;
30 
31 class ActionSearchList : public QListWidget {
32  Q_OBJECT
33 public:
34  ActionSearchList(QWidget* parent);
35 protected:
36  void mouseDoubleClickEvent(QMouseEvent *event);
37 signals:
38  void dbl_click();
39 };
40 
41 class ActionSearch : public QDialog
42 {
43  Q_OBJECT
44 public:
45  ActionSearch(QWidget* parent = nullptr);
46 private slots:
47  void search_update(const QString& s, const QString &p = nullptr, QMenu *parent = nullptr);
48  void perform_action();
49  void move_selection_up();
50  void move_selection_down();
51 private:
52  ActionSearchList* list_widget;
53 };
54 
55 class ActionSearchEntry : public QLineEdit {
56  Q_OBJECT
57 public:
58  ActionSearchEntry(QWidget* parent);
59 protected:
60  void keyPressEvent(QKeyEvent * event);
61 signals:
62  void moveSelectionUp();
63  void moveSelectionDown();
64 };
65 
66 #endif // ACTIONSEARCH_H
Definition: actionsearch.h:31
+
Definition: actionsearch.h:41
+
Definition: actionsearch.h:55
-
1 #ifndef ADVANCEDVIDEODIALOG_H
2 #define ADVANCEDVIDEODIALOG_H
3 
4 #include <QDialog>
5 
6 #include "io/exportthread.h"
7 
8 class QComboBox;
9 
10 class AdvancedVideoDialog : public QDialog {
11  Q_OBJECT
12 public:
13  AdvancedVideoDialog(QWidget* parent,
14  int encoding_codec,
15  VideoCodecParams& iparams);
16 
17 public slots:
18  virtual void accept() override;
19 private:
20  VideoCodecParams& params;
21 
22  QComboBox* pix_fmt_combo;
23 };
24 
25 #endif // ADVANCEDVIDEODIALOG_H
Definition: advancedvideodialog.h:10
-
Definition: exportthread.h:48
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef ADVANCEDVIDEODIALOG_H
22 #define ADVANCEDVIDEODIALOG_H
23 
24 #include <QDialog>
25 
26 #include "io/exportthread.h"
27 
28 class QComboBox;
29 
30 class AdvancedVideoDialog : public QDialog {
31  Q_OBJECT
32 public:
33  AdvancedVideoDialog(QWidget* parent,
34  int encoding_codec,
35  VideoCodecParams& iparams);
36 
37 public slots:
38  virtual void accept() override;
39 private:
40  VideoCodecParams& params;
41 
42  QComboBox* pix_fmt_combo;
43 };
44 
45 #endif // ADVANCEDVIDEODIALOG_H
Definition: advancedvideodialog.h:30
+
Definition: exportthread.h:68
diff --git a/docs/html/audio_8h_source.html b/docs/html/audio_8h_source.html index 0322aeb92..5a9a4395f 100644 --- a/docs/html/audio_8h_source.html +++ b/docs/html/audio_8h_source.html @@ -69,8 +69,8 @@ $(function() {
audio.h
-
1 #ifndef AUDIO_H
2 #define AUDIO_H
3 
4 #include <QVector>
5 #include <QThread>
6 #include <QWaitCondition>
7 #include <QMutex>
8 
9 //#define INT16_MAX 0x7fff
10 //#define INT16_MIN (-INT16_MAX-1)
11 
12 class QIODevice;
13 class QAudioOutput;
14 class QComboBox;
15 
16 struct Sequence;
17 
18 class AudioSenderThread : public QThread {
19  Q_OBJECT
20 public:
22  void run();
23  void stop();
24  QWaitCondition cond;
25  bool close;
26  QMutex lock;
27 public slots:
28  void notifyReceiver();
29 private:
30  QVector<qint16> samples;
31  int send_audio_to_output(qint64 offset, int max);
32 };
33 
34 double log_volume(double linear);
35 
36 extern QAudioOutput* audio_output;
37 extern QIODevice* audio_io_device;
38 extern AudioSenderThread* audio_thread;
39 extern QMutex audio_write_lock;
40 
41 #define audio_ibuffer_size 192000
42 extern qint8 audio_ibuffer[audio_ibuffer_size];
43 extern qint64 audio_ibuffer_read;
44 extern long audio_ibuffer_frame;
45 extern double audio_ibuffer_timecode;
46 extern bool audio_scrub;
47 extern bool recording;
48 extern bool audio_rendering;
49 void clear_audio_ibuffer();
50 
51 int current_audio_freq();
52 
53 bool is_audio_device_set();
54 
55 void init_audio();
56 void stop_audio();
57 qint64 get_buffer_offset_from_frame(double framerate, long frame);
58 
59 bool start_recording();
60 void stop_recording();
61 QString get_recorded_audio_filename();
62 
63 void combobox_audio_sample_rates(QComboBox* combobox);
64 
65 #endif // AUDIO_H
Definition: sequence.h:13
-
Definition: audio.h:18
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef AUDIO_H
22 #define AUDIO_H
23 
24 #include <QVector>
25 #include <QThread>
26 #include <QWaitCondition>
27 #include <QMutex>
28 
29 //#define INT16_MAX 0x7fff
30 //#define INT16_MIN (-INT16_MAX-1)
31 
32 class QIODevice;
33 class QAudioOutput;
34 class QComboBox;
35 
36 struct Sequence;
37 
38 class AudioSenderThread : public QThread {
39  Q_OBJECT
40 public:
42  void run();
43  void stop();
44  QWaitCondition cond;
45  bool close;
46  QMutex lock;
47 public slots:
48  void notifyReceiver();
49 private:
50  QVector<qint16> samples;
51  int send_audio_to_output(qint64 offset, int max);
52 };
53 
54 double log_volume(double linear);
55 
56 extern QAudioOutput* audio_output;
57 extern QIODevice* audio_io_device;
58 extern AudioSenderThread* audio_thread;
59 extern QMutex audio_write_lock;
60 
61 #define audio_ibuffer_size 192000
62 extern qint8 audio_ibuffer[audio_ibuffer_size];
63 extern qint64 audio_ibuffer_read;
64 extern long audio_ibuffer_frame;
65 extern double audio_ibuffer_timecode;
66 extern bool audio_scrub;
67 extern bool recording;
68 extern bool audio_rendering;
69 void clear_audio_ibuffer();
70 
71 int current_audio_freq();
72 
73 bool is_audio_device_set();
74 
75 void init_audio();
76 void stop_audio();
77 qint64 get_buffer_offset_from_frame(double framerate, long frame);
78 
79 bool start_recording();
80 void stop_recording();
81 QString get_recorded_audio_filename();
82 
83 void combobox_audio_sample_rates(QComboBox* combobox);
84 
85 #endif // AUDIO_H
Definition: sequence.h:33
+
Definition: audio.h:38
-
1 #ifndef AUDIOMONITOR_H
2 #define AUDIOMONITOR_H
3 
4 #include <QWidget>
5 #include <QTimer>
6 
7 class AudioMonitor : public QWidget
8 {
9  Q_OBJECT
10 public:
11  explicit AudioMonitor(QWidget *parent = 0);
12  void set_value(const QVector<double>& values);
13 
14 protected:
15  void paintEvent(QPaintEvent *);
16  void resizeEvent(QResizeEvent *);
17 
18 signals:
19 
20 public slots:
21 
22 private:
23  QLinearGradient gradient;
24  QVector<double> values;
25  QTimer clear_timer;
26 
27 private slots:
28  void clear();
29 };
30 
31 #endif // AUDIOMONITOR_H
Definition: audiomonitor.h:7
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef AUDIOMONITOR_H
22 #define AUDIOMONITOR_H
23 
24 #include <QWidget>
25 #include <QTimer>
26 
27 class AudioMonitor : public QWidget
28 {
29  Q_OBJECT
30 public:
31  explicit AudioMonitor(QWidget *parent = 0);
32  void set_value(const QVector<double>& values);
33 
34 protected:
35  void paintEvent(QPaintEvent *);
36  void resizeEvent(QResizeEvent *);
37 
38 signals:
39 
40 public slots:
41 
42 private:
43  QLinearGradient gradient;
44  QVector<double> values;
45  QTimer clear_timer;
46 
47 private slots:
48  void clear();
49 };
50 
51 #endif // AUDIOMONITOR_H
Definition: audiomonitor.h:27
-
1 #ifndef AUDIONOISEEFFECT_H
2 #define AUDIONOISEEFFECT_H
3 
4 #include "project/effect.h"
5 
6 class AudioNoiseEffect : public Effect {
7  Q_OBJECT
8 public:
9  AudioNoiseEffect(Clip* c, const EffectMeta* em);
10  void process_audio(double timecode_start, double timecode_end, quint8* samples, int nb_bytes, int channel_count);
11 
12  EffectField* amount_val;
13  EffectField* mix_val;
14 };
15 
16 #endif // AUDIONOISEEFFECT_H
Definition: effect.h:146
-
Definition: effect.h:27
-
Definition: audionoiseeffect.h:6
-
Definition: clip.h:33
-
Definition: effectfield.h:23
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef AUDIONOISEEFFECT_H
22 #define AUDIONOISEEFFECT_H
23 
24 #include "project/effect.h"
25 
26 class AudioNoiseEffect : public Effect {
27  Q_OBJECT
28 public:
29  AudioNoiseEffect(Clip* c, const EffectMeta* em);
30  void process_audio(double timecode_start, double timecode_end, quint8* samples, int nb_bytes, int channel_count);
31 
32  EffectField* amount_val;
33  EffectField* mix_val;
34 };
35 
36 #endif // AUDIONOISEEFFECT_H
Definition: effect.h:166
+
Definition: effect.h:47
+
Definition: audionoiseeffect.h:26
+
Definition: clip.h:53
+
Definition: effectfield.h:43
-
1 #ifndef CACHER_H
2 #define CACHER_H
3 
4 #include <QThread>
5 #include <QVector>
6 
7 class Clip;
8 
9 class Cacher : public QThread
10 {
11 // Q_OBJECT
12 public:
13  Cacher(Clip* c);
14  void run();
15 
16  bool caching;
17 
18  // must be set before caching
19  long playhead;
20  bool reset;
21  bool scrubbing;
22  bool interrupt;
23  bool queued;
24  int playback_speed;
25  QVector<Clip*> nests;
26 
27 private:
28  Clip* clip;
29 };
30 
31 void open_clip_worker(Clip* clip);
32 void cache_clip_worker(Clip* clip, long playhead, bool reset, bool scrubbing, QVector<Clip *> nest, int playback_speed);
33 void close_clip_worker(Clip* clip);
34 
35 #endif // CACHER_H
Definition: cacher.h:9
-
Definition: clip.h:33
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef CACHER_H
22 #define CACHER_H
23 
24 #include <QThread>
25 #include <QVector>
26 
27 class Clip;
28 
29 class Cacher : public QThread
30 {
31 // Q_OBJECT
32 public:
33  Cacher(Clip* c);
34  void run();
35 
36  bool caching;
37 
38  // must be set before caching
39  long playhead;
40  bool reset;
41  bool scrubbing;
42  bool interrupt;
43  bool queued;
44  int playback_speed;
45  QVector<Clip*> nests;
46 
47 private:
48  Clip* clip;
49 };
50 
51 void open_clip_worker(Clip* clip);
52 void cache_clip_worker(Clip* clip, long playhead, bool reset, bool scrubbing, QVector<Clip *> nest, int playback_speed);
53 void close_clip_worker(Clip* clip);
54 
55 #endif // CACHER_H
Definition: cacher.h:29
+
Definition: clip.h:53
-
1 #ifndef CHECKBOXEX_H
2 #define CHECKBOXEX_H
3 
4 #include <QCheckBox>
5 
6 class CheckboxEx : public QCheckBox
7 {
8  Q_OBJECT
9 public:
10  CheckboxEx(QWidget* parent = 0);
11 private slots:
12  void checkbox_command();
13 };
14 
15 #endif // CHECKBOXEX_H
Definition: checkboxex.h:6
+
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef CHECKBOXEX_H
22 #define CHECKBOXEX_H
23 
24 #include <QCheckBox>
25 
26 class CheckboxEx : public QCheckBox
27 {
28  Q_OBJECT
29 public:
30  CheckboxEx(QWidget* parent = 0);
31 private slots:
32  void checkbox_command();
33 };
34 
35 #endif // CHECKBOXEX_H
Definition: checkboxex.h:26
+ +

The ClickableLabel class. + More...

+ +

#include <clickablelabel.h>

Inheritance diagram for ClickableLabel:
@@ -94,7 +99,10 @@ Public Member Functions void mousePressEvent (QMouseEvent *ev)   -
The documentation for this class was generated from the following files: