MythTV  master
Public Member Functions | Private Types | Private Attributes | List of all members
Cutter Class Reference

#include <cutter.h>

Collaboration diagram for Cutter:
Collaboration graph
[legend]

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 Types

enum  { MAXLEADIN = 200, MINCUT = 20 }
 

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}
 

Detailed Description

Definition at line 13 of file cutter.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MAXLEADIN 
MINCUT 

Definition at line 34 of file cutter.h.

Constructor & Destructor Documentation

◆ Cutter()

Cutter::Cutter ( )
default

Member Function Documentation

◆ SetCutList()

void Cutter::SetCutList ( frm_dir_map_t deleteMap,
PlayerContext ctx 
)

Definition at line 11 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ AdjustedCutList()

frm_dir_map_t Cutter::AdjustedCutList ( ) const

Definition at line 59 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ Activate()

void Cutter::Activate ( float  v2a,
int64_t  total 
)

Definition at line 64 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ NewFrame()

void Cutter::NewFrame ( int64_t  currentFrame)

Definition at line 74 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ InhibitUseVideoFrame()

bool Cutter::InhibitUseVideoFrame ( void  )

Definition at line 101 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ InhibitUseAudioFrames()

bool Cutter::InhibitUseAudioFrames ( int64_t  frames,
long *  totalAudio 
)

Definition at line 119 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ InhibitDummyFrame()

bool Cutter::InhibitDummyFrame ( void  )

Definition at line 152 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

◆ InhibitDropFrame()

bool Cutter::InhibitDropFrame ( void  )

Definition at line 164 of file cutter.cpp.

Referenced by Transcode::TranscodeFile().

Member Data Documentation

◆ m_active

bool Cutter::m_active {false}
private

Definition at line 27 of file cutter.h.

◆ m_foreshortenedCutList

frm_dir_map_t Cutter::m_foreshortenedCutList
private

Definition at line 28 of file cutter.h.

◆ m_tracker

DeleteMap Cutter::m_tracker
private

Definition at line 29 of file cutter.h.

◆ m_totalFrames

int64_t Cutter::m_totalFrames {0}
private

Definition at line 30 of file cutter.h.

◆ m_videoFramesToCut

int64_t Cutter::m_videoFramesToCut {0}
private

Definition at line 31 of file cutter.h.

◆ m_audioFramesToCut

int64_t Cutter::m_audioFramesToCut {0}
private

Definition at line 32 of file cutter.h.

◆ m_audioFramesPerVideoFrame

float Cutter::m_audioFramesPerVideoFrame {0.0}
private

Definition at line 33 of file cutter.h.


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