The video cache class.
More...
#include <Qt/VideoCacheThread.h>
|
| bool | isReady () |
| | Is cache ready for video/audio playback.
|
| |
|
| int64_t | getBytes (int width, int height, int sample_rate, int channels, float fps) |
| | Get the size in bytes of a frame (rough estimate)
|
| |
| int | getSpeed () const |
| | Get Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...)
|
| |
| void | Play () |
| | Play the video.
|
| |
| void | Reader (ReaderBase *new_reader) |
| | Set the current thread's reader.
|
| |
| void | run () |
| | Start the thread.
|
| |
| void | Seek (int64_t new_position) |
| | Seek the reader to a particular frame number.
|
| |
| void | Seek (int64_t new_position, bool start_preroll) |
| | Seek the reader to a particular frame number and optionally start the pre-roll.
|
| |
| void | setSpeed (int new_speed) |
| | Set Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...)
|
| |
| void | Stop () |
| | Stop the audio playback.
|
| |
| | VideoCacheThread () |
| | Constructor.
|
| |
| | ~VideoCacheThread () |
| | Destructor.
|
| |
The video cache class.
Definition at line 29 of file VideoCacheThread.h.
◆ VideoCacheThread()
| openshot::VideoCacheThread::VideoCacheThread |
( |
| ) |
|
|
protected |
◆ ~VideoCacheThread()
| openshot::VideoCacheThread::~VideoCacheThread |
( |
| ) |
|
|
protected |
◆ getBytes()
| int64_t openshot::VideoCacheThread::getBytes |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
sample_rate, |
|
|
int |
channels, |
|
|
float |
fps |
|
) |
| |
|
protected |
◆ getSpeed()
| int openshot::VideoCacheThread::getSpeed |
( |
| ) |
const |
|
inlineprotected |
Get Speed (The speed and direction to playback a reader (1=normal, 2=fast, 3=faster, -1=rewind, etc...)
Definition at line 55 of file VideoCacheThread.h.
◆ isReady()
| bool openshot::VideoCacheThread::isReady |
( |
| ) |
|
◆ Play()
| void openshot::VideoCacheThread::Play |
( |
| ) |
|
|
protected |
◆ Reader()
| void openshot::VideoCacheThread::Reader |
( |
ReaderBase * |
new_reader | ) |
|
|
inlineprotected |
◆ run()
| void openshot::VideoCacheThread::run |
( |
| ) |
|
|
protected |
◆ Seek() [1/2]
| void openshot::VideoCacheThread::Seek |
( |
int64_t |
new_position | ) |
|
|
protected |
◆ Seek() [2/2]
| void openshot::VideoCacheThread::Seek |
( |
int64_t |
new_position, |
|
|
bool |
start_preroll |
|
) |
| |
|
protected |
Seek the reader to a particular frame number and optionally start the pre-roll.
Definition at line 49 of file VideoCacheThread.cpp.
◆ setSpeed()
| void openshot::VideoCacheThread::setSpeed |
( |
int |
new_speed | ) |
|
|
protected |
◆ Stop()
| void openshot::VideoCacheThread::Stop |
( |
| ) |
|
|
protected |
◆ PlayerPrivate
◆ QtPlayer
◆ cached_frame_count
| int64_t openshot::VideoCacheThread::cached_frame_count = 0 |
|
protected |
◆ current_display_frame
| int64_t openshot::VideoCacheThread::current_display_frame |
|
protected |
◆ is_playing
| bool openshot::VideoCacheThread::is_playing |
|
protected |
◆ last_cached_frame
| std::shared_ptr<Frame> openshot::VideoCacheThread::last_cached_frame |
|
protected |
◆ last_speed
| int openshot::VideoCacheThread::last_speed |
|
protected |
◆ max_frames_ahead
| int64_t openshot::VideoCacheThread::max_frames_ahead |
|
protected |
◆ min_frames_ahead
| int64_t openshot::VideoCacheThread::min_frames_ahead |
|
protected |
◆ reader
◆ requested_display_frame
| int64_t openshot::VideoCacheThread::requested_display_frame |
|
protected |
◆ should_break
| bool openshot::VideoCacheThread::should_break |
|
protected |
◆ should_pause_cache
| bool openshot::VideoCacheThread::should_pause_cache |
|
protected |
◆ speed
| int openshot::VideoCacheThread::speed |
|
protected |
◆ timeline_max_frame
| int64_t openshot::VideoCacheThread::timeline_max_frame |
|
protected |
The documentation for this class was generated from the following files: