Classes | Public Slots | Signals | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
VideoDialog Class Reference

#include <video_dialog.h>

Inheritance diagram for VideoDialog:
Inheritance graph
[legend]

Classes

struct  CompressedFrame
 

Public Slots

void seekByValue (double value)
 

Signals

void closed ()
 

Public Member Functions

bool isPaused () const
 
bool loadFile (QString filename)
 
void pause (bool paused)
 
QString referenceCurve () const
 
 VideoDialog (QWidget *parent=nullptr)
 
 ~VideoDialog ()
 

Public Attributes

Ui::VideoDialog * ui
 

Private Slots

void closeEvent (QCloseEvent *event)
 
void on_clearButton_clicked ()
 
void on_decodeButton_clicked ()
 
void on_loadButton_clicked ()
 
void on_timeSlider_valueChanged (int value)
 
void updateSlider ()
 
void updateSliderPos (qint64 value)
 
void updateSliderUnit ()
 

Private Member Functions

bool eventFilter (QObject *obj, QEvent *ev)
 

Private Attributes

std::vector< CompressedFrame_compressed_frames
 
bool _decoded = false
 
QString _dragging_curve
 
std::unique_ptr< QtAV::FrameReader > _frame_reader
 
ImageLabel_label
 
QtAV::AVPlayer * _media_player
 
QtAV::VideoOutput * _video_output
 

Detailed Description

Definition at line 33 of file video_dialog.h.

Constructor & Destructor Documentation

◆ VideoDialog()

VideoDialog::VideoDialog ( QWidget *  parent = nullptr)
explicit

Definition at line 59 of file video_dialog.cpp.

◆ ~VideoDialog()

VideoDialog::~VideoDialog ( )

Definition at line 90 of file video_dialog.cpp.

Member Function Documentation

◆ closed

void VideoDialog::closed ( )
signal

◆ closeEvent

void VideoDialog::closeEvent ( QCloseEvent *  event)
inlineprivateslot

Definition at line 56 of file video_dialog.h.

◆ eventFilter()

bool VideoDialog::eventFilter ( QObject *  obj,
QEvent *  ev 
)
private

Definition at line 226 of file video_dialog.cpp.

◆ isPaused()

bool VideoDialog::isPaused ( ) const

Definition at line 127 of file video_dialog.cpp.

◆ loadFile()

bool VideoDialog::loadFile ( QString  filename)

Definition at line 95 of file video_dialog.cpp.

◆ on_clearButton_clicked

void VideoDialog::on_clearButton_clicked ( )
privateslot

Definition at line 275 of file video_dialog.cpp.

◆ on_decodeButton_clicked

void VideoDialog::on_decodeButton_clicked ( )
privateslot

Definition at line 290 of file video_dialog.cpp.

◆ on_loadButton_clicked

void VideoDialog::on_loadButton_clicked ( )
privateslot

Definition at line 132 of file video_dialog.cpp.

◆ on_timeSlider_valueChanged

void VideoDialog::on_timeSlider_valueChanged ( int  value)
privateslot

Definition at line 183 of file video_dialog.cpp.

◆ pause()

void VideoDialog::pause ( bool  paused)

Definition at line 122 of file video_dialog.cpp.

◆ referenceCurve()

QString VideoDialog::referenceCurve ( ) const

Definition at line 117 of file video_dialog.cpp.

◆ seekByValue

void VideoDialog::seekByValue ( double  value)
slot

Definition at line 213 of file video_dialog.cpp.

◆ updateSlider

void VideoDialog::updateSlider ( )
privateslot

Definition at line 149 of file video_dialog.cpp.

◆ updateSliderPos

void VideoDialog::updateSliderPos ( qint64  value)
privateslot

◆ updateSliderUnit

void VideoDialog::updateSliderUnit ( )
privateslot

Member Data Documentation

◆ _compressed_frames

std::vector<CompressedFrame> VideoDialog::_compressed_frames
private

Definition at line 105 of file video_dialog.h.

◆ _decoded

bool VideoDialog::_decoded = false
private

Definition at line 112 of file video_dialog.h.

◆ _dragging_curve

QString VideoDialog::_dragging_curve
private

Definition at line 108 of file video_dialog.h.

◆ _frame_reader

std::unique_ptr<QtAV::FrameReader> VideoDialog::_frame_reader
private

Definition at line 81 of file video_dialog.h.

◆ _label

ImageLabel* VideoDialog::_label
private

Definition at line 110 of file video_dialog.h.

◆ _media_player

QtAV::AVPlayer* VideoDialog::_media_player
private

Definition at line 80 of file video_dialog.h.

◆ _video_output

QtAV::VideoOutput* VideoDialog::_video_output
private

Definition at line 79 of file video_dialog.h.

◆ ui

Ui::VideoDialog* VideoDialog::ui

Definition at line 47 of file video_dialog.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51