#include <Edl.h>
◆ CEdl()
◆ Clear()
◆ GetEditList()
const std::vector< EDL::Edit > & CEdl::GetEditList |
( |
| ) |
const |
|
inline |
Get the EDL edit list.
- Returns
- The EDL edits or an empty vector if no edits exist.
◆ GetLastEditTime()
int CEdl::GetLastEditTime |
( |
| ) |
const |
Get the last processed edit time (set during playback when a given edit is surpassed)
- Returns
- The last processed edit time (ms) or -1 if not any
◆ GetNextSceneMarker()
bool CEdl::GetNextSceneMarker |
( |
bool |
bPlus, |
|
|
const int |
iClock, |
|
|
int * |
iSceneMarker |
|
) |
| |
◆ GetTotalCutTime()
int CEdl::GetTotalCutTime |
( |
| ) |
const |
◆ HasEdits()
bool CEdl::HasEdits |
( |
| ) |
const |
Check if there are any parsed edits in EDL for the current item.
- Returns
- true if EDL has edits, false otherwise
◆ HasSceneMarker()
bool CEdl::HasSceneMarker |
( |
| ) |
const |
◆ InEdit()
Check if for the provided seek time is contained within an EDL edit and fill pEdit with the respective edit struct.
- Note
- seek time refers to the time in the original file timeline (i.e. without considering cut blocks)
- Parameters
-
| iSeek | The seek time (on the original timeline) |
[in,out] | pEdit | The edit pointer (or nullptr if iSeek not within an edit) |
- Returns
- true if iSeek is within an edit, false otherwise
◆ MillisecondsToTimeString()
std::string CEdl::MillisecondsToTimeString |
( |
const int |
iMilliseconds | ) |
|
|
static |
◆ ReadEditDecisionLists()
bool CEdl::ReadEditDecisionLists |
( |
const CFileItem & |
fileItem, |
|
|
const float |
fFramesPerSecond |
|
) |
| |
◆ RemoveCutTime()
int CEdl::RemoveCutTime |
( |
int |
iSeek | ) |
const |
- Todo:
- Consider an optimization of using the (now unused) total cut time if the seek time requested is later than the end of the last recorded cut. For example, when calculating the total duration for display.
◆ RestoreCutTime()
double CEdl::RestoreCutTime |
( |
double |
dClock | ) |
const |
◆ SetLastEditTime()
void CEdl::SetLastEditTime |
( |
int |
editTime | ) |
|
Set the last processed edit time (set during playback when a given edit is surpassed)
- Parameters
-
editTime | The last processed EDL edit time (ms) |
The documentation for this class was generated from the following files: