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: