MythTV
master
|
#include <mythtranscode/cutter.h>
Public Member Functions | |
Cutter ()=default | |
void | SetCutList (frm_dir_map_t &deleteMap, PlayerContext *ctx) |
frm_dir_map_t | AdjustedCutList () const |
void | Activate (float v2a, int64_t total) |
void | NewFrame (int64_t currentFrame) |
bool | InhibitUseVideoFrame (void) |
bool | InhibitUseAudioFrames (int64_t frames, long *totalAudio) |
bool | InhibitDummyFrame (void) |
bool | InhibitDropFrame (void) |
Private Attributes | |
bool | m_active {false} |
frm_dir_map_t | m_foreshortenedCutList |
DeleteMap | m_tracker |
int64_t | m_totalFrames {0} |
int64_t | m_videoFramesToCut {0} |
int64_t | m_audioFramesToCut {0} |
float | m_audioFramesPerVideoFrame {0.0} |
Static Private Attributes | |
static constexpr uint8_t | kMaxLeadIn { 200 } |
static constexpr uint8_t | kMinCut { 20 } |
|
default |
void Cutter::SetCutList | ( | frm_dir_map_t & | deleteMap, |
PlayerContext * | ctx | ||
) |
Definition at line 11 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
frm_dir_map_t Cutter::AdjustedCutList | ( | ) | const |
Definition at line 58 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
void Cutter::Activate | ( | float | v2a, |
int64_t | total | ||
) |
Definition at line 63 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
void Cutter::NewFrame | ( | int64_t | currentFrame | ) |
Definition at line 73 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
bool Cutter::InhibitUseVideoFrame | ( | void | ) |
Definition at line 100 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
bool Cutter::InhibitUseAudioFrames | ( | int64_t | frames, |
long * | totalAudio | ||
) |
Definition at line 120 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
bool Cutter::InhibitDummyFrame | ( | void | ) |
Definition at line 155 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
bool Cutter::InhibitDropFrame | ( | void | ) |
Definition at line 167 of file cutter.cpp.
Referenced by Transcode::TranscodeFile().
Definition at line 27 of file cutter.h.
Referenced by Activate(), and NewFrame().
|
private |
Definition at line 28 of file cutter.h.
Referenced by AdjustedCutList(), and SetCutList().
|
private |
Definition at line 29 of file cutter.h.
Referenced by Activate(), NewFrame(), and SetCutList().
|
private |
Definition at line 30 of file cutter.h.
Referenced by Activate().
|
private |
Definition at line 31 of file cutter.h.
Referenced by Activate(), InhibitDropFrame(), InhibitUseAudioFrames(), InhibitUseVideoFrame(), and NewFrame().
|
private |
Definition at line 32 of file cutter.h.
Referenced by Activate(), InhibitDropFrame(), InhibitDummyFrame(), InhibitUseAudioFrames(), InhibitUseVideoFrame(), and NewFrame().
|
private |
Definition at line 33 of file cutter.h.
Referenced by Activate(), InhibitDropFrame(), InhibitDummyFrame(), and NewFrame().
|
staticconstexprprivate |
Definition at line 34 of file cutter.h.
Referenced by SetCutList().
|
staticconstexprprivate |
Definition at line 35 of file cutter.h.
Referenced by SetCutList().