Changeset View
Changeset View
Standalone View
Standalone View
src/scopes/colorscopes/waveformgenerator.h
Show All 18 Lines | |||||
19 | { | 19 | { | ||
20 | Q_OBJECT | 20 | Q_OBJECT | ||
21 | 21 | | |||
22 | public: | 22 | public: | ||
23 | enum PaintMode { PaintMode_Green, PaintMode_Yellow, PaintMode_White }; | 23 | enum PaintMode { PaintMode_Green, PaintMode_Yellow, PaintMode_White }; | ||
24 | enum Rec { Rec_601, Rec_709 }; | 24 | enum Rec { Rec_601, Rec_709 }; | ||
25 | 25 | | |||
26 | WaveformGenerator(); | 26 | WaveformGenerator(); | ||
27 | ~WaveformGenerator(); | 27 | ~WaveformGenerator() override; | ||
28 | 28 | | |||
29 | QImage calculateWaveform(const QSize &waveformSize, const QImage &image, WaveformGenerator::PaintMode paintMode, | 29 | QImage calculateWaveform(const QSize &waveformSize, const QImage &image, WaveformGenerator::PaintMode paintMode, | ||
30 | bool drawAxis, const WaveformGenerator::Rec rec, uint accelFactor = 1); | 30 | bool drawAxis, const WaveformGenerator::Rec rec, uint accelFactor = 1); | ||
31 | }; | 31 | }; | ||
32 | 32 | | |||
33 | #endif // WAVEFORMGENERATOR_H | 33 | #endif // WAVEFORMGENERATOR_H |