OpenShot Library | libopenshot 0.2.7
|
The video cache class. More...
#include <Qt/VideoCacheThread.h>
Protected Member Functions | |
int64_t | getCurrentFramePosition () |
Get the currently playing frame number (if any) More... | |
int | getSpeed () const |
Get Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...) More... | |
void | Play () |
Play the video. More... | |
void | Reader (ReaderBase *new_reader) |
Set the current thread's reader. More... | |
void | run () |
Start the thread. More... | |
void | Seek (int64_t new_position) |
Seek the reader to a particular frame number. More... | |
void | setCurrentFramePosition (int64_t current_frame_number) |
Set the currently displaying frame number. More... | |
void | setSpeed (int new_speed) |
Set Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...) More... | |
void | Stop () |
Stop the audio playback. More... | |
VideoCacheThread () | |
Constructor. More... | |
~VideoCacheThread () | |
Destructor. More... | |
Protected Attributes | |
int64_t | current_display_frame |
std::shared_ptr< Frame > | frame |
bool | is_playing |
int | max_concurrent_frames |
ReaderBase * | reader |
int | speed |
Friends | |
class | PlayerPrivate |
Parent class of VideoCacheThread. More... | |
class | QtPlayer |
The video cache class.
Definition at line 46 of file VideoCacheThread.h.
|
protected |
Constructor.
Definition at line 41 of file VideoCacheThread.cpp.
|
protected |
Destructor.
Definition at line 48 of file VideoCacheThread.cpp.
|
protected |
Get the currently playing frame number (if any)
Definition at line 53 of file VideoCacheThread.cpp.
|
inlineprotected |
Get Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...)
Definition at line 68 of file VideoCacheThread.h.
|
protected |
|
inlineprotected |
Set the current thread's reader.
Definition at line 89 of file VideoCacheThread.h.
Referenced by openshot::QtPlayer::Reader().
|
protected |
Start the thread.
Definition at line 86 of file VideoCacheThread.cpp.
|
protected |
Seek the reader to a particular frame number.
Definition at line 68 of file VideoCacheThread.cpp.
Referenced by openshot::QtPlayer::Seek().
|
protected |
Set the currently displaying frame number.
Definition at line 62 of file VideoCacheThread.cpp.
|
inlineprotected |
Set Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...)
Definition at line 80 of file VideoCacheThread.h.
Referenced by openshot::QtPlayer::Speed().
|
protected |
Stop the audio playback.
Definition at line 80 of file VideoCacheThread.cpp.
Referenced by openshot::QtPlayer::Stop().
|
friend |
Parent class of VideoCacheThread.
Definition at line 92 of file VideoCacheThread.h.
|
friend |
Definition at line 93 of file VideoCacheThread.h.
|
protected |
Definition at line 55 of file VideoCacheThread.h.
Referenced by run(), and setCurrentFramePosition().
|
protected |
Definition at line 52 of file VideoCacheThread.h.
Referenced by getCurrentFramePosition().
|
protected |
Definition at line 54 of file VideoCacheThread.h.
|
protected |
Definition at line 57 of file VideoCacheThread.h.
Referenced by run().
|
protected |
Definition at line 56 of file VideoCacheThread.h.
|
protected |
Definition at line 53 of file VideoCacheThread.h.
Referenced by getSpeed(), and setSpeed().