10 #include <QtAV/FrameReader.h> 11 #include "ui_video_dialog.h" 20 explicit ImageLabel(QWidget *parent =
nullptr);
21 const QPixmap*
pixmap()
const;
42 QString referenceCurve()
const;
44 void pause(
bool paused);
46 bool isPaused()
const;
50 bool loadFile(QString filename);
53 void on_loadButton_clicked();
55 void on_timeSlider_valueChanged(
int value);
64 void seekByValue(
double value);
67 void updateSliderPos(qint64 value);
69 void updateSliderUnit();
71 void on_clearButton_clicked();
73 void on_decodeButton_clicked();
105 bool eventFilter(QObject* obj, QEvent* ev);
110 bool _decoded =
false;
113 #endif // VIDEO_DIALOG_H
const QPixmap * pixmap() const
std::vector< CompressedFrame > _compressed_frames
ImageLabel(QWidget *parent=nullptr)
void closeEvent(QCloseEvent *event)
CompressedFrame(CompressedFrame &&other)
void paintEvent(QPaintEvent *)
NLOHMANN_BASIC_JSON_TPL_DECLARATION void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL &j1, nlohmann::NLOHMANN_BASIC_JSON_TPL &j2) noexcept(//NOLINT(readability-inconsistent-declaration-parameter-name) is_nothrow_move_constructible< nlohmann::NLOHMANN_BASIC_JSON_TPL >::value &&//NOLINT(misc-redundant-expression) is_nothrow_move_assignable< nlohmann::NLOHMANN_BASIC_JSON_TPL >::value)
exchanges the values of two JSON objects
std::unique_ptr< QtAV::FrameReader > _frame_reader
QtAV::VideoOutput * _video_output
void setPixmap(const QPixmap &)
QtAV::AVPlayer * _media_player